[Python-apps-commits] r1477 - in packages/slingshot/trunk/debian (5 files)
ryanakca-guest at users.alioth.debian.org
ryanakca-guest at users.alioth.debian.org
Thu Jun 19 20:04:15 UTC 2008
Date: Thursday, June 19, 2008 @ 20:04:13
Author: ryanakca-guest
Revision: 1477
* Dropped all patches and the quilt build depends:
+ 03_use_packages.diff no longer needed, we're installing to
/usr/share/games/slingshot now
+ 01_execute_with_python.diff no longer needed, we have a launcher
script.
* Add launcher script
* Remove ${shlibs:Depends} since it's purely a Python app.
Added:
packages/slingshot/trunk/debian/slingshot-launcher
Modified:
packages/slingshot/trunk/debian/control
packages/slingshot/trunk/debian/rules
packages/slingshot/trunk/debian/slingshot.install
Deleted:
packages/slingshot/trunk/debian/patches/
Modified: packages/slingshot/trunk/debian/control
===================================================================
--- packages/slingshot/trunk/debian/control 2008-06-19 17:45:27 UTC (rev 1476)
+++ packages/slingshot/trunk/debian/control 2008-06-19 20:04:13 UTC (rev 1477)
@@ -1,10 +1,9 @@
Source: slingshot
Section: games
-Priority: extra
+Priority: optional
Maintainer: Ryan Kavanagh <ryanakca at kubuntu.org>
Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: cdbs, debhelper (>= 5), quilt
-Build-Depends-Indep: python (>= 2.5), python-support (>= 0.5.3)
+Build-Depends: cdbs, debhelper (>= 5)
Standards-Version: 3.8.0
Homepage: http://www.slingshot-game.org
Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/slingshot/
@@ -13,8 +12,7 @@
Package: slingshot
Architecture: all
XB-Python-Version: ${python:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, \
- python-pygame (>= 1.7.1)
+Depends: ${misc:Depends}, ${python:Depends}, python-pygame (>= 1.7.1)
Description: simple 2D shooting strategy game set in space, with gravity
Slingshot is a two dimensional, turn based simulation-strategy game
set in the gravity fields of several planets. It is a highly
Modified: packages/slingshot/trunk/debian/rules
===================================================================
--- packages/slingshot/trunk/debian/rules 2008-06-19 17:45:27 UTC (rev 1476)
+++ packages/slingshot/trunk/debian/rules 2008-06-19 20:04:13 UTC (rev 1477)
@@ -1,17 +1,15 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_COMPRESS_EXCLUDE := .py
DEB_INSTALL_MANPAGES_slingshot := debian/slingshot.1
binary-post-install/slingshot::
- # Debian doesn't want scripts ending in .py
- mv $(CURDIR)/debian/slingshot/usr/games/slingshot.py \
- $(CURDIR)/debian/slingshot/usr/games/slingshot
- dh_pysupport
+ # Install the launcher
+ install --mode=755 $(CURDIR)/debian/slingshot-launcher \
+ $(CURDIR)/debian/slingshot/usr/games/slingshot
# We don't need the graphics and fonts to be executable
chmod 644 $(CURDIR)/debian/slingshot/usr/share/games/slingshot/data/*
install --mode=644 $(CURDIR)/debian/slingshot.desktop \
- $(CURDIR)/debian/slingshot/usr/share/games/applications/
+ $(CURDIR)/debian/slingshot/usr/share/games/applications/
Added: packages/slingshot/trunk/debian/slingshot-launcher
===================================================================
--- packages/slingshot/trunk/debian/slingshot-launcher (rev 0)
+++ packages/slingshot/trunk/debian/slingshot-launcher 2008-06-19 20:04:13 UTC (rev 1477)
@@ -0,0 +1,4 @@
+#! /bin/sh
+# Launch slingshot
+cd /usr/share/games/slingshot/
+exec python slingshot.py
Modified: packages/slingshot/trunk/debian/slingshot.install
===================================================================
--- packages/slingshot/trunk/debian/slingshot.install 2008-06-19 17:45:27 UTC (rev 1476)
+++ packages/slingshot/trunk/debian/slingshot.install 2008-06-19 20:04:13 UTC (rev 1477)
@@ -1,3 +1,2 @@
-slingshot/slingshot.py usr/games
-slingshot/*.py usr/share/python-support/slingshot/slingshot
+slingshot/*.py usr/share/games/slingshot
slingshot/data/* usr/share/games/slingshot/data
More information about the Python-apps-commits
mailing list