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

Felix Yan felixonmars at archlinux.org
Wed Jan 13 17:39:12 UTC 2021


    Date: Wednesday, January 13, 2021 @ 17:39:12
  Author: felixonmars
Revision: 820583

archrelease: copy trunk to community-x86_64

Added:
  python-greenlet/repos/community-x86_64/PKGBUILD
    (from rev 820582, python-greenlet/trunk/PKGBUILD)
Deleted:
  python-greenlet/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-13 17:39:07 UTC (rev 820582)
+++ PKGBUILD	2021-01-13 17:39:12 UTC (rev 820583)
@@ -1,51 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ralf Schmitt <ralf at systemexit.de>
-
-pkgbase=python-greenlet
-pkgname=(python-greenlet python2-greenlet)
-pkgver=0.4.17
-pkgrel=3
-pkgdesc="Lightweight in-process concurrent programming"
-license=("MIT")
-arch=('x86_64')
-url="https://pypi.org/project/greenlet/"
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-${pkgver}.tar.gz")
-sha512sums=('41afd80a6cd5e9cf9c8149016f24d0944d2651288d50094ef04bb6759202903c436af639872d7aab631ed8fe13aad7d4405beb428415b198a3ba30a96d4bd3de')
-
-prepare() {
-    cp -a greenlet-$pkgver{,-py2}
-}
-
-build() {
-	cd "$srcdir"/greenlet-$pkgver
-	python setup.py build
-
-    cd "$srcdir"/greenlet-$pkgver-py2
-    python2 setup.py build
-}
-
-check() {
-    cd "$srcdir"/greenlet-$pkgver
-    python setup.py test
-
-    cd "$srcdir"/greenlet-$pkgver-py2
-    python2 setup.py test
-}
-
-package_python-greenlet() {
-    depends=('python')
-
-    cd greenlet-$pkgver
-    python setup.py install -O1 --root="$pkgdir"
-    install -Dm0644 LICENSE.PSF "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.PSF
-}
-
-package_python2-greenlet() {
-    depends=('python2')
-
-	cd greenlet-$pkgver-py2
-	python2 setup.py install -O1 --root="$pkgdir"
-	install -Dm0644 LICENSE.PSF "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.PSF
-}

Copied: python-greenlet/repos/community-x86_64/PKGBUILD (from rev 820582, python-greenlet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-13 17:39:12 UTC (rev 820583)
@@ -0,0 +1,51 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ralf Schmitt <ralf at systemexit.de>
+
+pkgbase=python-greenlet
+pkgname=(python-greenlet python2-greenlet)
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Lightweight in-process concurrent programming"
+license=("MIT")
+arch=('x86_64')
+url="https://pypi.org/project/greenlet/"
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-${pkgver}.tar.gz")
+sha512sums=('7b615792c340e0eb8ca61bd09bde48ed15110d97254910bd8598312e15adb7267ba795e9e6b52f0998db27d8413d2e1aa9e977511c0d09cd3a5583b37475f882')
+
+prepare() {
+    cp -a greenlet-$pkgver{,-py2}
+}
+
+build() {
+	cd "$srcdir"/greenlet-$pkgver
+	python setup.py build
+
+    cd "$srcdir"/greenlet-$pkgver-py2
+    python2 setup.py build
+}
+
+check() {
+    cd "$srcdir"/greenlet-$pkgver
+    PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9" python -m unittest discover -v greenlet.tests
+
+    cd "$srcdir"/greenlet-$pkgver-py2
+    PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7" python2 -m unittest discover -v greenlet.tests
+}
+
+package_python-greenlet() {
+    depends=('python')
+
+    cd greenlet-$pkgver
+    python setup.py install -O1 --root="$pkgdir"
+    install -Dm0644 LICENSE.PSF "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.PSF
+}
+
+package_python2-greenlet() {
+    depends=('python2')
+
+	cd greenlet-$pkgver-py2
+	python2 setup.py install -O1 --root="$pkgdir"
+	install -Dm0644 LICENSE.PSF "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.PSF
+}



More information about the arch-commits mailing list