summaryrefslogtreecommitdiff
path: root/community/cython/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-24 11:07:35 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-24 11:07:35 -0300
commit8d32e471d53634b308adf93007922a6ccbd2b830 (patch)
tree606fdcd5508936ffdfc7cf510a16b7324c2792e2 /community/cython/PKGBUILD
parent4c9d76f582ae64854e30113e7f7dc621af3db820 (diff)
parent1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/augeas/PKGBUILD community/chmsee/PKGBUILD community/cupsddk/PKGBUILD community/optipng/PKGBUILD community/pcb/PKGBUILD community/taglib-rcc/PKGBUILD community/wmctrl/PKGBUILD extra/c-ares/PKGBUILD multilib/lib32-freetype2/PKGBUILD
Diffstat (limited to 'community/cython/PKGBUILD')
-rw-r--r--community/cython/PKGBUILD25
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
}