[arch-commits] Commit in python-gevent/repos/community-testing-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Sun Dec 27 19:13:30 UTC 2020


    Date: Sunday, December 27, 2020 @ 19:13:30
  Author: felixonmars
Revision: 793666

archrelease: copy trunk to community-testing-x86_64

Added:
  python-gevent/repos/community-testing-x86_64/PKGBUILD
    (from rev 793665, python-gevent/trunk/PKGBUILD)
Deleted:
  python-gevent/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  150 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-27 19:13:17 UTC (rev 793665)
+++ PKGBUILD	2020-12-27 19:13:30 UTC (rev 793666)
@@ -1,75 +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-gevent
-pkgname=(python-gevent python2-gevent)
-pkgver=20.12.0
-pkgrel=1
-arch=('x86_64')
-pkgdesc="Python network library that uses greenlet and libev for easy and scalable concurrency"
-license=("MIT")
-url="http://www.gevent.org/"
-makedepends=('python-greenlet' 'python2-greenlet' 'cython' 'cython2' 'c-ares' 'libev')
-checkdepends=('lsof' 'python-perf' 'python2-perf' 'python2-virtualenv' 'python-objgraph'
-              'python2-objgraph' 'python-zope-interface' 'python2-zope-interface' 'python-dnspython'
-              'python2-dnspython' 'python-requests' 'python2-requests' 'python-zope-event'
-              'python2-zope-event' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/gevent/gevent/archive/$pkgver.tar.gz")
-sha512sums=('8672bc779a1b824866d2982b247b0a5e9de8b00f933c3ae9993987c5060ecdce9c6964cef98de6e0de172ffc5d18d78419bc8c1f533c6755f0c888dbb29a4d41')
-
-export EMBED=0
-
-prepare() {
-  cp -a gevent-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/gevent-$pkgver
-
-  CYTHON=cython \
-  PYTHON=python \
-  python setup.py build
-
-  cd "$srcdir"/gevent-$pkgver-py2
-
-  CYTHON=cython2 \
-  PYTHON=python2 \
-  python2 setup.py build
-}
-
-check() {
-  (
-    cd "$srcdir"/gevent-$pkgver
-    python -m venv "$srcdir/pyvenv" --system-site-packages
-    . "$srcdir/pyvenv/bin/activate"
-    export PYTHONPATH="$PYTHONPATH:/usr/lib/python3.6/site-packages"
-    python setup.py install
-    python -m gevent.tests
-  ) || echo "Tests failed"
-
-  (
-    cd "$srcdir"/gevent-$pkgver-py2
-    virtualenv2 "$srcdir/pyvenv" --system-site-packages
-    . "$srcdir/pyvenv/bin/activate"
-    export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages"
-    python setup.py install
-    python2 -m gevent.tests
-  ) || echo "Tests failed"
-}
-
-package_python-gevent() {
-  depends=('c-ares' 'libev' 'python-greenlet' 'python-zope-event' 'python-zope-interface')
-
-  cd gevent-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-  install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-gevent() {
-  depends=('c-ares' 'libev' 'python2-greenlet' 'python2-zope-event' 'python2-zope-interface')
-
-  cd gevent-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-gevent/repos/community-testing-x86_64/PKGBUILD (from rev 793665, python-gevent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-27 19:13:30 UTC (rev 793666)
@@ -0,0 +1,75 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ralf Schmitt <ralf at systemexit.de>
+
+pkgbase=python-gevent
+pkgname=(python-gevent python2-gevent)
+pkgver=20.12.1
+pkgrel=1
+arch=('x86_64')
+pkgdesc="Python network library that uses greenlet and libev for easy and scalable concurrency"
+license=("MIT")
+url="http://www.gevent.org/"
+makedepends=('python-greenlet' 'python2-greenlet' 'cython' 'cython2' 'c-ares' 'libev')
+checkdepends=('lsof' 'python-perf' 'python2-perf' 'python2-virtualenv' 'python-objgraph'
+              'python2-objgraph' 'python-zope-interface' 'python2-zope-interface' 'python-dnspython'
+              'python2-dnspython' 'python-requests' 'python2-requests' 'python-zope-event'
+              'python2-zope-event' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/gevent/gevent/archive/$pkgver.tar.gz")
+sha512sums=('4a2660bdc6e4a519f19d39d2a091bd6552e17df6b3ee8494fc4d33153ebeaf2fc5344030e1bfe4214b2378224a99f69542cd607e23f0fa4e4cb1c5416783d382')
+
+export EMBED=0
+
+prepare() {
+  cp -a gevent-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/gevent-$pkgver
+
+  CYTHON=cython \
+  PYTHON=python \
+  python setup.py build
+
+  cd "$srcdir"/gevent-$pkgver-py2
+
+  CYTHON=cython2 \
+  PYTHON=python2 \
+  python2 setup.py build
+}
+
+check() {
+  (
+    cd "$srcdir"/gevent-$pkgver
+    python -m venv "$srcdir/pyvenv" --system-site-packages
+    . "$srcdir/pyvenv/bin/activate"
+    export PYTHONPATH="$PYTHONPATH:/usr/lib/python3.6/site-packages"
+    python setup.py install
+    python -m gevent.tests
+  ) || echo "Tests failed"
+
+  (
+    cd "$srcdir"/gevent-$pkgver-py2
+    virtualenv2 "$srcdir/pyvenv" --system-site-packages
+    . "$srcdir/pyvenv/bin/activate"
+    export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages"
+    python setup.py install
+    python2 -m gevent.tests
+  ) || echo "Tests failed"
+}
+
+package_python-gevent() {
+  depends=('c-ares' 'libev' 'python-greenlet' 'python-zope-event' 'python-zope-interface')
+
+  cd gevent-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-gevent() {
+  depends=('c-ares' 'libev' 'python2-greenlet' 'python2-zope-event' 'python2-zope-interface')
+
+  cd gevent-$pkgver-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list