[Python-modules-commits] r25529 - in packages/grapefruit/trunk/debian (changelog rules)

laarmen-guest at users.alioth.debian.org laarmen-guest at users.alioth.debian.org
Mon Aug 12 08:55:29 UTC 2013


    Date: Monday, August 12, 2013 @ 08:55:26
  Author: laarmen-guest
Revision: 25529

Repack the tarball to exclude a shady .png

Modified:
  packages/grapefruit/trunk/debian/changelog
  packages/grapefruit/trunk/debian/rules

Modified: packages/grapefruit/trunk/debian/changelog
===================================================================
--- packages/grapefruit/trunk/debian/changelog	2013-08-12 08:28:41 UTC (rev 25528)
+++ packages/grapefruit/trunk/debian/changelog	2013-08-12 08:55:26 UTC (rev 25529)
@@ -1,4 +1,4 @@
-grapefruit (0.1~a3-1) unstable; urgency=low
+grapefruit (0.1~a3+dfsg-1) unstable; urgency=low
 
   [ Simon Chopin ]
   * Initial release. (Closes: #706042)

Modified: packages/grapefruit/trunk/debian/rules
===================================================================
--- packages/grapefruit/trunk/debian/rules	2013-08-12 08:28:41 UTC (rev 25528)
+++ packages/grapefruit/trunk/debian/rules	2013-08-12 08:55:26 UTC (rev 25529)
@@ -1,14 +1,14 @@
 #!/usr/bin/make -f
 PYVERS :=  $(shell pyversions -r)
 
+UPSTREAM = $(shell dpkg-parsechangelog | egrep '^Version: ' | cut -d ' ' -f 2- | sed 's/+dfsg.*//')
+
 %:
 	dh $@ --with python2,sphinxdoc
 
 override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=$(shell pwd) make -C doc/ html
-	# Don't ship the logo as long as we're not sure it is the source.
-	rm doc/_build/html/*/GrapeFruit.png
 
 override_dh_install:
 	dh_install -X SOURCES.txt
@@ -24,3 +24,6 @@
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf doc/_build
+
+get-orig-source:
+	gzip -cd '../grapefruit_$(UPSTREAM).orig.tar.gz' | tar --delete doc/_static/GrapeFruit.png | gzip > '../grapefruit_$(UPSTREAM)+dfsg.orig.tar.gz'




More information about the Python-modules-commits mailing list