]> review.fuel-infra Code Review - packages/trusty/python-eventlet.git/commitdiff
Add py3 support to python-eventlet 18/9918/2 7.0
authorMikhail Ivanov <mivanov@mirantis.com>
Tue, 28 Jul 2015 12:30:10 +0000 (15:30 +0300)
committerMikhail Ivanov <mivanov@mirantis.com>
Tue, 28 Jul 2015 12:32:05 +0000 (15:32 +0300)
python3-eventlet required by oslo.concurrency

Change-Id: Iad8db8c97b883ffb53e8e8e4bb812f7cb9eb6c09

debian/changelog
debian/control
debian/rules

index 2c24f5524c42618cb2ed9994298ea22023203ef6..7461dfe84da4b5d379e74f22d7fb5a28ac11afb3 100644 (file)
@@ -1,3 +1,9 @@
+python-eventlet (0.16.1-1~u14.04+mos3) mos7.0; urgency=medium
+
+  * Add py3 support
+
+ -- Mikhail Ivanov <mivanov@mirantis.com>  Tue, 28 Jul 2015 15:29:30 +0300
+
 python-eventlet (0.16.1-1~u14.04+mos2) mos7.0; urgency=medium
 
   * Update package version for MOS7.0
index fa0c81ea27751c3d574b7372f8c03b272fee36ca..cde0a9f8aed10bdee0c89bae149c0ccccce2116d 100644 (file)
@@ -8,19 +8,19 @@ Build-Depends: debhelper (>= 9),
                python-all (>= 2.6.6-3~),
                python-setuptools,
                python-sphinx (>= 1.0.7+dfsg),
-#               python3-all (>= 3.2),
-#               python3-setuptools
+               python3-all (>= 3.2),
+               python3-setuptools
 Build-Depends-Indep: python-greenlet (>= 0.3.1-2.1),
                      python-httplib2,
                      python-mock,
                      python-nose,
-                     python-openssl
-#                     python3-greenlet (>= 0.3.1-2.1),
-#                     python3-httplib2,
-#                     python3-mock,
-#                     python3-nose,
-#                     python3-openssl,
-#                     python3-zmq
+                     python-openssl,
+                     python3-greenlet (>= 0.3.1-2.1),
+                     python3-httplib2,
+                     python3-mock,
+                     python3-nose,
+                     python3-openssl,
+                     python3-zmq
 Standards-Version: 3.9.5
 Homepage: http://eventlet.net
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-eventlet/trunk/
@@ -44,39 +44,39 @@ Description: concurrent networking library - Python 2.x
  .
  This package provides the Python 2.x module.
 
