[arch-commits] Commit in cython/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Jul 8 09:00:51 UTC 2018
Date: Sunday, July 8, 2018 @ 09:00:51
Author: arojas
Revision: 354697
archrelease: copy trunk to community-staging-x86_64
Added:
cython/repos/community-staging-x86_64/PKGBUILD
(from rev 354696, cython/trunk/PKGBUILD)
Deleted:
cython/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-08 09:00:30 UTC (rev 354696)
+++ PKGBUILD 2018-07-08 09:00:51 UTC (rev 354697)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Igor Scabini <furester @ gmail.com>
-
-pkgname=(cython cython2)
-pkgbase=cython
-pkgver=0.28.3
-pkgrel=3
-pkgdesc="C-Extensions for Python"
-arch=(x86_64)
-url="http://cython.org"
-license=(APACHE)
-makedepends=(python-setuptools python2-setuptools)
-source=($pkgbase-$pkgver.tar.gz::"https://github.com/cython/cython/archive/$pkgver.tar.gz")
-sha256sums=('05e3eb7f06043f5ff2028338370329e71c29f57315e95f4dc6ad7c4971dd4c6f')
-
-prepare() {
- cp -r cython-$pkgver cython2-$pkgver
- find cython2-$pkgver -name '*.py' | xargs sed -e 's|/usr/bin/env python|/usr/bin/env python2|' -e 's|/usr/bin/python|/usr/bin/python2|' -i
-}
-
-build() {
- cd cython-$pkgver
- python setup.py build
-
- cd ../cython2-$pkgver
- python2 setup.py build
-}
-
-package_cython() {
- depends=(python-setuptools)
-
- cd cython-$pkgver
- python setup.py install --root="$pkgdir" --skip-build
-
- for f in cygdb cython cythonize; do
- mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}3
- ln -s ${f}3 "$pkgdir"/usr/bin/$f
- done
-}
-
-package_cython2() {
- depends=(python2-setuptools)
-
- cd cython2-$pkgver
- python2 setup.py install --root="$pkgdir" --skip-build
-
- for f in cygdb cython cythonize; do
- mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}2
- done
-}
Copied: cython/repos/community-staging-x86_64/PKGBUILD (from rev 354696, cython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-08 09:00:51 UTC (rev 354697)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Igor Scabini <furester @ gmail.com>
+
+pkgname=(cython cython2)
+pkgbase=cython
+pkgver=0.28.4
+pkgrel=2
+pkgdesc="C-Extensions for Python"
+arch=(x86_64)
+url="http://cython.org"
+license=(APACHE)
+makedepends=(python-setuptools python2-setuptools)
+source=($pkgbase-$pkgver.tar.gz::"https://github.com/cython/cython/archive/$pkgver.tar.gz")
+sha256sums=('bccc9aa050ea02595b2440188813b936eaf345e85fb9692790cecfe095cf91aa')
+
+prepare() {
+ cp -r cython-$pkgver cython2-$pkgver
+ find cython2-$pkgver -name '*.py' | xargs sed -e 's|/usr/bin/env python|/usr/bin/env python2|' -e 's|/usr/bin/python|/usr/bin/python2|' -i
+}
+
+build() {
+ cd cython-$pkgver
+ python setup.py build
+
+ cd ../cython2-$pkgver
+ python2 setup.py build
+}
+
+package_cython() {
+ depends=(python-setuptools)
+
+ cd cython-$pkgver
+ python setup.py install --root="$pkgdir" --skip-build
+
+ for f in cygdb cython cythonize; do
+ mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}3
+ ln -s ${f}3 "$pkgdir"/usr/bin/$f
+ done
+}
+
+package_cython2() {
+ depends=(python2-setuptools)
+
+ cd cython2-$pkgver
+ python2 setup.py install --root="$pkgdir" --skip-build
+
+ for f in cygdb cython cythonize; do
+ mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}2
+ done
+}
More information about the arch-commits
mailing list