[Python-modules-commits] r29271 - in packages/python-memcache/trunk/debian (4 files)
zigo at users.alioth.debian.org
zigo at users.alioth.debian.org
Mon Jun 9 16:18:56 UTC 2014
Date: Monday, June 9, 2014 @ 16:18:55
Author: zigo
Revision: 29271
Added Python3 support.
Added:
packages/python-memcache/trunk/debian/source/options
Modified:
packages/python-memcache/trunk/debian/changelog
packages/python-memcache/trunk/debian/control
packages/python-memcache/trunk/debian/rules
Modified: packages/python-memcache/trunk/debian/changelog
===================================================================
--- packages/python-memcache/trunk/debian/changelog 2014-06-09 16:18:51 UTC (rev 29270)
+++ packages/python-memcache/trunk/debian/changelog 2014-06-09 16:18:55 UTC (rev 29271)
@@ -2,6 +2,7 @@
* Removed now useless X-Python-Version: >= 2.6.
* Upgraded to debhelper and compat 9.
+ * Added Python3 support.
-- Thomas Goirand <zigo at debian.org> Mon, 09 Jun 2014 09:25:03 +0000
Modified: packages/python-memcache/trunk/debian/control
===================================================================
--- packages/python-memcache/trunk/debian/control 2014-06-09 16:18:51 UTC (rev 29270)
+++ packages/python-memcache/trunk/debian/control 2014-06-09 16:18:55 UTC (rev 29271)
@@ -3,18 +3,34 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Carl Chenet <chaica at ohmytux.com>
-Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3)
-Build-Depends-Indep: python-setuptools
-Standards-Version: 3.9.4.0
+Build-Depends: debhelper (>= 9),
+ python-all (>= 2.6.6-3),
+ python-setuptools,
+ python3-all,
+ python3-setuptools
+Standards-Version: 3.9.5
Homepage: http://www.tummy.com/Community/software/python-memcached/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-memcache/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-memcache/trunk/
Package: python-memcache
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
+Depends: python-six, ${misc:Depends}, ${python:Depends}
Suggests: memcached
-Description: pure python memcached client
+Description: pure python memcached client
This software is a 100% Python interface to the memcached memory cache
daemon. It is the client side software which allows storing values in
- one or more, possibly remote, memcached servers.
+ one or more, possibly remote, memcached servers.
+ .
+ This package contains the Python 2.x module.
+
+Package: python3-memcache
+Architecture: all
+Depends: python3-six, ${misc:Depends}, ${python3:Depends}
+Suggests: memcached
+Description: pure python memcached client - Python 3.x
+ This software is a 100% Python interface to the memcached memory cache daemon.
+ It is the client side software which allows storing values in one or more,
+ possibly remote, memcached servers.
+ .
+ This package contains the Python 3.x module.
Modified: packages/python-memcache/trunk/debian/rules
===================================================================
--- packages/python-memcache/trunk/debian/rules 2014-06-09 16:18:51 UTC (rev 29270)
+++ packages/python-memcache/trunk/debian/rules 2014-06-09 16:18:55 UTC (rev 29271)
@@ -1,7 +1,23 @@
#!/usr/bin/make -f
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
+
+UPSTREAM_GIT = git://github.com/linsomniac/python-memcached.git
+
%:
- dh $@ --with python2
+ dh $@ --buildsystem=python_distutils --with python2,python3
-override_dh_auto_build:
+override_dh_install:
+ set -e && for pyvers in $(PYTHONS); do \
+ python$$pyvers setup.py install --install-layout=deb \
+ --root $(CURDIR)/debian/python-memcache; \
+ done
+ set -e && for pyvers in $(PYTHON3S); do \
+ python$$pyvers setup.py install --install-layout=deb \
+ --root $(CURDIR)/debian/python3-memcache; \
+ done
+
+override_dh_clean:
+ dh_clean -O--buildsystem=python_distutils
rm -f Makefile
Added: packages/python-memcache/trunk/debian/source/options
===================================================================
--- packages/python-memcache/trunk/debian/source/options (rev 0)
+++ packages/python-memcache/trunk/debian/source/options 2014-06-09 16:18:55 UTC (rev 29271)
@@ -0,0 +1,2 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
+extend-diff-ignore = "^Makefile"
More information about the Python-modules-commits
mailing list