[Python-modules-commits] r4337 - in packages/ipython/trunk/debian (5 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Wed Jan 9 12:52:05 UTC 2008
Date: Wednesday, January 9, 2008 @ 12:52:04
Author: bzed
Revision: 4337
* New upstream version. Manually adding the source of the documentation to
the tarball. It will be shipped by upstream with the next release.
* debian/uscan-dfsg-clean.sh, debian/watch, debian/rules:
- Adding uscan-dfsg-clean.sh as helper for uscan to remove non-dfsg-free
material from the tarball. Adding a get-orig-source rule to debian/rules
which runs uscan.
Added:
packages/ipython/trunk/debian/README.Debian-source
packages/ipython/trunk/debian/uscan-dfsg-clean.sh
Modified:
packages/ipython/trunk/debian/changelog
packages/ipython/trunk/debian/rules
packages/ipython/trunk/debian/watch
Added: packages/ipython/trunk/debian/README.Debian-source
===================================================================
--- packages/ipython/trunk/debian/README.Debian-source (rev 0)
+++ packages/ipython/trunk/debian/README.Debian-source 2008-01-09 12:52:04 UTC (rev 4337)
@@ -0,0 +1,8 @@
+ipython source for Debian
+-------------------------
+
+Ipython's source contains a manual directory which was created by latex2html,
+which needs to be removed as latex2html is not dfsg-free.
+This is automatically done if the source is downloaded using uscan.
+
+ -- Bernd Zeimetz <bzed at debian.org> Wed, 09 Jan 2008 13:46:24 +0100
Modified: packages/ipython/trunk/debian/changelog
===================================================================
--- packages/ipython/trunk/debian/changelog 2008-01-09 05:10:26 UTC (rev 4336)
+++ packages/ipython/trunk/debian/changelog 2008-01-09 12:52:04 UTC (rev 4337)
@@ -1,10 +1,12 @@
-ipython (0.8.2-1) UNRELEASED; urgency=low
+ipython (0.8.2.dfsg-1) UNRELEASED; urgency=low
[ Bernd Zeimetz ]
- * NOT RELEASED YET
- AND DO NOT RELEASE YET.
- TARBALL CONTAINS NON-FREE MATERIAL.
- * New upstream version.
+ * New upstream version. Manually adding the source of the documentation to
+ the tarball. It will be shipped by upstream with the next release.
+ * debian/uscan-dfsg-clean.sh, debian/watch, debian/rules:
+ - Adding uscan-dfsg-clean.sh as helper for uscan to remove non-dfsg-free
+ material from the tarball. Adding a get-orig-source rule to debian/rules
+ which runs uscan.
* debian/control:
- Updating my email address.
- Updating Standards-Version to 3.7.3.
@@ -15,7 +17,7 @@
* debian/control
- uniforming Vcs-Browser field
- -- Bernd Zeimetz <bzed at debian.org> Fri, 14 Dec 2007 22:02:40 +0100
+ -- Bernd Zeimetz <bzed at debian.org> Wed, 09 Jan 2008 13:46:24 +0100
ipython (0.8.1-2) unstable; urgency=low
Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules 2008-01-09 05:10:26 UTC (rev 4336)
+++ packages/ipython/trunk/debian/rules 2008-01-09 12:52:04 UTC (rev 4337)
@@ -23,3 +23,6 @@
chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/upgrade_dir.py
chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/Extensions/pickleshare.py
chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/irunner.py
+
+get-orig-source:
+ uscan --verbose --rename --repack
Added: packages/ipython/trunk/debian/uscan-dfsg-clean.sh
===================================================================
--- packages/ipython/trunk/debian/uscan-dfsg-clean.sh (rev 0)
+++ packages/ipython/trunk/debian/uscan-dfsg-clean.sh 2008-01-09 12:52:04 UTC (rev 4337)
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+set -e
+
+#command --upstream-version version filename
+
+[ $# -eq 3 ] || exit 255
+
+echo
+
+version="$2"
+filename="$3"
+dfsgfilename=`echo $3 | sed 's,\.orig\.,.dfsg.orig.,'`
+
+tar xfz ${filename}
+
+dir=`tar tfz ${filename} | head -1 | sed 's,/.*,,g'`
+rm -f ${filename}
+
+rm -rf ${dir}/doc/manual
+mv ${dir} ${dir}.dfsg.orig
+
+tar cf - ${dir}.dfsg.orig | gzip -9 > ${dfsgfilename}
+
+rm -rf ${dir}.dfsg.orig
+
+echo "${dfsgfilename} created."
+
+
Modified: packages/ipython/trunk/debian/watch
===================================================================
--- packages/ipython/trunk/debian/watch 2008-01-09 05:10:26 UTC (rev 4336)
+++ packages/ipython/trunk/debian/watch 2008-01-09 12:52:04 UTC (rev 4337)
@@ -1,2 +1,4 @@
version=3
-http://ipython.scipy.org/dist/ ipython-(.*)\.tar\.gz
+opts=dversionmangle=s/\.dfsg\.\d+$// \
+ http://ipython.scipy.org/dist/ ipython-(.*)\.tar\.gz debian debian/uscan-dfsg-clean.sh
+
More information about the Python-modules-commits
mailing list