[arch-commits] Commit in python-gevent/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Apr 19 21:00:37 UTC 2020
Date: Sunday, April 19, 2020 @ 21:00:37
Author: felixonmars
Revision: 616559
upgpkg: python-gevent 1.5.0-1
Modified:
python-gevent/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-19 20:54:39 UTC (rev 616558)
+++ PKGBUILD 2020-04-19 21:00:37 UTC (rev 616559)
@@ -4,23 +4,21 @@
pkgbase=python-gevent
pkgname=(python-gevent python2-gevent)
-pkgver=1.4.0
-pkgrel=3
+pkgver=1.5.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')
+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=('3cfc9de24a21f544c53aa78314641c8208fb9c7e9a8366a2310e8847982a44b09bee046a24a36fe6ec09aa060ba64c151b7c67bafd740cc510520b8dc6f3b570')
+sha512sums=('20460c2ff5822b4ccff27d616e94897f4edc19372d19aaf8cb00877449d1c899481bc0312839ee5b77a7166a61584e0f4f779dc81e437ebbd75e042db68d50ae')
prepare() {
- sed -e 's/C.UTF-8/en_US.UTF-8/' -e '/@which/d' -i gevent-$pkgver/Makefile
-
cp -a gevent-$pkgver{,-py2}
}
@@ -27,7 +25,7 @@
build() {
cd "$srcdir"/gevent-$pkgver
- EMBED=1 \
+ EMBED=0 \
CYTHON=cython \
PYTHON=python \
python setup.py build
@@ -34,7 +32,7 @@
cd "$srcdir"/gevent-$pkgver-py2
- EMBED=1 \
+ EMBED=0 \
CYTHON=cython2 \
PYTHON=python2 \
python2 setup.py build
@@ -61,7 +59,7 @@
}
package_python-gevent() {
- depends=('python-greenlet')
+ depends=('c-ares' 'libev' 'python-greenlet')
cd gevent-$pkgver
python setup.py install -O1 --root="$pkgdir"
@@ -69,7 +67,7 @@
}
package_python2-gevent() {
- depends=('python2-greenlet')
+ depends=('c-ares' 'libev' 'python2-greenlet')
cd gevent-$pkgver-py2
python2 setup.py install -O1 --root="$pkgdir"
More information about the arch-commits
mailing list