[Python-modules-commits] r14408 - in packages/jinja2/trunk/debian (5 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Sep 12 16:13:17 UTC 2010


    Date: Sunday, September 12, 2010 @ 16:12:49
  Author: piotr
Revision: 14408

* Rebuild against newer python3-all-dev package (python3.1 now uses
  /usr/lib/python3/), minimum python3-all version bumped to 3.1.2-8
* Use python3's python.mk
* Drop python3-jinja2.{postinst,prerm} maintainer scripts, dh_python3 will
  generate them

Modified:
  packages/jinja2/trunk/debian/changelog
  packages/jinja2/trunk/debian/control
  packages/jinja2/trunk/debian/rules
Deleted:
  packages/jinja2/trunk/debian/python3-jinja2.postinst
  packages/jinja2/trunk/debian/python3-jinja2.prerm

Modified: packages/jinja2/trunk/debian/changelog
===================================================================
--- packages/jinja2/trunk/debian/changelog	2010-09-12 15:58:17 UTC (rev 14407)
+++ packages/jinja2/trunk/debian/changelog	2010-09-12 16:12:49 UTC (rev 14408)
@@ -1,3 +1,13 @@
+jinja2 (2.5.2-3) experimental; urgency=low
+
+  * Rebuild against newer python3-all-dev package (python3.1 now uses
+    /usr/lib/python3/), minimum python3-all version bumped to 3.1.2-8
+  * Use python3's python.mk
+  * Drop python3-jinja2.{postinst,prerm} maintainer scripts, dh_python3 will
+    generate them
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 12 Sep 2010 17:58:34 +0200
+
 jinja2 (2.5.2-2) unstable; urgency=low
 
   * Really remove _markupsafe

Modified: packages/jinja2/trunk/debian/control
===================================================================
--- packages/jinja2/trunk/debian/control	2010-09-12 15:58:17 UTC (rev 14407)
+++ packages/jinja2/trunk/debian/control	2010-09-12 16:12:49 UTC (rev 14408)
@@ -5,7 +5,7 @@
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 5), quilt, python-support (>= 0.6.4),
  python-all-dev (>= 2.3.5-11), python-all-dbg,
- python3-all-dev, python3-all-dbg,
+ python3-all-dev (>= 3.1.2-8), python3-all-dbg,
  python-setuptools (>= 0.6b3-1~), python3-setuptools
 Build-Depends-Indep: python-sphinx (>= 0.6), python-pygments
 Standards-Version: 3.9.1

Deleted: packages/jinja2/trunk/debian/python3-jinja2.postinst
===================================================================
--- packages/jinja2/trunk/debian/python3-jinja2.postinst	2010-09-12 15:58:17 UTC (rev 14407)
+++ packages/jinja2/trunk/debian/python3-jinja2.postinst	2010-09-12 16:12:49 UTC (rev 14408)
@@ -1,8 +0,0 @@
-#! /bin/sh -e
-
-#if which pycompile >/dev/null 2>&1; then
-#	pycompile -p python3-jinja2
-#fi
-dpkg -L python3-jinja2 | grep 3.1/dist-packages/jinja2.*\.py$ | python3.1 -m compileall -qi -
-
-#DEBHELPER#

Deleted: packages/jinja2/trunk/debian/python3-jinja2.prerm
===================================================================
--- packages/jinja2/trunk/debian/python3-jinja2.prerm	2010-09-12 15:58:17 UTC (rev 14407)
+++ packages/jinja2/trunk/debian/python3-jinja2.prerm	2010-09-12 16:12:49 UTC (rev 14408)
@@ -1,8 +0,0 @@
-#! /bin/sh -e
-
-#if which pyclean >/dev/null 2>&1; then
-#	pyclean -p python3-jinja2
-#fi
-find /usr/lib/python3.1/dist-packages/jinja2/ -name '*\.pyc' -delete >/dev/null
-
-#DEBHELPER#

Modified: packages/jinja2/trunk/debian/rules
===================================================================
--- packages/jinja2/trunk/debian/rules	2010-09-12 15:58:17 UTC (rev 14407)
+++ packages/jinja2/trunk/debian/rules	2010-09-12 16:12:49 UTC (rev 14408)
@@ -3,10 +3,7 @@
 #export DH_VERBOSE=1
 
 include /usr/share/quilt/quilt.make
--include /usr/share/python/python.mk
-ifeq (,$(py_libdir))
-   py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages
-endif
+include /usr/share/python3/python.mk
 
 PYVERS=$(shell pyversions -vr) 3.1
 VERSION=$(shell sed -rn 's,^Version: (.*),\1,p' $(CURDIR)/PKG-INFO)
@@ -67,6 +64,7 @@
 	dh_installdocs -a
 	find $(CURDIR)/debian/ -name '*.py[co]' -delete
 	dh_pysupport -a
+	dh_python3 -a 
 	dh_makeshlibs -a
 	dh_strip -ppython-jinja2 --dbg-package=python-jinja2-dbg
 	dh_strip -ppython3-jinja2 --dbg-package=python3-jinja2-dbg




More information about the Python-modules-commits mailing list