[arch-commits] Commit in python-gevent/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Apr 23 08:39:15 UTC 2020


    Date: Thursday, April 23, 2020 @ 08:39:14
  Author: felixonmars
Revision: 617793

upgpkg: python-gevent 20.04.0-1

Modified:
  python-gevent/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-23 08:26:54 UTC (rev 617792)
+++ PKGBUILD	2020-04-23 08:39:14 UTC (rev 617793)
@@ -4,7 +4,7 @@
 
 pkgbase=python-gevent
 pkgname=(python-gevent python2-gevent)
-pkgver=1.5.0
+pkgver=20.04.0
 pkgrel=1
 arch=('x86_64')
 pkgdesc="Python network library that uses greenlet and libev for easy and scalable concurrency"
@@ -16,8 +16,10 @@
               '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=('20460c2ff5822b4ccff27d616e94897f4edc19372d19aaf8cb00877449d1c899481bc0312839ee5b77a7166a61584e0f4f779dc81e437ebbd75e042db68d50ae')
+sha512sums=('7dcc428ef861135e4dc66c748898ce04d4b6a25e134362c4aee0f42c085acb0af0057807028ba68a200239214e9d4dc565511fc3e5abfadeacdfcf043893db68')
 
+export EMBED=0
+
 prepare() {
   cp -a gevent-$pkgver{,-py2}
 }
@@ -25,7 +27,6 @@
 build() {
   cd "$srcdir"/gevent-$pkgver
 
-  EMBED=0 \
   CYTHON=cython \
   PYTHON=python \
   python setup.py build
@@ -32,7 +33,6 @@
 
   cd "$srcdir"/gevent-$pkgver-py2
 
-  EMBED=0 \
   CYTHON=cython2 \
   PYTHON=python2 \
   python2 setup.py build
@@ -41,11 +41,11 @@
 check() {
   (
     cd "$srcdir"/gevent-$pkgver
-    pyvenv "$srcdir/pyvenv" --system-site-packages
+    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
-    make bench alltest
+    python -m gevent.tests
   ) || warning "Tests failed"
 
   (
@@ -54,7 +54,7 @@
     . "$srcdir/pyvenv/bin/activate"
     export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages"
     python setup.py install
-    PYTHON=python2 make bench alltest
+    python2 -m gevent.tests
   ) || warning "Tests failed"
 }
 



More information about the arch-commits mailing list