[Python-apps-commits] r8247 - in packages/kupfer/trunk/debian (changelog rules)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Thu Mar 1 21:44:21 UTC 2012


    Date: Thursday, March 1, 2012 @ 21:44:20
  Author: dktrkranz
Revision: 8247

get-orig-source target is no longer needed

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

Modified: packages/kupfer/trunk/debian/changelog
===================================================================
--- packages/kupfer/trunk/debian/changelog	2012-03-01 21:39:17 UTC (rev 8246)
+++ packages/kupfer/trunk/debian/changelog	2012-03-01 21:44:20 UTC (rev 8247)
@@ -1,6 +1,9 @@
 kupfer (0+v207-1) UNRELEASED; urgency=low
 
   * New upstream release.
+    - waf script is now provided unpacked.
+  * debian/rules:
+    - get-orig-source target is no longer needed.
   * debian/watch:
     - Adjust watch file to fetch xz tarballs.
 

Modified: packages/kupfer/trunk/debian/rules
===================================================================
--- packages/kupfer/trunk/debian/rules	2012-03-01 21:39:17 UTC (rev 8246)
+++ packages/kupfer/trunk/debian/rules	2012-03-01 21:44:20 UTC (rev 8247)
@@ -1,8 +1,5 @@
 #!/usr/bin/make -f
 
-VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//')
-UPSTREAM = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/^0+//')
-
 %:
 	dh $@ --with python2
 
@@ -31,11 +28,3 @@
 override_dh_fixperms:
 	dh_fixperms
 	chmod +x debian/kupfer/usr/share/kupfer/kupfer.py
-
-get-orig-source:
-	tar fxz ../kupfer_${VERSION}.orig.tar.gz -C ../
-	cd ../kupfer-${UPSTREAM} && ./waf --version && \
-	mv .waf-*/waflib waflib && sed -i '/^#==>$$/,$$d' waf \
-	&& rmdir .waf-* && find waflib -name "*.pyc" -delete
-	tar czf ../kupfer_${VERSION}+dfsg.orig.tar.gz ../kupfer-${UPSTREAM}
-	rm -fr ../kupfer-${UPSTREAM}




More information about the Python-apps-commits mailing list