[Python-apps-commits] r286 - in /packages/freevial/trunk/debian: control freevial.install install menu pycompat pyversions rules

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Nov 25 18:07:15 UTC 2007


Author: piotr
Date: Sun Nov 25 18:07:15 2007
New Revision: 286

URL: http://svn.debian.org/wsvn/python-apps/?sc=1&rev=286
Log:
* change shebang if default Python version is < 2.5
* convert to python-central (python-support generates wrong dependencies)
  ( "python2.5, python (>=2.5)" vs. "python (>=2.5) | python2.5" )
  - remove pyversions and pycompat
* rename freevial.install to install
* change section to Games/Puzzles in debian/menu
* Vcs-Svn and Vcs-Browser fields point to PAPT repository now

Added:
    packages/freevial/trunk/debian/install
      - copied unchanged from r283, packages/freevial/trunk/debian/freevial.install
Removed:
    packages/freevial/trunk/debian/freevial.install
    packages/freevial/trunk/debian/pycompat
    packages/freevial/trunk/debian/pyversions
Modified:
    packages/freevial/trunk/debian/control
    packages/freevial/trunk/debian/menu
    packages/freevial/trunk/debian/rules

Modified: packages/freevial/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-apps/packages/freevial/trunk/debian/control?rev=286&op=diff
==============================================================================
--- packages/freevial/trunk/debian/control (original)
+++ packages/freevial/trunk/debian/control Sun Nov 25 18:07:15 2007
@@ -4,11 +4,12 @@
 Maintainer: Siegfried-Angel Gevatter Pujals (RainCT) <sgevatter at ubuntu.cat>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Homepage: https://launchpad.net/freevial
-Vcs-Bzr: http://bazaar.launchpad.net/~freevial/freevial/trunk
-Vcs-Browse: http://codebrowse.launchpad.net/~freevial/freevial/trunk/files
+Vcs-Svn: svn://svn.debian.org/python-apps/packages/freevial/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-apps/packages/freevial/?op=log
 Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1)
-Build-Depends-Indep: python-support (>= 0.5.3)
+Build-Depends-Indep: python-central (>= 0.5.6)
 Standards-Version: 3.7.2
+XS-Python-Version: >= 2.5
 
 Package: freevial
 Architecture: all

Modified: packages/freevial/trunk/debian/menu
URL: http://svn.debian.org/wsvn/python-apps/packages/freevial/trunk/debian/menu?rev=286&op=diff
==============================================================================
--- packages/freevial/trunk/debian/menu (original)
+++ packages/freevial/trunk/debian/menu Sun Nov 25 18:07:15 2007
@@ -1,2 +1,2 @@
-?package(freevial): needs="X11" section="Games" title="Freevial" \
+?package(freevial): needs="X11" section="Games/Puzzles" title="Freevial" \
  command="/usr/games/freevial" icon="/usr/share/pixmaps/freevial.xpm"

Modified: packages/freevial/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-apps/packages/freevial/trunk/debian/rules?rev=286&op=diff
==============================================================================
--- packages/freevial/trunk/debian/rules (original)
+++ packages/freevial/trunk/debian/rules Sun Nov 25 18:07:15 2007
@@ -9,7 +9,11 @@
 	cp $(CURDIR)/data/images/logo.png $(CURDIR)/debian/freevial.png
 
 binary-install/freevial::
-	dh_pysupport -pfreevial
+ifeq (true,$(shell dpkg --compare-versions 2.5 '>' `pyversions -vd` && echo true))
+	sed -i -e '1s,#!.*python.*,#! /usr/bin/python2.5,' \
+	 	$(CURDIR)/debian/freevial/usr/games/freevial
+endif
+	dh_pycentral -pfreevial
 
 cleanbuilddir/freevial::
 	rm -f debian/freevial.png




More information about the Python-apps-commits mailing list