mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
python-Cython: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
63a641db8a
commit
a360767c58
2 changed files with 18 additions and 14 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'python-Cython'
|
# Template file for 'python-Cython'
|
||||||
pkgname=python-Cython
|
pkgname=python-Cython
|
||||||
version=0.24.1
|
version=0.24.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="Cython-${version}"
|
wrksrc="Cython-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-devel python3-devel"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="${hostmakedepends}"
|
||||||
pycompile_module="Cython pyximport cython.py"
|
pycompile_module="Cython pyximport cython.py"
|
||||||
short_desc="C-Extensions for Python2"
|
short_desc="C-Extensions for Python2"
|
||||||
|
@ -16,25 +15,29 @@ distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz"
|
||||||
checksum=84808fda00508757928e1feadcf41c9f78e9a9b7167b6649ab0933b76f75e7b9
|
checksum=84808fda00508757928e1feadcf41c9f78e9a9b7167b6649ab0933b76f75e7b9
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
cython:cygdb:/usr/bin/cygdb2.7
|
cython:cygdb:/usr/bin/cygdb2
|
||||||
cython:cython:/usr/bin/cython2.7
|
cython:cython:/usr/bin/cython2
|
||||||
cython:cythonize:/usr/bin/cythonize2.7"
|
cython:cythonize:/usr/bin/cythonize2"
|
||||||
|
|
||||||
# Skip build phase, otherwise Cython gets confused when cross compiling
|
# Skip build phase, otherwise Cython gets confused when cross compiling
|
||||||
do_build() {
|
do_build() {
|
||||||
:
|
:
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-Cython_package() {
|
python3-Cython_package() {
|
||||||
alternatives="
|
alternatives="
|
||||||
cython:cygdb:/usr/bin/cygdb3.4
|
cython:cygdb:/usr/bin/cygdb3
|
||||||
cython:cython:/usr/bin/cython3.4
|
cython:cython:/usr/bin/cython3
|
||||||
cython:cythonize:/usr/bin/cythonize3.4"
|
cython:cythonize:/usr/bin/cythonize3"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="Cython pyximport cython.py"
|
pycompile_module="Cython pyximport cython.py"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3.4
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-Cython_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-Cython>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-Cython
Symbolic link
1
srcpkgs/python3-Cython
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-Cython
|
Loading…
Add table
Reference in a new issue