From 1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Nov 2011 23:15:26 +0000 Subject: Wed Nov 23 23:15:26 UTC 2011 --- community/cython/PKGBUILD | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'community/cython') 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 # Contributor: Igor Scabini -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 } -- cgit v1.2.3-54-g00ecf