python-Cython: update to 0.23.5
This commit is contained in:
parent
785ae28f35
commit
af563bc908
1 changed files with 4 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-Cython'
|
# Template file for 'python-Cython'
|
||||||
pkgname=python-Cython
|
pkgname=python-Cython
|
||||||
version=0.23.4
|
version=0.23.5
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="Cython-${version}"
|
wrksrc="Cython-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -13,12 +13,8 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://cython.org"
|
homepage="http://cython.org"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz"
|
||||||
checksum=fec42fecee35d6cc02887f1eef4e4952c97402ed2800bfe41bbd9ed1a0730d8e
|
checksum=0ae5a5451a190e03ee36922c4189ca2c88d1df40a89b4f224bc842d388a0d1b6
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
# Fix non-executable scripts
|
|
||||||
sed -i '/^#!/d' Cython/{Build/Cythonize,Debugger/{libpython,Cygdb}}.py cython.py
|
|
||||||
}
|
|
||||||
# Skip build phase, otherwise Cython gets confused when cross compiling
|
# Skip build phase, otherwise Cython gets confused when cross compiling
|
||||||
do_build() {
|
do_build() {
|
||||||
:
|
:
|
||||||
|
@ -27,7 +23,7 @@ post_install() {
|
||||||
rm -f ${DESTDIR}/usr/bin/*
|
rm -f ${DESTDIR}/usr/bin/*
|
||||||
for f in cygdb cython cythonize; do
|
for f in cygdb cython cythonize; do
|
||||||
vbin build-2.7/scripts-2.7/${f}
|
vbin build-2.7/scripts-2.7/${f}
|
||||||
vbin build-3.4/scripts-3.4/${f} ${f}3
|
vbin build-3.4/scripts-3.4/${f} ${f}3.4
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,7 +32,7 @@ python3.4-Cython_package() {
|
||||||
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.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3
|
vmove usr/bin/*3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue