[skip-ci] python-cython: removed

This commit is contained in:
Jeff Huang 2019-01-19 13:59:22 +01:00
parent 959ddcafdf
commit 6c07d1f7e7

View File

@ -1,30 +0,0 @@
pkgname=('python2-cython' 'python3-cython')
pkgbase=cython
pkgver=0.27.2
pkgrel=1
arch=(x86_64)
url="http://www.cython.org"
license=('APACHE')
makedepends=('python3' 'python3-setuptools' 'python2' 'python2-setuptools')
source=("https://pypi.python.org/packages/98/bb/cd2be435e28ee1206151793a528028e3dc9a787fe525049efb73637f52bb/Cython-$pkgver.tar.gz")
md5sums=('64abe5847736eb413a525b70b48afd7f')
package_python2-cython() {
depends=('python2' 'python2-setuptools')
pkgdesc="C-Extensions for Python 2"
cd $srcdir/Cython-$pkgver
python2 -O setup.py install --root=$pkgdir
}
package_python3-cython() {
depends=('python3' 'python3-setuptools')
pkgdesc="C-Extensions for Python 3"
cd $srcdir/Cython-$pkgver
python3 setup.py install --root=$pkgdir
mv $pkgdir/usr/bin/cygdb $pkgdir/usr/bin/cygdb3
mv $pkgdir/usr/bin/cython $pkgdir/usr/bin/cython3
mv $pkgdir/usr/bin/cythonize $pkgdir/usr/bin/cythonize3
}