From: Mikhail Ivanov Date: Tue, 28 Jul 2015 12:30:10 +0000 (+0300) Subject: Add py3 support to python-eventlet X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fheads%2F7.0;p=packages%2Ftrusty%2Fpython-eventlet.git Add py3 support to python-eventlet python3-eventlet required by oslo.concurrency Change-Id: Iad8db8c97b883ffb53e8e8e4bb812f7cb9eb6c09 --- diff --git a/debian/changelog b/debian/changelog index 2c24f55..7461dfe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-eventlet (0.16.1-1~u14.04+mos3) mos7.0; urgency=medium + + * Add py3 support + + -- Mikhail Ivanov 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 diff --git a/debian/control b/debian/control index fa0c81e..cde0a9f 100644 --- a/debian/control +++ b/debian/control @@ -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. diff --git a/debian/rules b/debian/rules index 32a9363..ba3cab1 100755 --- a/debian/rules +++ b/debian/rules @@ -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: