[Python-modules-commits] [txfixtures] 10/14: Export PBR_VERSION to avoid tests failing

Free Ekanayaka freee at moszumanska.debian.org
Thu Jan 5 23:51:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

freee pushed a commit to branch master
in repository txfixtures.

commit bb6dab05cf7a2293df89792cdf8c7fc693110a18
Author: Free Ekanayaka <freee at debian.org>
Date:   Thu Jan 5 12:45:09 2017 +0000

    Export PBR_VERSION to avoid tests failing
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 03540f1..7fe1392 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,10 @@
 #!/usr/bin/make -f
 
-# This file was automatically generated by stdeb 0.8.5 at
-# Tue, 22 Nov 2016 09:38:56 +0000
 export PYBUILD_NAME=txfixtures
+
+# This is needed because of https://bugs.launchpad.net/pbr/+bug/1637729
+export PBR_VERSION=$(shell dpkg-parsechangelog -SVersion | sed -e 's/[-].*//')
+
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/txfixtures.git



More information about the Python-modules-commits mailing list