[Python-modules-commits] r33083 - in packages/pylibmc/trunk/debian (control rules)
fladi at users.alioth.debian.org
fladi at users.alioth.debian.org
Wed Jun 24 19:36:23 UTC 2015
Date: Wednesday, June 24, 2015 @ 19:36:22
Author: fladi
Revision: 33083
Add Python3 support through a separate package.
Modified:
packages/pylibmc/trunk/debian/control
packages/pylibmc/trunk/debian/rules
Modified: packages/pylibmc/trunk/debian/control
===================================================================
--- packages/pylibmc/trunk/debian/control 2015-06-24 17:45:15 UTC (rev 33082)
+++ packages/pylibmc/trunk/debian/control 2015-06-24 19:36:22 UTC (rev 33083)
@@ -7,6 +7,8 @@
dh-python,
python-all-dev,
python-all-dbg,
+ python3-all-dev,
+ python3-all-dbg,
libmemcached-dev,
zlib1g-dev
Standards-Version: 3.9.6
@@ -14,6 +16,7 @@
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pylibmc/trunk/
Homepage: http://pypi.python.org/pypi/pylibmc/
X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
Package: python-pylibmc
Architecture: any
@@ -42,3 +45,33 @@
environment.
.
This package provides the debug mode.
+
+Package: python3-pylibmc
+Architecture: any
+Depends: ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Suggests: memcached
+Description: libmemcached wrapper (Python3 version)
+ Pylibmc is a Python wrapper around the accompanying C Python
+ extension _pylibmc, which is a wrapper around libmemcached
+ from TangentOrg. It also manages pooling in a multi-threading
+ environment.
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python3-pylibmc-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ python3-dbg,
+ python3-pylibmc (= ${binary:Version})
+Description: libmemcached wrapper (Python3 debug mode)
+ Pylibmc is a Python wrapper around the accompanying C Python
+ extension _pylibmc, which is a wrapper around libmemcached
+ from TangentOrg. It also manages pooling in a multi-threading
+ environment.
+ .
+ This package contains the Python 3 version of the debug mode.
Modified: packages/pylibmc/trunk/debian/rules
===================================================================
--- packages/pylibmc/trunk/debian/rules 2015-06-24 17:45:15 UTC (rev 33082)
+++ packages/pylibmc/trunk/debian/rules 2015-06-24 19:36:22 UTC (rev 33083)
@@ -3,7 +3,15 @@
export PYBUILD_NAME=pylibmc
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_strip:
- dh_strip --dbg-package=python-pylibmc-dbg
+ dh_strip --dbg-package=python-pylibmc-dbg --dbg-package=python3-pylibmc-dbg
+
+override_dh_python2:
+ dh_python2
+ rmdir debian/python-pylibmc-dbg/usr/lib/python*/*-packages/pylibmc
+
+override_dh_python3:
+ dh_python3
+ rmdir debian/python3-pylibmc-dbg/usr/lib/python*/*-packages/pylibmc
More information about the Python-modules-commits
mailing list