diff --git a/srcpkgs/python-Cython/template b/srcpkgs/python-Cython/template index 643a84c273d..bde752b5312 100644 --- a/srcpkgs/python-Cython/template +++ b/srcpkgs/python-Cython/template @@ -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 " 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 } diff --git a/srcpkgs/python-Cython/update b/srcpkgs/python-Cython/update deleted file mode 100644 index 498bcbc6d8d..00000000000 --- a/srcpkgs/python-Cython/update +++ /dev/null @@ -1,2 +0,0 @@ -pkgname=Cython -ignore="*a* *b* *rc*"