[Python-modules-commits] r28241 - in packages/plainbox/trunk/debian (6 files)
zyga-guest at users.alioth.debian.org
zyga-guest at users.alioth.debian.org
Tue Mar 18 20:07:41 UTC 2014
Date: Tuesday, March 18, 2014 @ 20:07:40
Author: zyga-guest
Revision: 28241
* debian/control: build-depend on python3-distutils-extra for translations
* debian/rules: build, install and clean up after translations
* debian/clean: clean *.egg-info and *.pot files since those get
regenerated
* debian/source/options: ignore changes to .po files since intltools-update
keeps bumping the timestamp embedded in them
Added:
packages/plainbox/trunk/debian/python3-plainbox.install
packages/plainbox/trunk/debian/source/options
Modified:
packages/plainbox/trunk/debian/changelog
packages/plainbox/trunk/debian/clean
packages/plainbox/trunk/debian/control
packages/plainbox/trunk/debian/rules
Modified: packages/plainbox/trunk/debian/changelog
===================================================================
--- packages/plainbox/trunk/debian/changelog 2014-03-18 18:54:54 UTC (rev 28240)
+++ packages/plainbox/trunk/debian/changelog 2014-03-18 20:07:40 UTC (rev 28241)
@@ -1,9 +1,15 @@
-plainbox (0.5~b1-1) UNRELEASED; urgency=medium
+plainbox (0.5~b2-1) UNRELEASED; urgency=medium
* New upstream release.
+ * debian/control: build-depend on python3-distutils-extra for translations
* debian/control: add support for python3.4
* debian/control: drop build dependency on help2man, the new release has
native manual pages
+ * debian/rules: build, install and clean up after translations
+ * debian/clean: clean *.egg-info and *.pot files since those get
+ regenerated
+ * debian/source/options: ignore changes to .po files since intltools-update
+ keeps bumping the timestamp embedded in them
* debian/copyright: add license section for plainbox/impl/_argparse.py
* debian/copyright: add new copyright entries for textland
* debian/patches: refresh and reorder without any semantic changes
@@ -11,8 +17,6 @@
* debian/watch: add mangling for alpha releases
* debian/python3-plainbox.manpages, debian/plainbox.manpages: use manual
pages build with sphinx
- * debian/rules: remove bundled copy of textland's COPYING file (as it is
- already in debian/copyright)
-- Zygmunt Krynicki <zygmunt.krynicki at canonical.com> Thu, 13 Mar 2014 09:45:06 +0100
Modified: packages/plainbox/trunk/debian/clean
===================================================================
--- packages/plainbox/trunk/debian/clean 2014-03-18 18:54:54 UTC (rev 28240)
+++ packages/plainbox/trunk/debian/clean 2014-03-18 20:07:40 UTC (rev 28241)
@@ -0,0 +1,3 @@
+*.egg-info
+plainbox/impl/providers/stubbox/po/stubbox.pot
+po/plainbox.pot
Modified: packages/plainbox/trunk/debian/control
===================================================================
--- packages/plainbox/trunk/debian/control 2014-03-18 18:54:54 UTC (rev 28240)
+++ packages/plainbox/trunk/debian/control 2014-03-18 20:07:40 UTC (rev 28241)
@@ -6,13 +6,14 @@
Build-Depends:
debhelper (>= 9),
dh-python,
+ python3-all,
+ python3-distutils-extra,
python3-docutils,
- python3-sphinx,
- python3-all,
python3-lxml,
python3-pkg-resources,
python3-requests ( >= 1.1),
- python3-setuptools
+ python3-setuptools,
+ python3-sphinx,
Standards-Version: 3.9.5
X-Python3-Version: >= 3.2, << 3.5
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/plainbox/trunk/
Added: packages/plainbox/trunk/debian/python3-plainbox.install
===================================================================
--- packages/plainbox/trunk/debian/python3-plainbox.install (rev 0)
+++ packages/plainbox/trunk/debian/python3-plainbox.install 2014-03-18 20:07:40 UTC (rev 28241)
@@ -0,0 +1,2 @@
+build/mo/* usr/share/locale
+plainbox/impl/providers/stubbox/build/mo/* usr/share/locale
Modified: packages/plainbox/trunk/debian/rules
===================================================================
--- packages/plainbox/trunk/debian/rules 2014-03-18 18:54:54 UTC (rev 28240)
+++ packages/plainbox/trunk/debian/rules 2014-03-18 20:07:40 UTC (rev 28241)
@@ -5,11 +5,15 @@
%:
dh $@ --with=python3,sphinxdoc --buildsystem=pybuild
-# Build sphinx html documentation and man pages
override_dh_auto_build:
dh_auto_build --buildsystem=pybuild
+ # Build sphinx html documentation and man pages
python3 setup.py build_sphinx -b html
python3 setup.py build_sphinx -b man
+ # Build plainbox translations
+ python3 setup.py build_i18n
+ # Build stubbox translations
+ PYTHONPATH=. ./plainbox/impl/providers/stubbox/manage.py i18n --dont-update-pot --dont-merge-po
# Override dh_install to ensure that /usr/bin/plainbox is in the
# plainbox package and not in the python3-plainbox package.
@@ -17,5 +21,8 @@
dh_install
mkdir -p debian/plainbox/usr/bin
mv debian/python3-plainbox/usr/bin/plainbox debian/plainbox/usr/bin/
- # Remove the bundled license for textland, it is already accounted for in debian/copyright
- rm -f $(foreach version,$(shell py3versions -s),debian/python3-plainbox/usr/lib/$(version)/dist-packages/plainbox/vendor/textland-project/COPYING)
+
+# Override dh_clean to remove stubbox's translation directory
+override_dh_clean:
+ dh_clean
+ rm -rf plainbox/impl/providers/stubbox/build
Added: packages/plainbox/trunk/debian/source/options
===================================================================
--- packages/plainbox/trunk/debian/source/options (rev 0)
+++ packages/plainbox/trunk/debian/source/options 2014-03-18 20:07:40 UTC (rev 28241)
@@ -0,0 +1 @@
+extend-diff-ignore = ".*\.po$"
More information about the Python-modules-commits
mailing list