[arch-commits] Commit in cython/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Jan 28 17:28:50 UTC 2022


    Date: Friday, January 28, 2022 @ 17:28:50
  Author: arojas
Revision: 1118368

archrelease: copy trunk to community-x86_64

Added:
  cython/repos/community-x86_64/PKGBUILD
    (from rev 1118367, cython/trunk/PKGBUILD)
Deleted:
  cython/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-28 17:28:40 UTC (rev 1118367)
+++ PKGBUILD	2022-01-28 17:28:50 UTC (rev 1118368)
@@ -1,51 +0,0 @@
-# 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.29.26
-pkgrel=2
-pkgdesc='C-Extensions for Python'
-arch=(x86_64)
-url='https://cython.org'
-license=(APACHE)
-makedepends=(python-setuptools python2-setuptools)
-source=(https://github.com/cython/cython/archive/$pkgver/$pkgbase-$pkgver.tar.gz)
-sha256sums=('bb72b2f0ef029472759c711f0a4bded6e15e3f9bda3797550cef3c1d87d02283')
-
-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)
-
-  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)
-
-  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-x86_64/PKGBUILD (from rev 1118367, cython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-28 17:28:50 UTC (rev 1118368)
@@ -0,0 +1,51 @@
+# 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.29.27
+pkgrel=1
+pkgdesc='C-Extensions for Python'
+arch=(x86_64)
+url='https://cython.org'
+license=(APACHE)
+makedepends=(python-setuptools python2-setuptools)
+source=(https://github.com/cython/cython/archive/$pkgver/$pkgbase-$pkgver.tar.gz)
+sha256sums=('2b4db9f4570c53254fa7e404b9c92eb83fa41ecf278849e8cebc5a7c8f211bcc')
+
+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)
+
+  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)
+
+  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