python-Bottleneck: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-25 08:25:20 +07:00
parent 3ca0fa703a
commit 76b8bc4ed1
3 changed files with 20 additions and 30 deletions

View file

@ -1,29 +0,0 @@
# Template file for 'python-Bottleneck'
pkgname=python-Bottleneck
version=1.3.2
revision=1
wrksrc="Bottleneck-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-numpy python3-numpy"
makedepends="python-devel python3-devel"
depends="python-numpy"
short_desc="Fast NumPy array functions written in C (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kwgoodman/bottleneck"
distfiles="${PYPI_SITE}/B/Bottleneck/Bottleneck-${version}.tar.gz"
checksum=20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573
post_install() {
rm -f ${DESTDIR}/usr/lib/python*/site-packages/bottleneck/LICENSE
vlicense LICENSE
}
python3-Bottleneck_package() {
depends="python3-numpy"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-Bottleneck

View file

@ -0,0 +1,20 @@
# Template file for 'python3-Bottleneck'
pkgname=python3-Bottleneck
version=1.3.2
revision=2
wrksrc="Bottleneck-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-numpy"
makedepends="python3-devel"
depends="python3-numpy"
short_desc="Fast NumPy array functions written in C (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/kwgoodman/bottleneck"
distfiles="${PYPI_SITE}/B/Bottleneck/Bottleneck-${version}.tar.gz"
checksum=20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573
post_install() {
rm -f ${DESTDIR}/usr/lib/python*/site-packages/bottleneck/LICENSE
vlicense LICENSE
}