[Python-modules-commits] r5551 - in packages/python-authkit/trunk/debian (3 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Wed Jun 4 21:48:09 UTC 2008


    Date: Wednesday, June 4, 2008 @ 21:48:07
  Author: piotr
Revision: 5551

* Add get-orig-source rule to debian/rules
* Remove "Maintainer: " from Uploaders field

Modified:
  packages/python-authkit/trunk/debian/changelog
  packages/python-authkit/trunk/debian/control
  packages/python-authkit/trunk/debian/rules

Modified: packages/python-authkit/trunk/debian/changelog
===================================================================
--- packages/python-authkit/trunk/debian/changelog	2008-06-04 21:44:01 UTC (rev 5550)
+++ packages/python-authkit/trunk/debian/changelog	2008-06-04 21:48:07 UTC (rev 5551)
@@ -2,6 +2,8 @@
 
   [ Piotr Ożarowski ]
   * Vcs-Svn, Vcs-Browser and Homepage fields added
+  * Add get-orig-source rule to debian/rules
+  * Remove "Maintainer: " from Uploaders field
 
   [ Sandro Tosi ]
   * updated to new pypi simplier URL

Modified: packages/python-authkit/trunk/debian/control
===================================================================
--- packages/python-authkit/trunk/debian/control	2008-06-04 21:44:01 UTC (rev 5550)
+++ packages/python-authkit/trunk/debian/control	2008-06-04 21:48:07 UTC (rev 5551)
@@ -2,9 +2,9 @@
 Section: python
 Priority: optional
 Maintainer: Christoph Haas <haas at debian.org>
-Uploaders: Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11),
- python-central (>= 0.5.6), python-setuptools (>= 0.6b3), dpatch (>= 2.0)
+ python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1~), dpatch (>= 2.0)
 Standards-Version: 3.7.3
 Homepage: http://authkit.org/
 XS-Python-Version: >=2.4

Modified: packages/python-authkit/trunk/debian/rules
===================================================================
--- packages/python-authkit/trunk/debian/rules	2008-06-04 21:44:01 UTC (rev 5550)
+++ packages/python-authkit/trunk/debian/rules	2008-06-04 21:48:07 UTC (rev 5551)
@@ -7,6 +7,8 @@
 include /usr/share/dpatch/dpatch.make
 
 PYVERS=$(shell pyversions -vr)
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+REVISION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: .*~r([^-]+).*,\1,p')
 
 clean: unpatch
 	dh_testdir
@@ -50,5 +52,11 @@
 
 binary: binary-indep binary-arch
 
+get-orig-source:
+	if [ "$(REVISION)" = "" ]; then uscan --force-download --rename --repack; else \
+	svn -q export -r $(REVISION) http://authkit.org/svn/AuthKit/trunk/ python-authkit-$(DEB_UPSTREAM_VERSION) &&\
+        tar -zcf ./python-authkit_$(DEB_UPSTREAM_VERSION).orig.tar.gz python-authkit-$(DEB_UPSTREAM_VERSION);\
+	rm -rf python-authkit-$(DEB_UPSTREAM_VERSION) ; fi
+
 .PHONY: build clean binary-indep binary-arch install
 




More information about the Python-modules-commits mailing list