[Python-modules-commits] r4036 - in packages/ipy/trunk/debian (6 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Wed Dec 26 13:38:13 UTC 2007
Date: Wednesday, December 26, 2007 @ 13:38:12
Author: bzed
Revision: 4036
- Url simplification
* New sourceful upload with a faked +1 version. The tarball does not contain
upstream's debian directory anymore, which slipped the maintainers' eyes
during the last uploads.
* debian/control:
- Updating my email address.
* debian/uscan-tarball-clean.sh, debian/watch:
- Adding script for uscan to strip upstream's debian directory from the
tarball.
* debian/README.Debian-source:
- Adding file, describing the reason for repackaging upstream's tarball.
Added:
packages/ipy/trunk/debian/README.Debian-source
packages/ipy/trunk/debian/uscan-tarball-clean.sh
Modified:
packages/ipy/trunk/debian/changelog
packages/ipy/trunk/debian/control
packages/ipy/trunk/debian/rules
packages/ipy/trunk/debian/watch
Added: packages/ipy/trunk/debian/README.Debian-source
===================================================================
--- packages/ipy/trunk/debian/README.Debian-source (rev 0)
+++ packages/ipy/trunk/debian/README.Debian-source 2007-12-26 13:38:12 UTC (rev 4036)
@@ -0,0 +1,8 @@
+ipy (1:0.55+1-1) unstable; urgency=low
+
+ * Upstream's tarball contains a debian directory which needs to be removed.
+ Therefore only use uscan to download the tarball, or the
+ get-orig-source target of debian/rules.
+
+ -- Bernd Zeimetz <bzed at debian.org> Wed, 26 Dec 2007 14:29:24 +0100
+
Modified: packages/ipy/trunk/debian/changelog
===================================================================
--- packages/ipy/trunk/debian/changelog 2007-12-24 18:55:44 UTC (rev 4035)
+++ packages/ipy/trunk/debian/changelog 2007-12-26 13:38:12 UTC (rev 4036)
@@ -1,10 +1,23 @@
-ipy (1:0.55-2) UNRELEASED; urgency=low
+ipy (1:0.55+1-1) UNRELEASED; urgency=low
+ [ Sandro Tosi ]
* debian/watch
- - url simplification
+ - Url simplification
- -- Sandro Tosi <matrixhasu at gmail.com> Wed, 21 Nov 2007 20:14:26 +0100
+ [ Bernd Zeimetz ]
+ * New sourceful upload with a faked +1 version. The tarball does not contain
+ upstream's debian directory anymore, which slipped the maintainers' eyes
+ during the last uploads.
+ * debian/control:
+ - Updating my email address.
+ * debian/uscan-tarball-clean.sh, debian/watch:
+ - Adding script for uscan to strip upstream's debian directory from the
+ tarball.
+ * debian/README.Debian-source:
+ - Adding file, describing the reason for repackaging upstream's tarball.
+ -- Bernd Zeimetz <bzed at debian.org> Wed, 26 Dec 2007 14:33:42 +0100
+
ipy (1:0.55-1) unstable; urgency=low
* New upstream version (Closes: #450580).
Modified: packages/ipy/trunk/debian/control
===================================================================
--- packages/ipy/trunk/debian/control 2007-12-24 18:55:44 UTC (rev 4035)
+++ packages/ipy/trunk/debian/control 2007-12-26 13:38:12 UTC (rev 4036)
@@ -2,7 +2,7 @@
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Morten Werner Olsen <werner at debian.org>, Bernd Zeimetz <bernd at bzed.de>
+Uploaders: Bernd Zeimetz <bzed at debian.org>, Morten Werner Olsen <werner at debian.org>
Build-Depends: debhelper (>= 5.0.37.1), python-all
Build-Depends-Indep: python-support (>= 0.4), python-docutils
Standards-Version: 3.7.2
Modified: packages/ipy/trunk/debian/rules
===================================================================
--- packages/ipy/trunk/debian/rules 2007-12-24 18:55:44 UTC (rev 4035)
+++ packages/ipy/trunk/debian/rules 2007-12-26 13:38:12 UTC (rev 4036)
@@ -76,5 +76,8 @@
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install get-orig-source
+
+get-orig-source:
+ uscan --verbose --force-download
Added: packages/ipy/trunk/debian/uscan-tarball-clean.sh
===================================================================
--- packages/ipy/trunk/debian/uscan-tarball-clean.sh (rev 0)
+++ packages/ipy/trunk/debian/uscan-tarball-clean.sh 2007-12-26 13:38:12 UTC (rev 4036)
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+#command --upstream-version version filename
+
+[ $# -eq 3 ] || exit 255
+
+echo
+
+version="$2"
+filename="$3"
+
+tar xfz ${filename}
+
+dir=`tar tfz ${filename} | head -1 | sed 's,/.*,,g'`
+rm -f ${filename}
+
+rm -rf ${dir}/debian
+mv ${dir} ${dir}.orig
+
+tar cf - ${dir}.orig | gzip -9 > ${filename}
+
+rm -rf ${dir}.orig
+
+echo "${filename} repackaged."
+
+
Modified: packages/ipy/trunk/debian/watch
===================================================================
--- packages/ipy/trunk/debian/watch 2007-12-24 18:55:44 UTC (rev 4035)
+++ packages/ipy/trunk/debian/watch 2007-12-26 13:38:12 UTC (rev 4036)
@@ -1,4 +1,4 @@
version=3
-http://pypi.python.org/packages/source/I/IPy/IPy-(.*)\.tar\.gz
+http://pypi.python.org/packages/source/I/IPy/IPy-(.*)\.tar\.gz debian /bin/bash debian/uscan-tarball-clean.sh
More information about the Python-modules-commits
mailing list