[Python-apps-commits] r2451 - in packages/phatch/trunk/debian (3 files)

pochu-guest at users.alioth.debian.org pochu-guest at users.alioth.debian.org
Sat Feb 21 00:43:19 UTC 2009


    Date: Saturday, February 21, 2009 @ 00:43:18
  Author: pochu-guest
Revision: 2451

* debian/rules:
  - Install phatch in /usr/share/phatch instead of as a public module.
  - Stop removing a file from a pysupport folder. With the above change
    is not necessary anymore. Closes: #516322.
* debian/phatch-launcher:
  - New script to launch phatch, necessary now that phatch is not a
    public module anymore.

Added:
  packages/phatch/trunk/debian/phatch-launcher
Modified:
  packages/phatch/trunk/debian/changelog
  packages/phatch/trunk/debian/rules

Modified: packages/phatch/trunk/debian/changelog
===================================================================
--- packages/phatch/trunk/debian/changelog	2009-02-20 21:16:01 UTC (rev 2450)
+++ packages/phatch/trunk/debian/changelog	2009-02-21 00:43:18 UTC (rev 2451)
@@ -2,6 +2,13 @@
 
   * debian/patches/phatch_use_correct_lang.patch:
     - Use LANG instead of LC_CTYPE for the language. Closes: 507774.
+  * debian/rules:
+    - Install phatch in /usr/share/phatch instead of as a public module.
+    - Stop removing a file from a pysupport folder. With the above change
+      is not necessary anymore. Closes: #516322.
+  * debian/phatch-launcher:
+    - New script to launch phatch, necessary now that phatch is not a
+      public module anymore.
 
  -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Fri, 05 Dec 2008 11:17:43 +0100
 

Added: packages/phatch/trunk/debian/phatch-launcher
===================================================================
--- packages/phatch/trunk/debian/phatch-launcher	                        (rev 0)
+++ packages/phatch/trunk/debian/phatch-launcher	2009-02-21 00:43:18 UTC (rev 2451)
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Launch phatch
+exec python /usr/share/phatch/phatch/phatch.py $@

Modified: packages/phatch/trunk/debian/rules
===================================================================
--- packages/phatch/trunk/debian/rules	2009-02-20 21:16:01 UTC (rev 2450)
+++ packages/phatch/trunk/debian/rules	2009-02-21 00:43:18 UTC (rev 2451)
@@ -6,7 +6,11 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
+DEB_PYTHON_INSTALL_ARGS_ALL = --install-lib=usr/share/phatch
+
+install/phatch::
+	install -m755 $(CURDIR)/debian/phatch-launcher $(CURDIR)/debian/phatch/usr/bin/phatch
+
 binary-install/phatch::
-	rm -f debian/phatch/usr/share/python-support/phatch/phatch/phatch.py
 	dh_desktop
 	dh_icons




More information about the Python-apps-commits mailing list