r7938 - packages/trunk/renpy/debian

Miriam Ruiz miriam at alioth.debian.org
Fri Aug 15 22:59:12 UTC 2008


Author: miriam
Date: 2008-08-15 22:59:12 +0000 (Fri, 15 Aug 2008)
New Revision: 7938

Modified:
   packages/trunk/renpy/debian/changelog
   packages/trunk/renpy/debian/control
   packages/trunk/renpy/debian/rules
Log:
New Upstream Release
Compile the module for all python versions
Upgraded Standards-Version to 3.8.0



Modified: packages/trunk/renpy/debian/changelog
===================================================================
--- packages/trunk/renpy/debian/changelog	2008-08-15 18:29:50 UTC (rev 7937)
+++ packages/trunk/renpy/debian/changelog	2008-08-15 22:59:12 UTC (rev 7938)
@@ -1,3 +1,13 @@
+renpy (6.6.3.dfsg1-1) UNRELEASED; urgency=low
+
+  [ Miriam Ruiz ]
+  * New Upstream Release
+  * Compile the module for all python versions
+  * Upgraded Standards-Version to 3.8.0
+  * Build-depend on debhelper >= 7
+
+ -- Miriam Ruiz <little_miry at yahoo.es>  Sat, 16 Aug 2008 00:29:23 +0200
+
 renpy (6.6.2.dfsg1-1) unstable; urgency=low
 
   [ Miriam Ruiz ]

Modified: packages/trunk/renpy/debian/control
===================================================================
--- packages/trunk/renpy/debian/control	2008-08-15 18:29:50 UTC (rev 7937)
+++ packages/trunk/renpy/debian/control	2008-08-15 22:59:12 UTC (rev 7938)
@@ -3,11 +3,11 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>
-Build-Depends: debhelper (>= 5.0.37.2), dpkg-dev (>= 1.13.19), quilt,
- python-dev, python-support (>= 0.4), python-pygame,
+Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.13.19), quilt,
+ python-all-dev, python-support (>= 0.6.4), python-setuptools, python-pygame,
  libsdl1.2-dev, libsdl-image1.2-dev, libsdl-sound1.2-dev, libsdl-ttf2.0-dev,
  libmodplug-dev, libspeex-dev
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 Homepage: http://www.renpy.org/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/renpy/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/renpy/?op=log

Modified: packages/trunk/renpy/debian/rules
===================================================================
--- packages/trunk/renpy/debian/rules	2008-08-15 18:29:50 UTC (rev 7937)
+++ packages/trunk/renpy/debian/rules	2008-08-15 22:59:12 UTC (rev 7938)
@@ -3,32 +3,33 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-CFLAGS = -Wall -g
+PYVERS=$(shell pyversions -vs)
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+patch:
+	$(MAKE) -f /usr/share/quilt/quilt.make patch
 
 configure: configure-stamp
-configure-stamp:
+configure-stamp: patch
 	dh_testdir
-	$(MAKE) -f /usr/share/quilt/quilt.make patch
 	chmod 644 `find */ -name "*.py"`
 	touch configure-stamp
 
 build: build-stamp
-build-stamp: configure-stamp 
+build-stamp: configure-stamp $(PYVERS:%=build-python%)
 	dh_testdir
-	cd module; python setup.py build
 	#docbook-to-man debian/renpy.sgml > renpy.1
 	touch build-stamp
 
+build-python%: configure-stamp
+	dh_testdir
+	cd module && python$* setup.py build
+	touch $@
+
 clean: configure
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
+	rm -f build-python* install-python*
 	cd module; python setup.py clean
 	rm -rf module/build/
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
@@ -76,10 +77,16 @@
 
 	dh_install -prenpy-doc doc/* usr/share/doc/renpy/html
 
-install-arch:
-	# module/ - Contains the source code for the _renpy module.
-	cd module; python setup.py install --root=$(CURDIR)/debian/python-renpy
+install-arch: build $(PYVERS:%=install-python%)
 
+install-python%:
+	dh_testdir
+	dh_testroot
+	cd module && python$* setup.py install \
+		--no-compile \
+		--root=$(CURDIR)/debian/python-renpy \
+		;
+	touch $@
 
 install: install-arch install-indep
 
@@ -122,7 +129,7 @@
 	dh_md5sums -a
 	dh_builddeb -a
 
-# Dynamic upstream renpy version detection
+# Dynamic upstream Ren'Py version detection
 #
 # RENPY_VERSION = $(shell uscan --dehs --report-status | \ 
 # 	grep upstream-version | sed 's/<.*>\(.*\)<.*>/\1/g')
@@ -132,8 +139,10 @@
 # RENPY_VERSION = $(shell head -1 debian/changelog | \
 # 	sed 's/.*(\(.*\)\.ds.*/\1/')
 #
-# Static renpy version assignment
-RENPY_VERSION = 6.6.2
+
+# Static Ren'Py version assignment
+#
+RENPY_VERSION = 6.6.3
 DEBIAN_VERSION = $(RENPY_VERSION).dfsg1
 
 get-orig-source:




More information about the Pkg-games-commits mailing list