python-Bottleneck: update to 1.3.2.

This commit is contained in:
Zach Dykstra 2020-03-09 12:29:28 -05:00 committed by Piraty
parent 22142b49e6
commit 9f05c1e15b

View file

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