python-Bottleneck: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
26054928da
commit
40d60cc48a
2 changed files with 14 additions and 9 deletions
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-Bottleneck'
|
||||
pkgname=python-Bottleneck
|
||||
version=1.1.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="Bottleneck-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel python-numpy python3.4-numpy"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel python-numpy python3-numpy"
|
||||
depends="python-numpy"
|
||||
pycompile_module="bottleneck"
|
||||
short_desc="Fast NumPy array functions written in Cython (Python2)"
|
||||
|
@ -21,13 +20,18 @@ post_install() {
|
|||
vlicense bottleneck/LICENSE
|
||||
}
|
||||
|
||||
python3.4-Bottleneck_package() {
|
||||
depends="python3.4-numpy"
|
||||
pycompile_version="3.4"
|
||||
python3-Bottleneck_package() {
|
||||
replaces="python3.4-Bottleneck>=0"
|
||||
depends="python3-numpy"
|
||||
pycompile_module="bottleneck"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
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
1
srcpkgs/python3-Bottleneck
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-Bottleneck
|
Loading…
Reference in a new issue