python-Cython: update to 0.23.1
This commit is contained in:
parent
00eec2d6fa
commit
e0594b179d
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-Cython'
|
# Template file for 'python-Cython'
|
||||||
pkgname=python-Cython
|
pkgname=python-Cython
|
||||||
version=0.23
|
version=0.23.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="Cython-${version}"
|
wrksrc="Cython-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -12,12 +12,12 @@ short_desc="C-Extensions for Python2"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://cython.org"
|
homepage="http://cython.org"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
distfiles="http://www.cython.org/release/Cython-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz"
|
||||||
checksum=9fd01e8301c24fb3ba0411ad8eb16f5d9f9f8e66b1281fbe7aba2a9bd9d343dc
|
checksum=bdfd12d6a2a2e34b9a1bbc1af5a772cabdeedc3851703d249a52dcda8378018a
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# Fix non-executable scripts
|
# Fix non-executable scripts
|
||||||
sed -i '/^#!.*python$/d' Cython/{Build/Cythonize,Debugger/{libpython,Cygdb}}.py cython.py
|
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() {
|
||||||
|
@ -25,11 +25,9 @@ do_build() {
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/bin/*
|
rm -f ${DESTDIR}/usr/bin/*
|
||||||
for f in build-2.7/scripts-2.7/*; do
|
for f in cygdb cython cythonize; do
|
||||||
vbin ${f}
|
vbin build-2.7/scripts-2.7/${f}
|
||||||
done
|
vbin build-3.4/scripts-3.4/${f} ${f}3
|
||||||
for f in build-3.4/scripts-3.4/*; do
|
|
||||||
vbin ${f}{,3}
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
pkgname=Cython
|
|
||||||
ignore="*a* *b* *rc*"
|
|
Loading…
Reference in New Issue