[Python-modules-commits] r2995 - in /packages/rabbyt/trunk/debian: changelog control patches/ patches/01_disable-O3.patch patches/series rules

nacho at users.alioth.debian.org nacho at users.alioth.debian.org
Tue Aug 7 16:19:13 UTC 2007


Author: nacho
Date: Tue Aug  7 16:19:13 2007
New Revision: 2995

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2995
Log:
excluding -O3

Added:
    packages/rabbyt/trunk/debian/patches/
    packages/rabbyt/trunk/debian/patches/01_disable-O3.patch
    packages/rabbyt/trunk/debian/patches/series
Modified:
    packages/rabbyt/trunk/debian/changelog
    packages/rabbyt/trunk/debian/control
    packages/rabbyt/trunk/debian/rules

Modified: packages/rabbyt/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/rabbyt/trunk/debian/changelog?rev=2995&op=diff
==============================================================================
--- packages/rabbyt/trunk/debian/changelog (original)
+++ packages/rabbyt/trunk/debian/changelog Tue Aug  7 16:19:13 2007
@@ -11,18 +11,23 @@
    - Building against all supported python versions. 
    - C source files are no longer removed by the clean rule (those 
      files are now part of the orig tarball)
+   - Managing patches.
   * debian/control
    - Changing maintainer's email address (switching to python-modules 
      team comaintenance)
    - Changing the homepage.
    - Build-depending on python-all-dev instead of python2.4-dev
    - Pyrex is not needed anymore at build time.
+   - Added quilt as build-dep.
   * debian/pyversions
    - Dropped.
   * debian/copyright
    - Everything now is licensed under the MIT license.
   * debian/docs
    - Installing extra documentation.
+  * debian/patches
+   - Added 01_disable-O3.patch in order to exclude -O3 from the
+     build flags.
 
  -- Nacho Barrientos Arias <nacho at debian.org>  Tue, 07 Aug 2007 15:38:00 +0200
 

Modified: packages/rabbyt/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/rabbyt/trunk/debian/control?rev=2995&op=diff
==============================================================================
--- packages/rabbyt/trunk/debian/control (original)
+++ packages/rabbyt/trunk/debian/control Tue Aug  7 16:19:13 2007
@@ -4,7 +4,7 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Nacho Barrientos Arias <nacho at debian.org>
 Build-Depends: debhelper (>= 5),
- python-all-dev, python-support (>= 0.6), python-setuptools,
+ python-all-dev, python-support (>= 0.6), python-setuptools, quilt,
  libgl1-mesa-dev | xlibmesa-gl-dev, libglu1-mesa-dev | libglu1-xorg-dev
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/rabbyt/trunk/

Added: packages/rabbyt/trunk/debian/patches/01_disable-O3.patch
URL: http://svn.debian.org/wsvn/python-modules/packages/rabbyt/trunk/debian/patches/01_disable-O3.patch?rev=2995&op=file
==============================================================================
--- packages/rabbyt/trunk/debian/patches/01_disable-O3.patch (added)
+++ packages/rabbyt/trunk/debian/patches/01_disable-O3.patch Tue Aug  7 16:19:13 2007
@@ -1,0 +1,13 @@
+Index: Rabbyt-0.7/setup.py
+===================================================================
+--- Rabbyt-0.7.orig/setup.py	2007-08-07 18:05:41.000000000 +0200
++++ Rabbyt-0.7/setup.py	2007-08-07 18:05:47.000000000 +0200
+@@ -83,7 +83,7 @@
+     GL = "GL"
+     GLU = "GLU"
+ else:
+-    compile_args=['-O3']
++    compile_args=[]
+     link_args=[]
+     GL = "GL"
+     GLU = "GLU"

Added: packages/rabbyt/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/python-modules/packages/rabbyt/trunk/debian/patches/series?rev=2995&op=file
==============================================================================
--- packages/rabbyt/trunk/debian/patches/series (added)
+++ packages/rabbyt/trunk/debian/patches/series Tue Aug  7 16:19:13 2007
@@ -1,0 +1,1 @@
+01_disable-O3.patch -p1

Modified: packages/rabbyt/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/rabbyt/trunk/debian/rules?rev=2995&op=diff
==============================================================================
--- packages/rabbyt/trunk/debian/rules (original)
+++ packages/rabbyt/trunk/debian/rules Tue Aug  7 16:19:13 2007
@@ -1,19 +1,26 @@
 #!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
 
 PYVERS=$(shell pyversions -vs)
 
+configure: configure-stamp
+configure-stamp: patch
+	dh_testdir
+	touch configure-stamp
+
 build: $(PYVERS:%=build-python%)
 
-build-python%:
+build-python%: configure-stamp
 	dh_testdir
 	python$* setup.py build
 	touch $@
 
-clean: 
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f $(CURDIR)/Rabbyt.egg-info/SOURCES.txt
-	rm -f build-python2.* install-python2.*
+	rm -f build-python2.* install-python2.* configure-stamp
 	rm -rf build
 	dh_clean 
 




More information about the Python-modules-commits mailing list