Commit 364419dd authored by Thomas Goirand's avatar Thomas Goirand

Removed Python 2 support.

parent a42320a8
python-hplefthandclient (1.0.1-4) UNRELEASED; urgency=medium
python-hplefthandclient (1.0.1-3) unstable; urgency=medium
[ Ondřej Nový ]
* d/control: Use team+openstack@tracker.debian.org as maintainer
......@@ -6,8 +6,9 @@ python-hplefthandclient (1.0.1-4) UNRELEASED; urgency=medium
[ Thomas Goirand ]
* Remove Mehdi and Julien from uploaders (Closes: #928572).
* Removed Python 2 support.
-- Thomas Goirand <zigo@debian.org> Tue, 07 May 2019 09:19:45 +0200
-- Thomas Goirand <zigo@debian.org> Sat, 27 Jul 2019 18:17:43 +0200
python-hplefthandclient (1.0.1-2) unstable; urgency=medium
......
......@@ -7,12 +7,10 @@ Uploaders:
Build-Depends:
debhelper-compat (= 9),
dh-python,
python-all,
python-httplib2,
python-nose,
python-nose-testconfig,
python-setuptools,
python-sphinx,
openstack-pkg-tools (>= 99~),
python3-httplib2,
python3-nose,
python3-sphinx,
python3-all,
python3-setuptools,
Standards-Version: 4.1.3
......@@ -20,20 +18,6 @@ Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-hplefthandcli
Vcs-Git: https://salsa.debian.org/openstack-team/python/python-hplefthandclient.git
Homepage: http://packages.python.org/hplefthandclient
Package: python-hplefthandclient
Architecture: all
Depends:
${misc:Depends},
${python:Depends},
Description: HP LeftHand/StoreVirtual HTTP REST Client - Python 2.x
This is a Client library that can talk to the HP LeftHand/StoreVirtual Storage
array. The HP LeftHand storage array has a REST web service interface.
.
This client library implements a simple interface to talk with that REST
interface using the Python httplib2 http library.
.
This package contains the Python 2.x module.
Package: python-hplefthandclient-doc
Section: doc
Architecture: all
......
#!/usr/bin/make -f
PYTHONS:=$(shell pyversions -vr)
PYTHON3S:=$(shell py3versions -vr)
UPSTREAM_GIT = https://github.com/hpe-storage/python-lefthandclient.git
-include /usr/share/openstack-pkg-tools/pkgos.make
include /usr/share/openstack-pkg-tools/pkgos.make
%:
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
override_dh_install:
set -e && for pyvers in $(PYTHONS); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python-hplefthandclient; \
done
set -e && for pyvers in $(PYTHON3S); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python3-hplefthandclient; \
done
#override_dh_auto_test:
dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
override_dh_auto_clean:
echo "Do nothing..."
override_dh_auto_build:
echo "Do nothing..."
override_dh_auto_test:
echo "Do nothing..."
override_dh_auto_install:
pkgos-dh_auto_install --no-py2
#ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
# set -e && cd test && nosetests --tc-file config.ini
#endif
override_dh_sphinxdoc:
sphinx-build -b html docs debian/python-hplefthandclient-doc/usr/share/doc/python-hplefthandclient-doc/html
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
python3 -m sphinx -b html docs debian/python-hplefthandclient-doc/usr/share/doc/python-hplefthandclient-doc/html
rm debian/python-hplefthandclient-doc/usr/share/doc/python-hplefthandclient-doc/html/_static/empty_dir
dh_sphinxdoc -O--buildsystem=python_distutils
dh_sphinxdoc
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment