Package: python-eventlet
Version: 0.20.0-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/enum34-compat.patch,d/control: Use enum34 instead of
    unpackaged enum-compat.

Eventlet uses the enum-compat shim (unpackaged) to make use of enum34
with Python < 3.4; the attached patch skips the shim and just ensures
that enum34 is installed with the py2 module.

Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers bionic
  APT policy: (500, 'bionic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-16-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru python-eventlet-0.20.0/debian/control 
python-eventlet-0.20.0/debian/control
--- python-eventlet-0.20.0/debian/control       2017-11-14 22:27:29.000000000 
+0000
+++ python-eventlet-0.20.0/debian/control       2017-11-16 14:30:14.000000000 
+0000
@@ -16,6 +16,7 @@
  python3-sphinx,
 Build-Depends-Indep:
  python-dnspython,
+ python-enum34,
  python-greenlet,
  python-httplib2,
  python-nose,
@@ -37,6 +38,7 @@
 Architecture: all
 Depends:
  netbase,
+ python-enum34,
  python-greenlet,
  ${misc:Depends},
  ${python:Depends},
diff -Nru python-eventlet-0.20.0/debian/patches/enum34-compat.patch 
python-eventlet-0.20.0/debian/patches/enum34-compat.patch
--- python-eventlet-0.20.0/debian/patches/enum34-compat.patch   1970-01-01 
01:00:00.000000000 +0100
+++ python-eventlet-0.20.0/debian/patches/enum34-compat.patch   2017-11-16 
10:54:23.000000000 +0000
@@ -0,0 +1,14 @@
+Description: Drop requirement on enum-compat in favour of enum34
+Author: James Page <james.p...@ubuntu.com>
+Forwarded: not-needed
+
+--- a/setup.py
++++ b/setup.py
+@@ -13,7 +13,6 @@ setup(
+     url='http://eventlet.net',
+     packages=find_packages(exclude=['benchmarks', 'tests', 'tests.*']),
+     install_requires=(
+-        'enum-compat',
+         'greenlet >= 0.3',
+     ),
+     zip_safe=False,
diff -Nru python-eventlet-0.20.0/debian/patches/series 
python-eventlet-0.20.0/debian/patches/series
--- python-eventlet-0.20.0/debian/patches/series        2017-11-14 
21:48:10.000000000 +0000
+++ python-eventlet-0.20.0/debian/patches/series        2017-11-16 
10:53:27.000000000 +0000
@@ -8,3 +8,4 @@
 0008-Disable-test_server_connection_timeout_exception.patch
 0009-Removed-test_urllib-that-is-failing-in-py36.patch
 0010-Fix-compilation-errors-when-installing-package-in-Py.patch
+enum34-compat.patch
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to