[renpy] 47/146: New Upstream Release Compile the module for all python versions Upgraded Standards-Version to 3.8.0

Markus Koschany apo-guest at moszumanska.debian.org
Tue Jan 12 19:40:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch experimental
in repository renpy.

commit 6a0b929b31d0e15b1c065564d802e0a53c68e327
Author: Miriam Ruiz <miriam at debian.org>
Date:   Fri Aug 15 22:59:12 2008 +0000

    New Upstream Release
    Compile the module for all python versions
    Upgraded Standards-Version to 3.8.0
---
 debian/changelog | 10 ++++++++++
 debian/control   |  6 +++---
 debian/rules     | 41 +++++++++++++++++++++++++----------------
 3 files changed, 38 insertions(+), 19 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4dc0c58..988df84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 ]
diff --git a/debian/control b/debian/control
index 5087fab..a311f54 100644
--- a/debian/control
+++ b/debian/control
@@ -3,11 +3,11 @@ Section: games
 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
diff --git a/debian/rules b/debian/rules
index 0f5cecc..87f52d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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 @@ install-indep:
 
 	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 @@ binary-arch: build install-arch
 	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 @@ binary-arch: build install-arch
 # 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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/renpy.git



More information about the Pkg-games-commits mailing list