python-Bottleneck: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-17 17:41:32 +02:00
parent 26054928da
commit 40d60cc48a
2 changed files with 14 additions and 9 deletions

View file

@ -1,12 +1,11 @@
# Template file for 'python-Bottleneck' # Template file for 'python-Bottleneck'
pkgname=python-Bottleneck pkgname=python-Bottleneck
version=1.1.0 version=1.1.0
revision=1 revision=2
wrksrc="Bottleneck-${version}" wrksrc="Bottleneck-${version}"
build_style=python-module build_style=python-module
python_versions="2.7 3.4" hostmakedepends="python-setuptools python3-setuptools"
hostmakedepends="python-setuptools python3.4-setuptools" makedepends="python-devel python3-devel python-numpy python3-numpy"
makedepends="python-devel python3.4-devel python-numpy python3.4-numpy"
depends="python-numpy" depends="python-numpy"
pycompile_module="bottleneck" pycompile_module="bottleneck"
short_desc="Fast NumPy array functions written in Cython (Python2)" short_desc="Fast NumPy array functions written in Cython (Python2)"
@ -21,13 +20,18 @@ post_install() {
vlicense bottleneck/LICENSE vlicense bottleneck/LICENSE
} }
python3.4-Bottleneck_package() { python3-Bottleneck_package() {
depends="python3.4-numpy" replaces="python3.4-Bottleneck>=0"
pycompile_version="3.4" depends="python3-numpy"
pycompile_module="bottleneck" pycompile_module="bottleneck"
short_desc="${short_desc/Python2/Python3.4}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3.4 vmove usr/lib/python3*
vlicense bottleneck/LICENSE vlicense bottleneck/LICENSE
} }
} }
python3.4-Bottleneck_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-Bottleneck>=${version}_${revision}"
}

1
srcpkgs/python3-Bottleneck Symbolic link
View file

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