[Python-modules-commits] r2047 - in /packages/pastedeploy/trunk/debian: changelog dirs rules watch

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Wed Apr 11 16:43:16 UTC 2007


Author: piotr
Date: Wed Apr 11 16:43:16 2007
New Revision: 2047

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2047
Log:
* New upstream release
* Cleaned debian/rules file a little bit

Added:
    packages/pastedeploy/trunk/debian/dirs
Modified:
    packages/pastedeploy/trunk/debian/changelog
    packages/pastedeploy/trunk/debian/rules
    packages/pastedeploy/trunk/debian/watch

Modified: packages/pastedeploy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/changelog?rev=2047&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/changelog (original)
+++ packages/pastedeploy/trunk/debian/changelog Wed Apr 11 16:43:16 2007
@@ -1,3 +1,10 @@
+pastedeploy (1.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Cleaned debian/rules file a little bit
+
+ -- Piotr Ożarowski <piotr at debian.org>  Wed, 11 Apr 2007 18:18:57 +0200
+
 pastedeploy (1.1-2) unstable; urgency=low
 
   * Upload to unstable

Added: packages/pastedeploy/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/dirs?rev=2047&op=file
==============================================================================
--- packages/pastedeploy/trunk/debian/dirs (added)
+++ packages/pastedeploy/trunk/debian/dirs Wed Apr 11 16:43:16 2007
@@ -1,0 +1,1 @@
+/usr/share/doc/python-pastedeploy/docs

Modified: packages/pastedeploy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/rules?rev=2047&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/rules (original)
+++ packages/pastedeploy/trunk/debian/rules Wed Apr 11 16:43:16 2007
@@ -3,7 +3,7 @@
 #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)
 DOCS=$(shell cd docs && find ./ -name "*.txt" -not -name "license.txt" -printf "%p " | sed "s/.txt//g")
 
@@ -23,9 +23,7 @@
 	touch $@
 
 build-indep:
-	if [ ! -d debian/python-pastedeploy/usr/share/doc/python-pastedeploy/docs ]; then \
-		mkdir -p debian/python-pastedeploy/usr/share/doc/python-pastedeploy/docs;\
-	fi
+	dh_installdirs
 	for NAME in $(DOCS); do \
 	    rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
 	      > "debian/python-pastedeploy/usr/share/doc/python-pastedeploy/docs/$$NAME.html"; \
@@ -37,10 +35,10 @@
 	python$* setup.py install \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/python-pastedeploy
-	# share Egg dir (remove python's version from dirname)
+	# share Egg dir (remove Python's version from directory name)
 	mv debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
 	   debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}.egg-info
-	# pth file is not needed since all paste* packages are installed in the same directory
+	# pth file is not needed
 	rm -f debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
 	# provided by paste-common package:
 	rm -f debian/python-pastedeploy/usr/lib/python$*/site-packages/pastedeploy/paste/__init__.py

Modified: packages/pastedeploy/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/watch?rev=2047&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/watch (original)
+++ packages/pastedeploy/trunk/debian/watch Wed Apr 11 16:43:16 2007
@@ -1,2 +1,2 @@
 version=3
-http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-(.*)\.tar\.gz
+http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-(.*)\.tar\.gz debian uupdate




More information about the Python-modules-commits mailing list