Defines OSLO_PACKAGE_VERSION
This commit is contained in:
parent
0f62cdd25d
commit
dfd2b771b8
|
@ -5,6 +5,7 @@ Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
|||
Uploaders: Thomas Goirand <zigo@debian.org>,
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-python,
|
||||
openstack-pkg-tools,
|
||||
python-all,
|
||||
python-pbr,
|
||||
python-setuptools,
|
||||
|
|
|
@ -4,7 +4,8 @@ PYTHONS:=$(shell pyversions -vr)
|
|||
PYTHON3S:=$(shell py3versions -vr)
|
||||
|
||||
UPSTREAM_GIT = git://github.com/openstack/python-gnocchiclient.git
|
||||
-include /usr/share/openstack-pkg-tools/pkgos.make
|
||||
include /usr/share/openstack-pkg-tools/pkgos.make
|
||||
export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d' ' -f2 | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' | head -n 1)
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
|
||||
|
|
Loading…
Reference in New Issue