[Python-modules-commits] r25163 - in packages/python-repoze.lru/trunk/debian (7 files)

xnox at users.alioth.debian.org xnox at users.alioth.debian.org
Fri Jul 12 22:17:35 UTC 2013


    Date: Friday, July 12, 2013 @ 22:17:33
  Author: xnox
Revision: 25163

* Team upload
* Add python3 package (Closes: #714784)
* Bump debhelper to 9, standards to 3.8.4
* Install upstream changelog under proper name

Added:
  packages/python-repoze.lru/trunk/debian/python-repoze.lru.install
  packages/python-repoze.lru/trunk/debian/python3-repoze.lru.install
Modified:
  packages/python-repoze.lru/trunk/debian/changelog
  packages/python-repoze.lru/trunk/debian/compat
  packages/python-repoze.lru/trunk/debian/control
  packages/python-repoze.lru/trunk/debian/docs
  packages/python-repoze.lru/trunk/debian/rules

Modified: packages/python-repoze.lru/trunk/debian/changelog
===================================================================
--- packages/python-repoze.lru/trunk/debian/changelog	2013-07-12 13:52:57 UTC (rev 25162)
+++ packages/python-repoze.lru/trunk/debian/changelog	2013-07-12 22:17:33 UTC (rev 25163)
@@ -1,3 +1,12 @@
+python-repoze.lru (0.6-2) UNRELEASED; urgency=low
+
+  * Team upload
+  * Add python3 package (Closes: #714784)
+  * Bump debhelper to 9, standards to 3.8.4
+  * Install upstream changelog under proper name
+
+ -- Dmitrijs Ledkovs <xnox at debian.org>  Tue, 02 Jul 2013 20:38:00 +0100
+
 python-repoze.lru (0.6-1) unstable; urgency=low
 
   [ Jakub Wilk ]

Modified: packages/python-repoze.lru/trunk/debian/compat
===================================================================
--- packages/python-repoze.lru/trunk/debian/compat	2013-07-12 13:52:57 UTC (rev 25162)
+++ packages/python-repoze.lru/trunk/debian/compat	2013-07-12 22:17:33 UTC (rev 25163)
@@ -1 +1 @@
-7
+9

Modified: packages/python-repoze.lru/trunk/debian/control
===================================================================
--- packages/python-repoze.lru/trunk/debian/control	2013-07-12 13:52:57 UTC (rev 25162)
+++ packages/python-repoze.lru/trunk/debian/control	2013-07-12 22:17:33 UTC (rev 25163)
@@ -3,8 +3,9 @@
 Priority: extra
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: TANIGUCHI Takaki <takaki at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python-all
-Standards-Version: 3.9.3
+Build-Depends: debhelper (>= 9), python-setuptools, python-all, python3-setuptools, python3-all
+Standards-Version: 3.9.4
+X-Python3-Versions: >= 3.2
 Homepage: http://www.repoze.org/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-repoze.lru/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-repoze.lru/trunk/
@@ -17,3 +18,15 @@
  repoze.lru is a LRU (least recently used) cache implementation. Keys and
  values that are not used frequently will be evicted from the cache faster
  than keys and values that are used frequently.
+ . 
+ This is the Python 2 version of the package.
+
+Package: python3-repoze.lru
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: tiny LRU cache implementation and decorator for Python 3
+ repoze.lru is a LRU (least recently used) cache implementation. Keys and
+ values that are not used frequently will be evicted from the cache faster
+ than keys and values that are used frequently.
+ . 
+ This is the Python 3 version of the package.

Modified: packages/python-repoze.lru/trunk/debian/docs
===================================================================
--- packages/python-repoze.lru/trunk/debian/docs	2013-07-12 13:52:57 UTC (rev 25162)
+++ packages/python-repoze.lru/trunk/debian/docs	2013-07-12 22:17:33 UTC (rev 25163)
@@ -1,4 +1,2 @@
-CHANGES.txt
 COPYRIGHT.txt
 README.txt
-README.txt

Added: packages/python-repoze.lru/trunk/debian/python-repoze.lru.install
===================================================================
--- packages/python-repoze.lru/trunk/debian/python-repoze.lru.install	                        (rev 0)
+++ packages/python-repoze.lru/trunk/debian/python-repoze.lru.install	2013-07-12 22:17:33 UTC (rev 25163)
@@ -0,0 +1 @@
+/usr/lib/python2*

Added: packages/python-repoze.lru/trunk/debian/python3-repoze.lru.install
===================================================================
--- packages/python-repoze.lru/trunk/debian/python3-repoze.lru.install	                        (rev 0)
+++ packages/python-repoze.lru/trunk/debian/python3-repoze.lru.install	2013-07-12 22:17:33 UTC (rev 25163)
@@ -0,0 +1 @@
+/usr/lib/python3*

Modified: packages/python-repoze.lru/trunk/debian/rules
===================================================================
--- packages/python-repoze.lru/trunk/debian/rules	2013-07-12 13:52:57 UTC (rev 25162)
+++ packages/python-repoze.lru/trunk/debian/rules	2013-07-12 22:17:33 UTC (rev 25163)
@@ -1,4 +1,29 @@
 #!/usr/bin/make -f
 
+PYTHON2:=$(shell pyversions -r)
+PYTHON3:=$(shell py3versions -r)
+py3sdo=set -e; $(foreach py, $(PYTHON3), $(py) $(1);)
+pyalldo=set -e; $(foreach py, $(PYTHON2) $(PYTHON3), $(py) $(1);)
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
+
+override_dh_auto_build:
+	dh_auto_build
+	$(call py3sdo, setup.py build)
+
+override_dh_auto_install:
+	dh_auto_install
+	$(call py3sdo, setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb)
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf build *.egg-info
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+	$(call pyalldo, setup.py test)
+endif
+
+override_dh_installchangelogs:
+	dh_installchangelogs CHANGES.txt




More information about the Python-modules-commits mailing list