[Python-modules-commits] [django-guardian] 02/02: Don't hard code version
Brian May
bam at moszumanska.debian.org
Mon Apr 4 08:18:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
bam pushed a commit to branch master
in repository django-guardian.
commit cf5afae5c72f2c8ecf650d3eae192e12a920c93b
Author: Brian May <bam at debian.org>
Date: Mon Apr 4 17:48:46 2016 +1000
Don't hard code version
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index ccf0b54..0cedf1c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
# -*- makefile -*-
export PYBUILD_NAME=django-guardian
-export SETUPTOOLS_SCM_PRETEND_VERSION=1.4.4
+export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell cat django_guardian.egg-info/PKG-INFO | sed -n 's/^Version: //p')
%:
dh $@ --with python2,python3 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-guardian.git
More information about the Python-modules-commits
mailing list