[Python-modules-commits] r4374 - in packages/python-pygraphviz/trunk/debian (changelog rules)

kibi-guest at users.alioth.debian.org kibi-guest at users.alioth.debian.org
Mon Jan 14 20:56:48 UTC 2008


    Date: Monday, January 14, 2008 @ 20:56:47
  Author: kibi-guest
Revision: 4374

Drop no longer needed DEB_REAL_UPSTREAM_VERSION variable, use DEB_UPSTREAM_VERSION

Modified:
  packages/python-pygraphviz/trunk/debian/changelog
  packages/python-pygraphviz/trunk/debian/rules

Modified: packages/python-pygraphviz/trunk/debian/changelog
===================================================================
--- packages/python-pygraphviz/trunk/debian/changelog	2008-01-14 20:56:30 UTC (rev 4373)
+++ packages/python-pygraphviz/trunk/debian/changelog	2008-01-14 20:56:47 UTC (rev 4374)
@@ -14,6 +14,8 @@
      - Not needed, since the license of miles.dat has been sorted out.
      - Drop README.Debian accordingly.
      - Drop version mangling in the watch file accordingly.
+     - Drop no longer needed DEB_REAL_UPSTREAM_VERSION variable, and
+       use DEB_UPSTREAM_VERSION instead.
 
  -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Mon, 14 Jan 2008 18:56:45 +0100
 

Modified: packages/python-pygraphviz/trunk/debian/rules
===================================================================
--- packages/python-pygraphviz/trunk/debian/rules	2008-01-14 20:56:30 UTC (rev 4373)
+++ packages/python-pygraphviz/trunk/debian/rules	2008-01-14 20:56:47 UTC (rev 4374)
@@ -2,8 +2,6 @@
 
 # Commodity variables
 DOC_INSTDIR=$(CURDIR)/debian/python-pygraphviz/usr/share/doc
-DEB_REAL_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-        | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1 | sed -e 's/\.dfsg$$//')
 
 # Needed before including python-distutils.mk
 DEB_PYTHON_SYSTEM = pysupport
@@ -27,9 +25,9 @@
 
 binary-install/python-pygraphviz::
 	# Move the documentation
-	mv $(DOC_INSTDIR)/pygraphviz-$(DEB_REAL_UPSTREAM_VERSION)/* \
+	mv $(DOC_INSTDIR)/pygraphviz-$(DEB_UPSTREAM_VERSION)/* \
 		$(DOC_INSTDIR)/python-pygraphviz
-	rmdir $(DOC_INSTDIR)/pygraphviz-$(DEB_REAL_UPSTREAM_VERSION)
+	rmdir $(DOC_INSTDIR)/pygraphviz-$(DEB_UPSTREAM_VERSION)
 	
 	# Remove extraneous license file, and rename the README file
 	rm $(DOC_INSTDIR)/python-pygraphviz/License.txt




More information about the Python-modules-commits mailing list