[Python-modules-commits] r21583 - in packages/pyopenssl/trunk/debian (7 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sat May 5 15:02:42 UTC 2012


    Date: Saturday, May 5, 2012 @ 15:02:40
  Author: morph
Revision: 21583

* Enable the Python 3 version of the package; Closes: #669301
* Fix several omissions for py3k packages introduction

Added:
  packages/pyopenssl/trunk/debian/python-pyopenssl-dbg.install
  packages/pyopenssl/trunk/debian/python-pyopenssl.install
  packages/pyopenssl/trunk/debian/python3-pyopenssl-dbg.install
  packages/pyopenssl/trunk/debian/python3-pyopenssl.install
Modified:
  packages/pyopenssl/trunk/debian/changelog
  packages/pyopenssl/trunk/debian/control
  packages/pyopenssl/trunk/debian/rules

Modified: packages/pyopenssl/trunk/debian/changelog
===================================================================
--- packages/pyopenssl/trunk/debian/changelog	2012-05-05 13:08:44 UTC (rev 21582)
+++ packages/pyopenssl/trunk/debian/changelog	2012-05-05 15:02:40 UTC (rev 21583)
@@ -1,3 +1,13 @@
+pyopenssl (0.13-2) UNRELEASED; urgency=low
+
+  [ Barry Warsaw ]
+  * Enable the Python 3 version of the package; Closes: #669301
+
+  [ Sandro Tosi ]
+  * Fix several omissions for py3k packages introduction
+
+ -- Sandro Tosi <morph at debian.org>  Sat, 05 May 2012 17:00:15 +0200
+
 pyopenssl (0.13-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/pyopenssl/trunk/debian/control
===================================================================
--- packages/pyopenssl/trunk/debian/control	2012-05-05 13:08:44 UTC (rev 21582)
+++ packages/pyopenssl/trunk/debian/control	2012-05-05 15:02:40 UTC (rev 21583)
@@ -3,18 +3,19 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.5.4-1~), python-all-dbg (>= 2.5.4-1~), python-support (>= 0.6.4), libssl-dev (>= 0.9.8), tex4ht, w3m, texlive-latex-base, texlive-latex-recommended, openssl
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.5.4-1~), python-all-dbg (>= 2.5.4-1~), python3-all-dev, python3-all-dbg, python-support (>= 0.6.4), libssl-dev (>= 0.9.8), tex4ht, w3m, texlive-latex-base, texlive-latex-recommended, openssl
 Standards-Version: 3.9.2
 Homepage: http://launchpad.net/pyopenssl
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyopenssl/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyopenssl/trunk/
 XS-Python-Version: all
+X-Python3-Version: >= 3.2
 
 Package: python-openssl
 Architecture: any
 Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Suggests: python-openssl-doc, python-openssl-dbg
-Description: Python wrapper around the OpenSSL library
+Description: Python 2 wrapper around the OpenSSL library
  High-level wrapper around a subset of the OpenSSL library, includes
  .
    * SSL.Connection objects, wrapping the methods of Python's portable
@@ -30,7 +31,7 @@
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
-Suggests: python-openssl
+Suggests: python-openssl, python3-openssl
 Description: Python wrapper around the OpenSSL library (documentation package)
  High-level wrapper around a subset of the OpenSSL library, includes
  .
@@ -50,7 +51,7 @@
 Section: debug
 Architecture: any
 Depends: ${misc:Depends}, python-openssl (= ${binary:Version}), python-dbg, ${shlibs:Depends}
-Description: Python wrapper around the OpenSSL library (debug extension)
+Description: Python 2 wrapper around the OpenSSL library (debug extension)
  High-level wrapper around a subset of the OpenSSL library, includes
  .
    * SSL.Connection objects, wrapping the methods of Python's portable
@@ -63,3 +64,41 @@
  corresponding function in the OpenSSL library.
  .
  This package contains the debug extension for python-openssl.
+
+Package: python3-openssl
+Architecture: any
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: python-openssl-doc, python3-openssl-dbg
+Description: Python 3 wrapper around the OpenSSL library
+ High-level wrapper around a subset of the OpenSSL library, includes
+ .
+   * SSL.Connection objects, wrapping the methods of Python's portable
+     sockets
+   * Callbacks written in Python
+   * Extensive error-handling mechanism, mirroring OpenSSL's error
+     codes
+ .
+ A lot of the object methods do nothing more than calling a
+ corresponding function in the OpenSSL library.
+ .
+ This package contains the Python 3 version of pyopenssl.
+
+Package: python3-openssl-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, python3-openssl (= ${binary:Version}), python3-dbg, ${shlibs:Depends}
+Description: Python 3 wrapper around the OpenSSL library (debug extension)
+ High-level wrapper around a subset of the OpenSSL library, includes
+ .
+   * SSL.Connection objects, wrapping the methods of Python's portable
+     sockets
+   * Callbacks written in Python
+   * Extensive error-handling mechanism, mirroring OpenSSL's error
+     codes
+ .
+ A lot of the object methods do nothing more than calling a
+ corresponding function in the OpenSSL library.
+ .
+ This package contains the debug extension for python3-openssl.
+

