[Python-apps-commits] r4007 - in packages/pytagsfs/trunk/debian (README.source rules)

rrs-guest at users.alioth.debian.org rrs-guest at users.alioth.debian.org
Tue Oct 20 12:51:55 UTC 2009


    Date: Tuesday, October 20, 2009 @ 12:51:54
  Author: rrs-guest
Revision: 4007

add the get-orig-source target and update README.source

Modified:
  packages/pytagsfs/trunk/debian/README.source
  packages/pytagsfs/trunk/debian/rules

Modified: packages/pytagsfs/trunk/debian/README.source
===================================================================
--- packages/pytagsfs/trunk/debian/README.source	2009-10-20 12:51:50 UTC (rev 4006)
+++ packages/pytagsfs/trunk/debian/README.source	2009-10-20 12:51:54 UTC (rev 4007)
@@ -1,2 +1,8 @@
+pytagsfs is downloaded from its upstream website:
+http://www.alittletooquiet.net/software/pytagsfs/
+
+debian/rules contains a get-orig-source target which should be able to
+download the upstream tarball for you.
+
 Please read the README.source provided with the documentation of the
-dpatch package
+dpatch package also as dpatch is used for maintaining the patches

Modified: packages/pytagsfs/trunk/debian/rules
===================================================================
--- packages/pytagsfs/trunk/debian/rules	2009-10-20 12:51:50 UTC (rev 4006)
+++ packages/pytagsfs/trunk/debian/rules	2009-10-20 12:51:54 UTC (rev 4007)
@@ -5,6 +5,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+PKG_NAME=pytagsfs
+PKG_VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+
+get-orig-source:
+	uscan --force-download --rename --download-version=$(PKG_VER) --destdir=.
+
+
 build: patch build-stamp
 build-stamp:
 	dh_testdir
@@ -46,4 +53,4 @@
 # We have nothing to do by default.
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install patch unpatch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch get-orig-source




More information about the Python-apps-commits mailing list