[Python-modules-commits] r32447 - in packages/python-eventlet/trunk/debian (8 files)

zigo at users.alioth.debian.org zigo at users.alioth.debian.org
Mon Apr 27 14:36:42 UTC 2015


    Date: Monday, April 27, 2015 @ 14:36:41
  Author: zigo
Revision: 32447

  * New upstream release.
  * Uploading to unstable.
  * Added Python 3 package, since upstream has it now.

Modified:
  packages/python-eventlet/trunk/debian/changelog
  packages/python-eventlet/trunk/debian/control
  packages/python-eventlet/trunk/debian/docs
  packages/python-eventlet/trunk/debian/patches/remove-self.assert-in-tests.patcher_test.py.patch
  packages/python-eventlet/trunk/debian/patches/series
  packages/python-eventlet/trunk/debian/patches/use-packaged-python-mock-rather-than-embedded.patch
  packages/python-eventlet/trunk/debian/rules
Deleted:
  packages/python-eventlet/trunk/debian/patches/skip-failing-tests.patch

Modified: packages/python-eventlet/trunk/debian/changelog
===================================================================
--- packages/python-eventlet/trunk/debian/changelog	2015-04-26 21:17:13 UTC (rev 32446)
+++ packages/python-eventlet/trunk/debian/changelog	2015-04-27 14:36:41 UTC (rev 32447)
@@ -1,3 +1,11 @@
+python-eventlet (0.17.3-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Uploading to unstable.
+  * Added Python 3 package, since upstream has it now.
+
+ -- Thomas Goirand <zigo at debian.org>  Sun, 08 Feb 2015 12:34:57 +0000
+
 python-eventlet (0.15.2-1) experimental; urgency=medium
 
   * Team upload.

Modified: packages/python-eventlet/trunk/debian/control
===================================================================
--- packages/python-eventlet/trunk/debian/control	2015-04-26 21:17:13 UTC (rev 32446)
+++ packages/python-eventlet/trunk/debian/control	2015-04-27 14:36:41 UTC (rev 32447)
@@ -7,20 +7,20 @@
                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,
                      python-zmq,
-#                     python3-greenlet (>= 0.3.1-2.1),
-#                     python3-httplib2,
-#                     python3-mock,
-#                     python3-nose,
-#                     python3-openssl,
-#                     python3-zmq
+                     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 @@
  .
  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.

Modified: packages/python-eventlet/trunk/debian/docs
===================================================================
--- packages/python-eventlet/trunk/debian/docs	2015-04-26 21:17:13 UTC (rev 32446)
+++ packages/python-eventlet/trunk/debian/docs	2015-04-27 14:36:41 UTC (rev 32447)
@@ -1,2 +1 @@
 README.rst
-README.twisted

Modified: packages/python-eventlet/trunk/debian/patches/remove-self.assert-in-tests.patcher_test.py.patch
===================================================================
--- packages/python-eventlet/trunk/debian/patches/remove-self.assert-in-tests.patcher_test.py.patch	2015-04-26 21:17:13 UTC (rev 32446)
+++ packages/python-eventlet/trunk/debian/patches/remove-self.assert-in-tests.patcher_test.py.patch	2015-04-27 14:36:41 UTC (rev 32447)
@@ -3,9 +3,11 @@
 Forwarded: no
 Last-Update: 2014-09-07
 
---- python-eventlet-0.15.2.orig/tests/patcher_test.py
-+++ python-eventlet-0.15.2/tests/patcher_test.py
-@@ -310,7 +310,7 @@ print(len(_threading._active))
+Index: python-eventlet-0.17.3/tests/patcher_test.py
+===================================================================
+--- python-eventlet-0.17.3.orig/tests/patcher_test.py
++++ python-eventlet-0.17.3/tests/patcher_test.py
+@@ -325,7 +325,7 @@ print(len(_threading._active))
          self.assertEqual(len(lines), 4, "\n".join(lines))
          assert lines[0].startswith('<Thread'), lines[0]
          self.assertEqual(lines[1], "1", lines[1])
@@ -14,7 +16,7 @@
  
      def test_threading(self):
          new_mod = """import eventlet
-@@ -341,7 +341,7 @@ print(len(threading._active))
+@@ -356,7 +356,7 @@ print(len(threading._active))
  """
          self.write_to_tempfile("newmod", new_mod)
          output, lines = self.launch_subprocess('newmod')

Modified: packages/python-eventlet/trunk/debian/patches/series
===================================================================
--- packages/python-eventlet/trunk/debian/patches/series	2015-04-26 21:17:13 UTC (rev 32446)
+++ packages/python-eventlet/trunk/debian/patches/series	2015-04-27 14:36:41 UTC (rev 32447)
@@ -1,4 +1,3 @@
-skip-failing-tests.patch
 remove-self.assert-in-tests.patcher_test.py.patch
 fix-FTBFS-on-sphinx-build.patch
 use-packaged-python-mock-rather-than-embedded.patch

Deleted: packages/python-eventlet/trunk/debian/patches/skip-failing-tests.patch
===================================================================
--- packages/python-eventlet/trunk/debian/patches/skip-failing-tests.patch	2015-04-26 21:17:13 UTC (rev 32446)
+++ packages/python-eventlet/trunk/debian/patches/skip-failing-tests.patch	2015-04-27 14:36:41 UTC (rev 32447)
@@ -1,12 +0,0 @@
-Index: python-eventlet-0.15.2/tests/greenio_test.py
-===================================================================
---- python-eventlet-0.15.2.orig/tests/greenio_test.py
-+++ python-eventlet-0.15.2/tests/greenio_test.py
-@@ -727,6 +727,7 @@ class TestGreenPipe(LimitedTestCase):
- class TestGreenIoLong(LimitedTestCase):
-     TEST_TIMEOUT = 10  # the test here might take a while depending on the OS
- 
-+    @skipped
-     @skip_with_pyevent
-     def test_multiple_readers(self, clibufsize=False):
-         debug.hub_prevent_multiple_readers(False)

Modified: packages/python-eventlet/trunk/debian/patches/use-packaged-python-mock-rather-than-embedded.patch
===================================================================
--- packages/python-eventlet/trunk/debian/patches/use-packaged-python-mock-rather-than-embedded.patch	2015-04-26 21:17:13 UTC (rev 32446)
+++ packages/python-eventlet/trunk/debian/patches/use-packaged-python-mock-rather-than-embedded.patch	2015-04-27 14:36:41 UTC (rev 32447)
@@ -2,10 +2,10 @@
  Upstream is "vendorizing" mock. This sux...
 Author: Thomas Goirand <zigo at debian.org>
 Forwarded: no
-Last-Update: 2014-09-07
+Last-Update: 2015-02-08
 
---- python-eventlet-0.15.2.orig/tests/db_pool_test.py
-+++ python-eventlet-0.15.2/tests/db_pool_test.py
+--- python-eventlet-0.16.1.orig/tests/db_pool_test.py
++++ python-eventlet-0.16.1/tests/db_pool_test.py
 @@ -7,7 +7,8 @@ import os
  import traceback
  from unittest import TestCase, main
@@ -16,15 +16,15 @@
  from eventlet import event
  from eventlet import db_pool
  from eventlet.support import six
---- python-eventlet-0.15.2.orig/tests/websocket_test.py
-+++ python-eventlet-0.15.2/tests/websocket_test.py
-@@ -9,7 +9,8 @@ from eventlet.green import httplib
- from eventlet.green import urllib2
+--- python-eventlet-0.16.1.orig/tests/websocket_test.py
++++ python-eventlet-0.16.1/tests/websocket_test.py
+@@ -8,7 +8,8 @@ from eventlet.green import httplib
+ from eventlet.support import six
  from eventlet.websocket import WebSocket, WebSocketWSGI
  
--from tests import mock, LimitedTestCase, certificate_file, private_key_file
+-from tests import certificate_file, LimitedTestCase, mock, private_key_file
 +import mock
-+from tests import LimitedTestCase, certificate_file, private_key_file
++from tests import certificate_file, LimitedTestCase, private_key_file
  from tests import skip_if_no_ssl
  from tests.wsgi_test import _TestBase
  

Modified: packages/python-eventlet/trunk/debian/rules
===================================================================
--- packages/python-eventlet/trunk/debian/rules	2015-04-26 21:17:13 UTC (rev 32446)
+++ packages/python-eventlet/trunk/debian/rules	2015-04-27 14:36:41 UTC (rev 32447)
@@ -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
 
 override_dh_install:
-	set -e && for pyvers in $(PYTHONS); do \
+	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 $(CURDIR)/debian/python-eventlet-doc/usr/share/doc/python-eventlet-doc/html
 	dh_sphinxdoc -O--buildsystem=python_distutils
 
 override_dh_auto_test:




More information about the Python-modules-commits mailing list