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'
|
||||
pkgname=python-Cython
|
||||
version=0.23
|
||||
version=0.23.1
|
||||
revision=1
|
||||
wrksrc="Cython-${version}"
|
||||
build_style=python-module
|
||||
|
@ -12,12 +12,12 @@ short_desc="C-Extensions for Python2"
|
|||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="http://cython.org"
|
||||
license="Apache-2.0"
|
||||
distfiles="http://www.cython.org/release/Cython-${version}.tar.gz"
|
||||
checksum=9fd01e8301c24fb3ba0411ad8eb16f5d9f9f8e66b1281fbe7aba2a9bd9d343dc
|
||||
distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz"
|
||||
checksum=bdfd12d6a2a2e34b9a1bbc1af5a772cabdeedc3851703d249a52dcda8378018a
|
||||
|
||||
pre_build() {
|
||||
# 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
|
||||
do_build() {
|
||||
|
@ -25,11 +25,9 @@ do_build() {
|
|||
}
|
||||
post_install() {
|
||||
rm -f ${DESTDIR}/usr/bin/*
|
||||
for f in build-2.7/scripts-2.7/*; do
|
||||
vbin ${f}
|
||||
done
|
||||
for f in build-3.4/scripts-3.4/*; do
|
||||
vbin ${f}{,3}
|
||||
for f in cygdb cython cythonize; do
|
||||
vbin build-2.7/scripts-2.7/${f}
|
||||
vbin build-3.4/scripts-3.4/${f} ${f}3
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
pkgname=Cython
|
||||
ignore="*a* *b* *rc*"
|
Loading…
Reference in New Issue