[reprotest] 02/02: Fix the version in setup.py and make sure it doesn't happen again
Ximin Luo
infinity0 at debian.org
Fri Nov 18 20:16:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository reprotest.
commit 60d0368692c371c0323651e91ced27a779037289
Author: Ximin Luo <infinity0 at debian.org>
Date: Fri Nov 18 21:16:38 2016 +0100
Fix the version in setup.py and make sure it doesn't happen again
---
debian/rules | 4 ++++
setup.py | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index f9307b6..9be53dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,10 @@ export PYBUILD_NAME = reprotest
# The build user needs fuse access and this is not easily arranged.
export REPROTEST_TEST_DONTVARY = fileordering
+override_dh_auto_configure:
+ test $$(python3 setup.py --version) = $$(dpkg-parsechangelog -SVersion)
+ dh_auto_configure
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
VIRTUALENV_DOWNLOAD=no \
diff --git a/setup.py b/setup.py
index 3239003..d869dc3 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@
from setuptools import setup, find_packages
setup(name='reprotest',
- version='0.2',
+ version='0.3.3',
description='Build packages and check them for reproducibility.',
long_description=open('README.md', encoding='utf-8').read(),
author='Ceridwen',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list