-#Package: python3-eventlet
-#Architecture: all
-#Depends: ${misc:Depends}, ${python3:Depends}, ${sphinxdoc:Depends}
-#Description: concurrent networking library - Python 3.x
-# Eventlet allows you to change how you run your code, not how you write it.
-# .
-# It uses epoll or libevent for highly scalable non-blocking I/O.
-# Coroutines ensure that the developer uses a blocking style of programming
-# that is similar to threading, but provide the benefits of non-blocking I/O.
-# The event dispatch is implicit, which means you can easily use Eventlet from
-# the Python interpreter, or as a small part of a larger application.
-# .
-# It's easy to get started using Eventlet, and easy to convert existing
-# applications to use it. Start off by looking at examples, common design
-# patterns, and the list of the basic API primitives.
-# .
-# This package provides the Python 3.x module.
-#
-#Package: python-eventlet-doc
-#Architecture: all
-#Section: doc
-#Depends: ${misc:Depends}, ${sphinxdoc:Depends}
-#Description: concurrent networking library - doc
-# Eventlet allows you to change how you run your code, not how you write it.
-# .
-# It uses epoll or libevent for highly scalable non-blocking I/O.
-# Coroutines ensure that the developer uses a blocking style of programming
-# that is similar to threading, but provide the benefits of non-blocking I/O.
-# The event dispatch is implicit, which means you can easily use Eventlet from
-# the Python interpreter, or as a small part of a larger application.
-# .
-# It's easy to get started using Eventlet, and easy to convert existing
-# applications to use it. Start off by looking at examples, common design
-# patterns, and the list of the basic API primitives.
-# .
-# This package provides the documentation.
+Package: python3-eventlet
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, ${sphinxdoc:Depends}
+Description: concurrent networking library - Python 3.x
+ Eventlet allows you to change how you run your code, not how you write it.
+ .
+ It uses epoll or libevent for highly scalable non-blocking I/O.
+ Coroutines ensure that the developer uses a blocking style of programming
+ that is similar to threading, but provide the benefits of non-blocking I/O.
+ The event dispatch is implicit, which means you can easily use Eventlet from
+ the Python interpreter, or as a small part of a larger application.
+ .
+ It's easy to get started using Eventlet, and easy to convert existing
+ applications to use it. Start off by looking at examples, common design
+ patterns, and the list of the basic API primitives.
+ .
+ This package provides the Python 3.x module.
+
+Package: python-eventlet-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: concurrent networking library - doc
+ Eventlet allows you to change how you run your code, not how you write it.
+ .
+ It uses epoll or libevent for highly scalable non-blocking I/O.
+ Coroutines ensure that the developer uses a blocking style of programming
+ that is similar to threading, but provide the benefits of non-blocking I/O.
+ The event dispatch is implicit, which means you can easily use Eventlet from
+ the Python interpreter, or as a small part of a larger application.
+ .
+ It's easy to get started using Eventlet, and easy to convert existing
+ applications to use it. Start off by looking at examples, common design
+ patterns, and the list of the basic API primitives.
+ .
+ This package provides the documentation.
index 32a9363c5e6da427309808b9f31cf4d2dc79835b..ba3cab137a9632566fc9a76a3c9c4a3b161b0094 100755 (executable)
@@ -1,25 +1,24 @@
 #!/usr/bin/make -f
 
 PYTHONS:=$(shell pyversions -vr)
-#PYTHON3S:=$(shell py3versions -vr)
+PYTHON3S:=$(shell py3versions -vr)
 
 %:
-       dh $@ -O--buildsystem=python_distutils --with python2,sphinxdoc
-#      dh $@ -O--buildsystem=python_distutils --with python2,python3,sphinxdoc
+       dh $@ -O--buildsystem=python_distutils --with python2,python3,sphinxdoc
 
 override_dh_install:
        set -e && for pyvers in $(PYTHONS); do \
                python$$pyvers setup.py install --install-layout=deb \
                        --root $(CURDIR)/debian/python-eventlet; \
        done
-#      set -e && for pyvers in $(PYTHON3S); do \
-#              python$$pyvers setup.py install --install-layout=deb \
-#                      --root $(CURDIR)/debian/python3-eventlet; \
-#      done
+       set -e && for pyvers in $(PYTHON3S); do \
+               python$$pyvers setup.py install --install-layout=deb \
+                       --root $(CURDIR)/debian/python3-eventlet; \
+       done
 
 override_dh_sphinxdoc:
-       #PYTHONPATH=. sphinx-build -N -b html doc/ debian/python-eventlet-doc/usr/share/doc/python-eventlet-doc/html
-       PYTHONPATH=. sphinx-build -N -b html doc/ debian/python-eventlet/usr/share/doc/python-eventlet/html
+       PYTHONPATH=. sphinx-build -N -b html doc/ debian/python-eventlet-doc/usr/share/doc/python-eventlet-doc/html
+#      PYTHONPATH=. sphinx-build -N -b html doc/ debian/python-eventlet/usr/share/doc/python-eventlet/html
        dh_sphinxdoc -O--buildsystem=python_distutils
 
 override_dh_auto_test: