From dea33684bb85a7aebc6383e3fbe5a08d45a85296 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 7 Dec 2011 13:26:48 -0600 Subject: cython: first build --- abs/core/cython/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/core/cython/PKGBUILD diff --git a/abs/core/cython/PKGBUILD b/abs/core/cython/PKGBUILD new file mode 100644 index 0000000..9901e43 --- /dev/null +++ b/abs/core/cython/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=('cython2') +pkgbase=cython +pkgver=0.15.1 +pkgrel=2 +pkgdesc="C-Extensions for Python " +arch=(i686 x86_64) +url="http://www.cython.org" +license=('APACHE') +makedepends=('python2-distribute') +source=("http://cython.org/release/Cython-$pkgver.tar.gz") +md5sums=('171021b3845c9ca8bd6d8185b3cde664') + +build() { + true +} + + +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 v0.12