python-gevent: update to 1.2.1

This commit is contained in:
Alessio Sergi 2017-02-16 23:46:16 +01:00
parent 7cfabced5d
commit 29ca9373c7
2 changed files with 21 additions and 5 deletions

View file

@ -0,0 +1,16 @@
--- setup.py.orig 2017-01-12 14:15:25.000000000 +0100
+++ setup.py 2017-02-16 23:32:42.297897158 +0100
@@ -117,13 +117,6 @@
def run_setup(ext_modules, run_make):
if run_make:
- if (not LIBEV_EMBED and not WIN and cffi_modules) or PYPY:
- # We're not embedding libev but we do want
- # to build the CFFI module. We need to configure libev
- # because the CORE Extension won't.
- # TODO: Generalize this.
- system(libev_configure_command)
-
MakeSdist.make()
setup(

View file

@ -1,7 +1,7 @@
# Template file for 'python-gevent'
pkgname=python-gevent
version=1.1.2
revision=2
version=1.2.1
revision=1
wrksrc="gevent-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
@ -13,15 +13,15 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.gevent.org/"
license="MIT"
distfiles="${PYPI_SITE}/g/gevent/gevent-${version}.tar.gz"
checksum=cb15cf73d69a2eeefed330858f09634e2c50bf46da9f9e7635730fcfb872c02c
checksum=3de300d0e32c31311e426e4d5d73b36777ed99c2bac3f8fbad939eeb2c29fa7c
export LIBEV_EMBED=0
export CARES_EMBED=0
post_install() {
# remove python2/3 compat stuff
rm -f ${DESTDIR}/usr/lib/python2*/site-packages/gevent/_*3.py
rm -f ${DESTDIR}/usr/lib/python3*/site-packages/gevent/_*2.py
rm -f ${DESTDIR}/${py2_sitelib}/gevent/_*3.py
rm -f ${DESTDIR}/${py3_sitelib}/gevent/_*2.py
vlicense LICENSE
}