summaryrefslogtreecommitdiffstats
path: root/abs/core/cython/PKGBUILD
blob: 9901e439a07ed55800758193623aa9140693be89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}