diff options
author | root <root@rshg054.dnsready.net> | 2011-11-23 23:15:26 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-23 23:15:26 +0000 |
commit | 1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (patch) | |
tree | 070846cb6770ab17d394d88c3f0cd3ad3eb89842 /community/cython | |
parent | 851ab9aa99e9bda38f88b5f5ade096c9137e11c8 (diff) |
Wed Nov 23 23:15:26 UTC 2011
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 4d4e547f3..21e58a30b 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) 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 } |