From 29ca9373c709b97e34473ed4ae43577ab0474548 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 16 Feb 2017 23:46:16 +0100 Subject: [PATCH] python-gevent: update to 1.2.1 --- srcpkgs/python-gevent/patches/setup_py.patch | 16 ++++++++++++++++ srcpkgs/python-gevent/template | 10 +++++----- 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/python-gevent/patches/setup_py.patch diff --git a/srcpkgs/python-gevent/patches/setup_py.patch b/srcpkgs/python-gevent/patches/setup_py.patch new file mode 100644 index 00000000000..491458ad02d --- /dev/null +++ b/srcpkgs/python-gevent/patches/setup_py.patch @@ -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( diff --git a/srcpkgs/python-gevent/template b/srcpkgs/python-gevent/template index da7a3f3fcbc..bbe63e90451 100644 --- a/srcpkgs/python-gevent/template +++ b/srcpkgs/python-gevent/template @@ -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 " 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 }