Commit 6c07d1f7 authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] python-cython: removed

parent 959ddcaf
Pipeline #2286 skipped
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
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment