[Python-modules-commits] r18744 - in packages/python-peak.rules/trunk/debian (4 files)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Wed Sep 28 01:17:11 UTC 2011
Date: Wednesday, September 28, 2011 @ 01:17:10
Author: eriol-guest
Revision: 18744
* debian/patches/01_invoke-multiple-setup.patch
- Use a patch to add the setup.py which take care of invocation
of multiple setup.py in subdir provided by Stefano Zacchiroli
Added:
packages/python-peak.rules/trunk/debian/patches/
packages/python-peak.rules/trunk/debian/patches/01_invoke-multiple-setup.patch
packages/python-peak.rules/trunk/debian/patches/series
Modified:
packages/python-peak.rules/trunk/debian/changelog
Modified: packages/python-peak.rules/trunk/debian/changelog
===================================================================
--- packages/python-peak.rules/trunk/debian/changelog 2011-09-27 23:01:56 UTC (rev 18743)
+++ packages/python-peak.rules/trunk/debian/changelog 2011-09-28 01:17:10 UTC (rev 18744)
@@ -1,13 +1,16 @@
-python-peak.rules (0.5a1+r2707) unstable; urgency=low
+python-peak.rules (0.5a1+r2707-1) unstable; urgency=low
* New upstream release
* debian/control
- Set myself as uploader with Stefano Zacchiroli's permission.
Thanks to Stefano Zacchiroli for his past work!
+ * debian/patches/01_invoke-multiple-setup.patch
+ - Use a patch to add the setup.py which take care of invocation
+ of multiple setup.py in subdir provided by Stefano Zacchiroli
* debian/source/format
- Switched to source format 3.0 (quilt)
- -- Daniele Tricoli <eriol at mornie.org> Wed, 28 Sep 2011 01:00:20 +0200
+ -- Daniele Tricoli <eriol at mornie.org> Wed, 28 Sep 2011 03:09:47 +0200
python-peak.rules (0.5a1+r2600-1) unstable; urgency=low
Added: packages/python-peak.rules/trunk/debian/patches/01_invoke-multiple-setup.patch
===================================================================
--- packages/python-peak.rules/trunk/debian/patches/01_invoke-multiple-setup.patch (rev 0)
+++ packages/python-peak.rules/trunk/debian/patches/01_invoke-multiple-setup.patch 2011-09-28 01:17:10 UTC (rev 18744)
@@ -0,0 +1,34 @@
+Description: Multiplexer for invoking multiple setup.py in subdir
+Author: Stefano Zacchiroli <zack at debian.org>
+Forwarded: not-needed
+--- /dev/null
++++ b/setup.py
+@@ -0,0 +1,28 @@
++#!/usr/bin/python
++# Multiplexer for invoking multiple setup.py in subdir
++# Copyright (C) 2009 Stefano Zacchiroli <zack at debian.org>
++# License: GNU GPL version 3 or above
++
++# Created: Sat, 30 May 2009 14:47:04 +0200
++# Last-Modified: Sat, 30 May 2009 14:47:04 +0200
++
++import os, string, sys
++
++if not os.environ.has_key('SUBDIRS') or not os.environ['SUBDIRS']:
++ print >> sys.stderr, "Can't find subdirs, please set SUBDIRS envvar"
++ sys.exit(3)
++else:
++ subdirs = os.environ['SUBDIRS'].split()
++setup_cmd = "python setup.py %s" % string.join(sys.argv[1:])
++
++topdir = os.getcwd()
++for d in subdirs:
++ if not os.path.isdir(d):
++ print >> sys.stderr, "WARNING: can't find subdir %s" % d
++ continue
++ os.chdir(d)
++ retcode = os.system(setup_cmd)
++ if retcode:
++ print >> sys.stderr, "ERROR: setup.py in subdir %s failed" % d
++ sys.exit(retcode >> 8)
++ os.chdir(topdir)
Added: packages/python-peak.rules/trunk/debian/patches/series
===================================================================
--- packages/python-peak.rules/trunk/debian/patches/series (rev 0)
+++ packages/python-peak.rules/trunk/debian/patches/series 2011-09-28 01:17:10 UTC (rev 18744)
@@ -0,0 +1 @@
+01_invoke-multiple-setup.patch
More information about the Python-modules-commits
mailing list