[Python-modules-commits] r15469 - in packages/python-pipeline/trunk/debian (changelog rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Sun Feb 6 11:46:50 UTC 2011
Date: Sunday, February 6, 2011 @ 11:46:49
Author: jwilk
Revision: 15469
Rename some private variables in debian/rules to make them lowercase.
Modified:
packages/python-pipeline/trunk/debian/changelog
packages/python-pipeline/trunk/debian/rules
Modified: packages/python-pipeline/trunk/debian/changelog
===================================================================
--- packages/python-pipeline/trunk/debian/changelog 2011-02-06 11:43:27 UTC (rev 15468)
+++ packages/python-pipeline/trunk/debian/changelog 2011-02-06 11:46:49 UTC (rev 15469)
@@ -3,8 +3,9 @@
* Upload to unstable.
* Update debian/copyright to the latest DEP-5 version.
* Bump year in debian/copyright.
+ * Rename some private variables in debian/rules to make them lowercase.
- -- Jakub Wilk <jwilk at debian.org> Sun, 06 Feb 2011 12:41:14 +0100
+ -- Jakub Wilk <jwilk at debian.org> Sun, 06 Feb 2011 12:45:47 +0100
python-pipeline (0.1.3-1) experimental; urgency=low
Modified: packages/python-pipeline/trunk/debian/rules
===================================================================
--- packages/python-pipeline/trunk/debian/rules 2011-02-06 11:43:27 UTC (rev 15468)
+++ packages/python-pipeline/trunk/debian/rules 2011-02-06 11:46:49 UTC (rev 15469)
@@ -2,15 +2,15 @@
include /usr/share/python3/python.mk
-HERE = $(dir $(firstword $(MAKEFILE_LIST)))/..
-UPSTREAM_VERSION = $(shell cd $(HERE) && dpkg-parsechangelog | sed -n -r -e '/^Version: ([0-9.]+).*/ { s//\1/p }')
-UPSTREAM_URL_PY2 = $(shell cd $(HERE) && uscan --dehs --download-version="$(UPSTREAM_VERSION)" | sed -n -r -e '/<upstream-url>(.*)<.*/ { s//\1/p }')
-UPSTREAM_URL_PY3 = $(subst /python-pipeline-,/python3-pipeline-,$(UPSTREAM_URL_PY2))
+here = $(dir $(firstword $(MAKEFILE_LIST)))/..
+upstream_version = $(shell cd $(here) && dpkg-parsechangelog | sed -n -r -e '/^Version: ([0-9.]+).*/ { s//\1/p }')
+upstream_url_py2 = $(shell cd $(here) && uscan --dehs --download-version="$(upstream_version)" | sed -n -r -e '/<upstream-url>(.*)<.*/ { s//\1/p }')
+upstream_url_py3 = $(subst /python-pipeline-,/python3-pipeline-,$(upstream_url_py2))
.PHONY: get-orig-source
get-orig-source:
- wget $(UPSTREAM_URL_PY2) -O python-pipeline_$(UPSTREAM_VERSION).orig.tar.gz
- wget $(UPSTREAM_URL_PY3) -O python-pipeline_$(UPSTREAM_VERSION).orig-py3k.tar.gz
+ wget $(upstream_url_py2) -O python-pipeline_$(upstream_version).orig.tar.gz
+ wget $(upstream_url_py3) -O python-pipeline_$(upstream_version).orig-py3k.tar.gz
.PHONY: override_dh_auto_install
override_dh_auto_install:
More information about the Python-modules-commits
mailing list