[Python-modules-commits] r20942 - in packages/flufl.i18n/trunk/debian (changelog control rules)
warsaw-guest at users.alioth.debian.org
warsaw-guest at users.alioth.debian.org
Tue Mar 27 15:07:36 UTC 2012
Date: Tuesday, March 27, 2012 @ 15:07:31
Author: warsaw-guest
Revision: 20942
* debian/rules:
- Build and install Python 3 versions via % expansion targets instead
of for loops in override targets.
- Remove test target debugging output when DEB_BUILD_OPTIONS=nocheck.
- Remove questionable workaround for bug 618367.
- Better override_dh_auto_clean rule so that the package can be built
twice in a row.
* debian/control:
- Rename flufl.i18n-docs to the more usual flufl.i18n-doc without
adding transitional packages since it has never been in a stable
release.
- Add DM-Upload-Allowed.
- Bump standards-version to 3.9.3 without further changes.
Modified:
packages/flufl.i18n/trunk/debian/changelog
packages/flufl.i18n/trunk/debian/control
packages/flufl.i18n/trunk/debian/rules
Modified: packages/flufl.i18n/trunk/debian/changelog
===================================================================
--- packages/flufl.i18n/trunk/debian/changelog 2012-03-27 14:22:14 UTC (rev 20941)
+++ packages/flufl.i18n/trunk/debian/changelog 2012-03-27 15:07:31 UTC (rev 20942)
@@ -1,3 +1,21 @@
+flufl.i18n (1.1-2) UNRELEASED; urgency=low
+
+ * debian/rules:
+ - Build and install Python 3 versions via % expansion targets instead
+ of for loops in override targets.
+ - Remove test target debugging output when DEB_BUILD_OPTIONS=nocheck.
+ - Remove questionable workaround for bug 618367.
+ - Better override_dh_auto_clean rule so that the package can be built
+ twice in a row.
+ * debian/control:
+ - Rename flufl.i18n-docs to the more usual flufl.i18n-doc without
+ adding transitional packages since it has never been in a stable
+ release.
+ - Add DM-Upload-Allowed.
+ - Bump standards-version to 3.9.3 without further changes.
+
+ -- Barry Warsaw <barry at python.org> Tue, 27 Mar 2012 10:47:01 -0400
+
flufl.i18n (1.1-1) unstable; urgency=low
* New upstream release.
Modified: packages/flufl.i18n/trunk/debian/control
===================================================================
--- packages/flufl.i18n/trunk/debian/control 2012-03-27 14:22:14 UTC (rev 20941)
+++ packages/flufl.i18n/trunk/debian/control 2012-03-27 15:07:31 UTC (rev 20942)
@@ -12,13 +12,16 @@
debhelper (>= 8),
python3-all,
python3-setuptools
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
Vcs-Svn: svn://svn.debian.org/python-modules/packages/flufl.i18n/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/flufl.i18n/trunk/
+DM-Upload-Allowed: yes
-Package: python-flufl.i18n-docs
+Package: python-flufl.i18n-doc
Architecture: all
Section: doc
+Breaks: python-flufl.i18n-docs
+Replaces: python-flufl.i18n-docs
Depends: ${sphinxdoc:Depends}, ${misc:Depends}
Suggests: python-pkg-resources
Description: high level API for Python internationalization (common documentation)
@@ -35,7 +38,7 @@
Package: python-flufl.i18n
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
-Suggests: python-pkg-resources, python-flufl.i18n-docs
+Suggests: python-pkg-resources, python-flufl.i18n-doc
Description: high level API for Python internationalization (Python 2)
This package provides a high level, convenient API for managing
internationalization translation contexts in Python application. There is a
@@ -48,7 +51,7 @@
Package: python3-flufl.i18n
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}
-Suggests: python3-pkg-resources, python-flufl.i18n-docs
+Suggests: python3-pkg-resources, python-flufl.i18n-doc
Description: high level API for Python internationalization (Python 3)
This package provides a high level, convenient API for managing
internationalization translation contexts in Python application. There is a
Modified: packages/flufl.i18n/trunk/debian/rules
===================================================================
--- packages/flufl.i18n/trunk/debian/rules 2012-03-27 14:22:14 UTC (rev 20941)
+++ packages/flufl.i18n/trunk/debian/rules 2012-03-27 15:07:31 UTC (rev 20942)
@@ -11,23 +11,19 @@
python$* setup.py test -vv
override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
-else
- @echo "nocheck set, skipping tests"
endif
-override_dh_auto_build:
+build-python%:
+ python$* setup.py build
+
+override_dh_auto_build: $(PYTHON3:%=build-python%)
dh_auto_build
- set -ex; for py in $(PYTHON3) ; do \
- python$$py setup.py build; \
- done;
-override_dh_auto_install:
+install-python%:
+ python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
+
+override_dh_auto_install: $(PYTHON3:%=install-python%)
dh_auto_install
- set -ex; for py in $(PYTHON3) ; do \
- python$$py setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
- done;
- # Debian bug #618367
- rm -rf debian/*/usr/lib/python*/*-packages/flufl.i18n.egg-info
override_dh_installchangelogs:
dh_installchangelogs -k flufl/i18n/NEWS.rst
@@ -38,5 +34,5 @@
override_dh_auto_clean:
dh_auto_clean
- rm -rf build/sphinx
+ rm -rf build
rm -rf *.egg-info
More information about the Python-modules-commits
mailing list