[arch-commits] Commit in cython/repos (4 files)

Ángel Velásquez angvp at nymeria.archlinux.org
Mon Aug 19 08:19:06 UTC 2013


    Date: Monday, August 19, 2013 @ 10:19:06
  Author: angvp
Revision: 95977

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  cython/repos/community-testing-i686/
  cython/repos/community-testing-i686/PKGBUILD
    (from rev 95976, cython/trunk/PKGBUILD)
  cython/repos/community-testing-x86_64/
  cython/repos/community-testing-x86_64/PKGBUILD
    (from rev 95976, cython/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: cython/repos/community-testing-i686/PKGBUILD (from rev 95976, cython/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2013-08-19 08:19:06 UTC (rev 95977)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Igor Scabini <furester @ gmail.com>
+
+pkgname=('cython' 'cython2')
+pkgbase=cython
+pkgver=0.19.1
+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=('df4cfb2b8e3345272e3fc451b76bd630')
+
+build() {
+  true
+}
+
+package_cython() {
+  depends=('python')
+
+  cd $srcdir/Cython-$pkgver
+  python setup.py install --root=$pkgdir
+
+  sed -i 's|#!.*python|#!/usr/bin/python3|' $pkgdir/usr/bin/*
+}
+
+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
+}

Copied: cython/repos/community-testing-x86_64/PKGBUILD (from rev 95976, cython/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2013-08-19 08:19:06 UTC (rev 95977)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Igor Scabini <furester @ gmail.com>
+
+pkgname=('cython' 'cython2')
+pkgbase=cython
+pkgver=0.19.1
+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=('df4cfb2b8e3345272e3fc451b76bd630')
+
+build() {
+  true
+}
+
+package_cython() {
+  depends=('python')
+
+  cd $srcdir/Cython-$pkgver
+  python setup.py install --root=$pkgdir
+
+  sed -i 's|#!.*python|#!/usr/bin/python3|' $pkgdir/usr/bin/*
+}
+
+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
+}




More information about the arch-commits mailing list