[Python-modules-commits] r8938 - in packages/python-tgext.admin/trunk/debian (7 files)

zack at users.alioth.debian.org zack at users.alioth.debian.org
Sat Jul 4 13:19:42 UTC 2009


    Date: Saturday, July 4, 2009 @ 13:19:35
  Author: zack
Revision: 8938

* debian/{rules,control}: add support for dpatch
* debian/patches/
  - new patch force-init_py to avoid deletion of (only apparently)
    unnecessary __init__.py by pysupport

Added:
  packages/python-tgext.admin/trunk/debian/patches/
  packages/python-tgext.admin/trunk/debian/patches/00dpatch.conf
    (from rev 8840, packages/tg.devtools/trunk/debian/patches/00dpatch.conf)
  packages/python-tgext.admin/trunk/debian/patches/00list
  packages/python-tgext.admin/trunk/debian/patches/force-init_py.dpatch
Modified:
  packages/python-tgext.admin/trunk/debian/changelog
  packages/python-tgext.admin/trunk/debian/control
  packages/python-tgext.admin/trunk/debian/rules

Modified: packages/python-tgext.admin/trunk/debian/changelog
===================================================================
--- packages/python-tgext.admin/trunk/debian/changelog	2009-07-04 13:15:27 UTC (rev 8937)
+++ packages/python-tgext.admin/trunk/debian/changelog	2009-07-04 13:19:35 UTC (rev 8938)
@@ -1,3 +1,12 @@
+python-tgext.admin (0.2.4-2) experimental; urgency=low
+
+  * debian/{rules,control}: add support for dpatch
+  * debian/patches/
+    - new patch force-init_py to avoid deletion of (only apparently)
+      unnecessary __init__.py by pysupport
+
+ -- Stefano Zacchiroli <zack at debian.org>  Sat, 04 Jul 2009 13:16:10 +0200
+
 python-tgext.admin (0.2.4-1) experimental; urgency=low
 
   * First release (Closes: #534686)

Modified: packages/python-tgext.admin/trunk/debian/control
===================================================================
--- packages/python-tgext.admin/trunk/debian/control	2009-07-04 13:15:27 UTC (rev 8937)
+++ packages/python-tgext.admin/trunk/debian/control	2009-07-04 13:19:35 UTC (rev 8938)
@@ -7,6 +7,7 @@
 Build-Depends:
  debhelper (>= 7),
  cdbs,
+ dpatch,
  python-dev,
  python-support,
  python-setuptools,

Copied: packages/python-tgext.admin/trunk/debian/patches/00dpatch.conf (from rev 8840, packages/tg.devtools/trunk/debian/patches/00dpatch.conf)
===================================================================
--- packages/python-tgext.admin/trunk/debian/patches/00dpatch.conf	                        (rev 0)
+++ packages/python-tgext.admin/trunk/debian/patches/00dpatch.conf	2009-07-04 13:19:35 UTC (rev 8938)
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs

Added: packages/python-tgext.admin/trunk/debian/patches/00list
===================================================================
--- packages/python-tgext.admin/trunk/debian/patches/00list	                        (rev 0)
+++ packages/python-tgext.admin/trunk/debian/patches/00list	2009-07-04 13:19:35 UTC (rev 8938)
@@ -0,0 +1 @@
+force-init_py

Added: packages/python-tgext.admin/trunk/debian/patches/force-init_py.dpatch
===================================================================
--- packages/python-tgext.admin/trunk/debian/patches/force-init_py.dpatch	                        (rev 0)
+++ packages/python-tgext.admin/trunk/debian/patches/force-init_py.dpatch	2009-07-04 13:19:35 UTC (rev 8938)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## force-init_py.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: avoid removal of apparently useless __init__.py by pysupport
+
+ at DPATCH@
+diff -urNad trunk~/tgext.admin/tgext/admin/templates/__init__.py trunk/tgext.admin/tgext/admin/templates/__init__.py
+--- trunk~/tgext.admin/tgext/admin/templates/__init__.py	2009-01-13 21:38:59.000000000 +0100
++++ trunk/tgext.admin/tgext/admin/templates/__init__.py	2009-07-04 13:19:51.125034112 +0200
+@@ -0,0 +1,2 @@
++# Non empty __init__.py, just to avoid python-support removing it as
++# apparently useless.
+diff -urNad trunk~/tgext.crud/tgext/crud/templates/__init__.py trunk/tgext.crud/tgext/crud/templates/__init__.py
+--- trunk~/tgext.crud/tgext/crud/templates/__init__.py	2009-01-13 21:47:26.000000000 +0100
++++ trunk/tgext.crud/tgext/crud/templates/__init__.py	2009-07-04 13:20:15.196521211 +0200
+@@ -0,0 +1,2 @@
++# Non empty __init__.py, just to avoid python-support removing it as
++# apparently useless.


Property changes on: packages/python-tgext.admin/trunk/debian/patches/force-init_py.dpatch
___________________________________________________________________
Added: svn:executable
   + *

Modified: packages/python-tgext.admin/trunk/debian/rules
===================================================================
--- packages/python-tgext.admin/trunk/debian/rules	2009-07-04 13:15:27 UTC (rev 8937)
+++ packages/python-tgext.admin/trunk/debian/rules	2009-07-04 13:19:35 UTC (rev 8938)
@@ -1,7 +1,8 @@
 #!/usr/bin/make -f
 DEB_PYTHON_SYSTEM = pysupport
+include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
 
 PKG = python-tgext.admin
 UPSTREAMS = \




More information about the Python-modules-commits mailing list