[Python-modules-commits] r3667 - in /packages/jinja/trunk/debian: changelog rules watch

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Nov 18 10:08:28 UTC 2007


Author: piotr
Date: Sun Nov 18 10:08:27 2007
New Revision: 3667

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3667
Log:
* New upstream release
* Replace "cheeseshop" with "pypi" in debian/watch file
* clean rule cleanups :-)

Modified:
    packages/jinja/trunk/debian/changelog
    packages/jinja/trunk/debian/rules
    packages/jinja/trunk/debian/watch

Modified: packages/jinja/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/jinja/trunk/debian/changelog?rev=3667&op=diff
==============================================================================
--- packages/jinja/trunk/debian/changelog (original)
+++ packages/jinja/trunk/debian/changelog Sun Nov 18 10:08:27 2007
@@ -1,9 +1,11 @@
-jinja (1.1-2) UNRELEASED; urgency=low
+jinja (1.2-1) unstable; urgency=low
 
+  * New upstream release
   * Homepage field added
   * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+  * Replace "cheeseshop" with "pypi" in debian/watch file
 
- -- Piotr Ożarowski <piotr at debian.org>  Sat,  6 Oct 2007 23:46:34 +0200
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 18 Nov 2007 10:44:00 +0100
 
 jinja (1.1-1) unstable; urgency=low
 

Modified: packages/jinja/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/jinja/trunk/debian/rules?rev=3667&op=diff
==============================================================================
--- packages/jinja/trunk/debian/rules (original)
+++ packages/jinja/trunk/debian/rules Sun Nov 18 10:08:27 2007
@@ -3,20 +3,16 @@
 #export DH_VERBOSE=1
 
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-	| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+	| sed -rne 's,^Version: ([^-]+).*,\1,p')
 
 PYVERS=$(shell pyversions -vr debian/control)
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-*
 	rm -rf dist build
-	# why do I need to call this line twice?
-	# (it fails to clean properly every second build if I leave only one line)
-	find . -name *\.pyc -exec rm -f {} \;
-	find . -name *\.pyc -exec rm -f {} \;
-	dh_clean
+	find . -name '*\.pyc' -delete
+	dh_clean build-*
 
 build: build-stamp
 build-stamp: $(PYVERS:%=build-python%)

Modified: packages/jinja/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/jinja/trunk/debian/watch?rev=3667&op=diff
==============================================================================
--- packages/jinja/trunk/debian/watch (original)
+++ packages/jinja/trunk/debian/watch Sun Nov 18 10:08:27 2007
@@ -1,2 +1,2 @@
 version=3
-http://cheeseshop.python.org/packages/source/J/Jinja/Jinja-(.+)\.tar\.gz debian uupdate
+http://pypi.python.org/packages/source/J/Jinja/Jinja-(.+)\.tar\.gz debian uupdate




More information about the Python-modules-commits mailing list