diff options
Diffstat (limited to 'community/cython')
-rw-r--r-- | community/cython/PKGBUILD | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/community/cython/PKGBUILD b/community/cython/PKGBUILD index 24093969c..21120e17e 100644 --- a/community/cython/PKGBUILD +++ b/community/cython/PKGBUILD @@ -1,19 +1,36 @@ -# $Id: PKGBUILD 55808 2011-09-21 20:41:16Z spupykin $ +# $Id: PKGBUILD 59192 2011-11-21 14:39:15Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Igor Scabini <furester @ gmail.com> -pkgname=cython +pkgname=('cython' 'cython2') +pkgbase=cython pkgver=0.15.1 -pkgrel=1 +pkgrel=2 pkgdesc="C-Extensions for Python " arch=(i686 x86_64 'mips64el') url="http://www.cython.org" license=('APACHE') -depends=('python2') +makedepends=('python-distribute' 'python2-distribute') source=("http://cython.org/release/Cython-$pkgver.tar.gz") md5sums=('171021b3845c9ca8bd6d8185b3cde664') build() { + true +} + +package_cython() { + depends=('python') + + cd $srcdir/Cython-$pkgver + python setup.py install --root=$pkgdir +} + +package_cython2() { + depends=('python2') + cd $srcdir/Cython-$pkgver python2 setup.py install --root=$pkgdir + + mv $pkgdir/usr/bin/cygdb $pkgdir/usr/bin/cygdb2 + mv $pkgdir/usr/bin/cython $pkgdir/usr/bin/cython2 } |