Added: packages/pyopenssl/trunk/debian/python-pyopenssl-dbg.install
===================================================================
--- packages/pyopenssl/trunk/debian/python-pyopenssl-dbg.install	                        (rev 0)
+++ packages/pyopenssl/trunk/debian/python-pyopenssl-dbg.install	2012-05-05 15:02:40 UTC (rev 21583)
@@ -0,0 +1 @@
+usr/lib/python2*

Added: packages/pyopenssl/trunk/debian/python-pyopenssl.install
===================================================================
--- packages/pyopenssl/trunk/debian/python-pyopenssl.install	                        (rev 0)
+++ packages/pyopenssl/trunk/debian/python-pyopenssl.install	2012-05-05 15:02:40 UTC (rev 21583)
@@ -0,0 +1 @@
+usr/lib/python2*

Added: packages/pyopenssl/trunk/debian/python3-pyopenssl-dbg.install
===================================================================
--- packages/pyopenssl/trunk/debian/python3-pyopenssl-dbg.install	                        (rev 0)
+++ packages/pyopenssl/trunk/debian/python3-pyopenssl-dbg.install	2012-05-05 15:02:40 UTC (rev 21583)
@@ -0,0 +1 @@
+usr/lib/python3

Added: packages/pyopenssl/trunk/debian/python3-pyopenssl.install
===================================================================
--- packages/pyopenssl/trunk/debian/python3-pyopenssl.install	                        (rev 0)
+++ packages/pyopenssl/trunk/debian/python3-pyopenssl.install	2012-05-05 15:02:40 UTC (rev 21583)
@@ -0,0 +1 @@
+usr/lib/python3

Modified: packages/pyopenssl/trunk/debian/rules
===================================================================
--- packages/pyopenssl/trunk/debian/rules	2012-05-05 13:08:44 UTC (rev 21582)
+++ packages/pyopenssl/trunk/debian/rules	2012-05-05 15:02:40 UTC (rev 21583)
@@ -3,7 +3,9 @@
 # Uncomment this to turn on verbose mode. 
 #export DH_VERBOSE=1
 
-PYVERS := $(shell pyversions -r -v)
+PY2VERS := $(shell pyversions -r -v)
+PY3VERS := $(shell py3versions -r -v)
+PYVERS := $(PY2VERS) $(PY3VERS)
 
 build: build-arch build-indep
 build-arch: build-stamp
@@ -54,12 +56,19 @@
 	dh_installdirs
 
 	set -e; \
-	for py in $(PYVERS); do \
+	for py in $(PY2VERS); do \
 	    echo "installing for python$$py ..."; \
  	    python$$py setup.py install --root=$(CURDIR)/debian/python-openssl --install-layout=deb; \
 	    echo "installing for python$$py-dbg ..."; \
 	    python$$py-dbg setup.py install --root=$(CURDIR)/debian/python-openssl-dbg --install-layout=deb; \
  	done
+	set -e; \
+	for py in $(PY3VERS); do \
+	    echo "installing for python$$py ..."; \
+ 	    python$$py setup.py install --root=$(CURDIR)/debian/python3-openssl --install-layout=deb; \
+	    echo "installing for python$$py-dbg ..."; \
+	    python$$py-dbg setup.py install --root=$(CURDIR)/debian/python3-openssl-dbg --install-layout=deb; \
+ 	done
 	find debian/python-openssl-dbg ! -type d ! -name '*_d.so' | xargs rm -f
 	find debian/python-openssl-dbg -depth -empty -exec rmdir {} \;
 
@@ -74,6 +83,7 @@
 	dh_compress -i
 	dh_fixperms -i
 	dh_pysupport -i
+	dh_python3 -i
 	dh_installdeb -i
 	dh_gencontrol -i
 	dh_md5sums -i
@@ -87,11 +97,13 @@
 	dh_installexamples -a
 	dh_installchangelogs ChangeLog -a
 	dh_strip -ppython-openssl --dbg-package=python-openssl-dbg
+	dh_strip -ppython3-openssl --dbg-package=python3-openssl-dbg
 	rm -rf debian/python-openssl-dbg/usr/share/doc/python-openssl-dbg
 	ln -s python-openssl debian/python-openssl-dbg/usr/share/doc/python-openssl-dbg
 	dh_compress -a
 	dh_fixperms -a
 	dh_pysupport -a
+	dh_python3 -a
 	dh_makeshlibs -a
 	dh_installdeb -a
 	dh_shlibdeps -a




More information about the Python-modules-commits mailing list