[Python-modules-commits] r17946 - in packages/polib/trunk/debian (5 files)
angelabad-guest at users.alioth.debian.org
angelabad-guest at users.alioth.debian.org
Sun Jul 31 11:35:40 UTC 2011
Date: Sunday, July 31, 2011 @ 11:35:38
Author: angelabad-guest
Revision: 17946
* Add python3-polib binary package
* Run runtests.sh in package build
* Bump debhelper depends to (>= 7.0.50~) for override uses
Added:
packages/polib/trunk/debian/python-polib.install
packages/polib/trunk/debian/python3-polib.install
Modified:
packages/polib/trunk/debian/changelog
packages/polib/trunk/debian/control
packages/polib/trunk/debian/rules
Modified: packages/polib/trunk/debian/changelog
===================================================================
--- packages/polib/trunk/debian/changelog 2011-07-30 22:09:17 UTC (rev 17945)
+++ packages/polib/trunk/debian/changelog 2011-07-31 11:35:38 UTC (rev 17946)
@@ -1,3 +1,11 @@
+polib (0.7.0-2) unstable; urgency=low
+
+ * Add python3-polib binary package
+ * Run runtests.sh in package build
+ * Bump debhelper depends to (>= 7.0.50~) for override uses
+
+ -- Angel Abad <angelabad at gmail.com> Sun, 31 Jul 2011 13:33:53 +0200
+
polib (0.7.0-1) unstable; urgency=low
* New upstream release
Modified: packages/polib/trunk/debian/control
===================================================================
--- packages/polib/trunk/debian/control 2011-07-30 22:09:17 UTC (rev 17945)
+++ packages/polib/trunk/debian/control 2011-07-31 11:35:38 UTC (rev 17946)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Angel Abad <angelabad at gmail.com>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-3)
+Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3), python3-all
Standards-Version: 3.9.2
Homepage: http://bitbucket.org/izi/polib/src/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/polib/trunk/
@@ -20,3 +20,14 @@
through it's entries, add, modify entries, comments or metadata,
etc... or create new po files from scratch.
+Package: python3-polib
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python 3 library to parse and manage gettext catalogs
+ polib allows you to manipulate, create, modify gettext files
+ (pot, po and mo files). You can load existing files, iterate
+ through it's entries, add, modify entries, comments or metadata,
+ etc... or create new po files from scratch.
+ .
+ This package provides Python 3 library.
+
Added: packages/polib/trunk/debian/python-polib.install
===================================================================
--- packages/polib/trunk/debian/python-polib.install (rev 0)
+++ packages/polib/trunk/debian/python-polib.install 2011-07-31 11:35:38 UTC (rev 17946)
@@ -0,0 +1 @@
+usr/lib/python2*
Added: packages/polib/trunk/debian/python3-polib.install
===================================================================
--- packages/polib/trunk/debian/python3-polib.install (rev 0)
+++ packages/polib/trunk/debian/python3-polib.install 2011-07-31 11:35:38 UTC (rev 17946)
@@ -0,0 +1 @@
+usr/lib/python3*
Modified: packages/polib/trunk/debian/rules
===================================================================
--- packages/polib/trunk/debian/rules 2011-07-30 22:09:17 UTC (rev 17945)
+++ packages/polib/trunk/debian/rules 2011-07-31 11:35:38 UTC (rev 17946)
@@ -1,5 +1,26 @@
#!/usr/bin/make -f
%:
- dh $@ --with python2
+ dh $@ --with python2,python3
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build
+
+override_dh_auto_test:
+ dh_auto_test
+ ./runtests.sh
+
+override_dh_auto_build:
+ dh_auto_build
+ set -ex; for python in $(shell py3versions -r); do \
+ $$python setup.py build; \
+ done
+
+override_dh_auto_install:
+ dh_auto_install
+ set -ex; for python in $(shell py3versions -r); do \
+ $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
+ done
+
+
More information about the Python-modules-commits
mailing list