Date: Friday, May 7, 2021 @ 20:23:24
  Author: felixonmars
Revision: 928667

archrelease: copy trunk to community-testing-x86_64

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

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-greenlet/repos/community-testing-x86_64/PKGBUILD (from rev 
928666, python-greenlet/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-05-07 20:23:24 UTC (rev 928667)
@@ -0,0 +1,31 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Ralf Schmitt <r...@systemexit.de>
+
+pkgname=python-greenlet
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Lightweight in-process concurrent programming"
+license=("MIT")
+arch=('x86_64')
+url="https://pypi.org/project/greenlet/";
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-${pkgver}.tar.gz";)
+sha512sums=('13547917860d9a19f2fab519380121805d8f7801ad47b1584003833a5de66eb703373c71e67b32f13b770d429bcee6856b35bc6fc8afb7be598c2bf509bede03')
+
+build() {
+       cd "$srcdir"/greenlet-$pkgver
+       python setup.py build
+}
+
+check() {
+    cd "$srcdir"/greenlet-$pkgver
+    PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9" python -m unittest discover 
-v greenlet.tests
+}
+
+package() {
+    cd greenlet-$pkgver
+    python setup.py install -O1 --root="$pkgdir"
+    install -Dm0644 LICENSE.PSF 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.PSF
+}

Reply via email to