[arch-commits] Commit in cython/repos (4 files)
Felix Yan
fyan at archlinux.org
Sat Sep 19 10:11:46 UTC 2015
Date: Saturday, September 19, 2015 @ 12:11:46
Author: fyan
Revision: 140725
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
cython/repos/community-staging-i686/
cython/repos/community-staging-i686/PKGBUILD
(from rev 140724, cython/trunk/PKGBUILD)
cython/repos/community-staging-x86_64/
cython/repos/community-staging-x86_64/PKGBUILD
(from rev 140724, cython/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: cython/repos/community-staging-i686/PKGBUILD (from rev 140724, cython/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-19 10:11:46 UTC (rev 140725)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Igor Scabini <furester @ gmail.com>
+
+pkgname=('cython' 'cython2')
+pkgbase=cython
+pkgver=0.23.2
+pkgrel=2
+pkgdesc="C-Extensions for Python "
+arch=(i686 x86_64)
+url="http://www.cython.org"
+license=('APACHE')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("http://cython.org/release/Cython-$pkgver.tar.gz")
+md5sums=('188e18c826dae4514ee0628144df6c3e')
+
+package_cython() {
+ depends=('python' 'python-setuptools')
+
+ cd $srcdir/Cython-$pkgver
+ python setup.py install --root=$pkgdir
+
+ sed -i 's|#!.*python|#!/usr/bin/python3|' $pkgdir/usr/bin/*
+}
+
+package_cython2() {
+ depends=('python2' 'python2-setuptools')
+
+ 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
+ mv $pkgdir/usr/bin/cythonize $pkgdir/usr/bin/cythonize2
+}
Copied: cython/repos/community-staging-x86_64/PKGBUILD (from rev 140724, cython/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-19 10:11:46 UTC (rev 140725)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Igor Scabini <furester @ gmail.com>
+
+pkgname=('cython' 'cython2')
+pkgbase=cython
+pkgver=0.23.2
+pkgrel=2
+pkgdesc="C-Extensions for Python "
+arch=(i686 x86_64)
+url="http://www.cython.org"
+license=('APACHE')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("http://cython.org/release/Cython-$pkgver.tar.gz")
+md5sums=('188e18c826dae4514ee0628144df6c3e')
+
+package_cython() {
+ depends=('python' 'python-setuptools')
+
+ cd $srcdir/Cython-$pkgver
+ python setup.py install --root=$pkgdir
+
+ sed -i 's|#!.*python|#!/usr/bin/python3|' $pkgdir/usr/bin/*
+}
+
+package_cython2() {
+ depends=('python2' 'python2-setuptools')
+
+ 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
+ mv $pkgdir/usr/bin/cythonize $pkgdir/usr/bin/cythonize2
+}
More information about the arch-commits
mailing list