[Python-apps-commits] r6167 - in packages/pype/trunk/debian (control dirs install rules)

anoteng-guest at users.alioth.debian.org anoteng-guest at users.alioth.debian.org
Tue Oct 5 18:17:39 UTC 2010


    Date: Tuesday, October 5, 2010 @ 18:17:29
  Author: anoteng-guest
Revision: 6167

Install the wrapper script and upstream changelog in a more elegant way.

Modified:
  packages/pype/trunk/debian/control
  packages/pype/trunk/debian/dirs
  packages/pype/trunk/debian/install
  packages/pype/trunk/debian/rules

Modified: packages/pype/trunk/debian/control
===================================================================
--- packages/pype/trunk/debian/control	2010-10-04 22:03:00 UTC (rev 6166)
+++ packages/pype/trunk/debian/control	2010-10-05 18:17:29 UTC (rev 6167)
@@ -10,7 +10,7 @@
 Package: pype
 Architecture: all
 Depends: ${misc:Depends}, python-wxgtk2.6
-Description: python programmers editor
+Description: PYTHON programmers editor
  PyPE (Python Programmers Editor) is a lightweight but powerful
  editor.  Tools for the new and seasoned user alike are included
  out of the box, including syntax coloring, multiple open documents

Modified: packages/pype/trunk/debian/dirs
===================================================================
--- packages/pype/trunk/debian/dirs	2010-10-04 22:03:00 UTC (rev 6166)
+++ packages/pype/trunk/debian/dirs	2010-10-05 18:17:29 UTC (rev 6167)
@@ -1,3 +1,4 @@
+/usr/bin
 /usr/share/pype
 /usr/share/pype/plugins
 /usr/share/pype/macros

Modified: packages/pype/trunk/debian/install
===================================================================
--- packages/pype/trunk/debian/install	2010-10-04 22:03:00 UTC (rev 6166)
+++ packages/pype/trunk/debian/install	2010-10-05 18:17:29 UTC (rev 6167)
@@ -5,7 +5,6 @@
 macros/* usr/share/pype/macros
 macros/samples/* usr/share/pype/macros/samples
 icons/* usr/share/pype/icons
-pype usr/bin
 readme.html usr/share/pype
 debian/pype.desktop usr/share/applications
 debian/pype.xpm usr/share/pixmaps

Modified: packages/pype/trunk/debian/rules
===================================================================
--- packages/pype/trunk/debian/rules	2010-10-04 22:03:00 UTC (rev 6166)
+++ packages/pype/trunk/debian/rules	2010-10-05 18:17:29 UTC (rev 6167)
@@ -1,12 +1,15 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 clean:
+# Deleting the upstream setup.py, because it is windows only, 
+# and breaks the build
 	rm -f setup.py
-	rm -f pype
 
-build:
-	mv debian/pype.sh pype
-	cp changelog.txt debian/pype.changelog
+override_dh_auto_install:
+	install -m 755 debian/pype.sh debian/pype/usr/bin/pype
 
+override_dh_installchangelogs:
+	dh_installchangelogs changelog.txt
+
 %:
 	dh $@




More information about the Python-apps-commits mailing list