Commit e67ef899 authored by Thomas Goirand's avatar Thomas Goirand

Removed Python 2 support.

parent fe5574fb
......@@ -5,6 +5,7 @@ python-saharaclient (2.2.0-1) experimental; urgency=medium
[ Thomas Goirand ]
* New upstream release.
* Removed Python 2 support.
-- Thomas Goirand <zigo@debian.org> Sat, 23 Mar 2019 22:21:36 +0100
......
......@@ -8,82 +8,38 @@ Uploaders:
Build-Depends:
debhelper (>= 10),
dh-python,
openstack-pkg-tools (>= 66~),
python-all,
python-pbr (>= 2.0.0),
python-setuptools,
openstack-pkg-tools,
python3-all,
python3-pbr (>= 2.0.0),
python3-pbr,
python3-setuptools,
python3-sphinx (>= 1.6.2) <!nodoc>,
python3-sphinx <!nodoc>,
Build-Depends-Indep:
python-babel,
python-coverage,
python-hacking (>= 0.10.0),
python-keystoneauth1 (>= 3.4.0),
python-mock,
python-openstackclient (>= 3.12.0),
python-osc-lib (>= 1.11.0),
python-oslo.i18n (>= 3.15.3),
python-oslo.log (>= 3.36.0),
python-oslo.serialization (>= 2.18.0),
python-oslo.utils (>= 3.33.0),
python-oslotest (>= 3.2.0),
python-pep8,
python-requests (>= 2.14.2),
python-requests-mock (>= 1.2.0),
python-six,
python-stestr,
python3-babel,
python3-coverage,
python3-hacking,
python3-keystoneauth1 (>= 3.4.0),
python3-coverage,
python3-hacking,
python3-keystoneauth1,
python3-mock,
python3-openstackclient (>= 3.12.0),
python3-openstackdocstheme (>= 1.18.1) <!nodoc>,
python3-osc-lib (>= 1.11.0),
python3-oslo.i18n (>= 3.15.3),
python3-oslo.log (>= 3.36.0),
python3-oslo.serialization (>= 2.18.0),
python3-oslo.utils (>= 3.33.0),
python3-oslotest (>= 3.2.0),
python3-openstackclient,
python3-openstackdocstheme <!nodoc>,
python3-osc-lib,
python3-oslo.i18n,
python3-oslo.log,
python3-oslo.serialization,
python3-oslo.utils,
python3-oslotest,
python3-pep8,
python3-requests (>= 2.14.2),
python3-requests-mock (>= 1.2.0),
python3-requests,
python3-requests-mock,
python3-six,
python3-stestr,
subunit,
Standards-Version: 4.1.3
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-saharaclient
Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-saharaclient.git
Homepage: https://github.com/openstack/python-saharaclient
Package: python-saharaclient
Architecture: all
Depends:
python-babel,
python-keystoneauth1 (>= 3.4.0),
python-openstackclient (>= 3.12.0),
python-osc-lib (>= 1.11.0),
python-oslo.i18n (>= 3.15.3),
python-oslo.log (>= 3.36.0),
python-oslo.serialization (>= 2.18.0),
python-oslo.utils (>= 3.33.0),
python-pbr (>= 2.0.0),
python-requests (>= 2.14.2),
python-six,
${misc:Depends},
${python:Depends},
Description: Client library for Openstack Sahara API server - Python 2.7 module
Sahara aims to provide users with simple means to provision a Hadoop cluster
by specifying several parameters like Hadoop version, cluster topology, nodes
hardware details and a few more.
.
This is a client for the Sahara which uses the OpenStack Image API. There's a
Python API (the "saharaclient" module), and a command-line script ("sahara").
.
This package provides the Python 2.7 module.
Package: python-saharaclient-doc
Build-Profiles: <!nodoc>
Architecture: all
......@@ -105,15 +61,15 @@ Package: python3-saharaclient
Architecture: all
Depends:
python3-babel,
python3-keystoneauth1 (>= 3.4.0),
python3-openstackclient (>= 3.12.0),
python3-osc-lib (>= 1.11.0),
python3-oslo.i18n (>= 3.15.3),
python3-oslo.log (>= 3.36.0),
python3-oslo.serialization (>= 2.18.0),
python3-oslo.utils (>= 3.33.0),
python3-pbr (>= 2.0.0),
python3-requests (>= 2.14.2),
python3-keystoneauth1,
python3-openstackclient,
python3-osc-lib,
python3-oslo.i18n,
python3-oslo.log,
python3-oslo.serialization,
python3-oslo.utils,
python3-pbr,
python3-requests,
python3-six,
${misc:Depends},
${python3:Depends},
......
......@@ -3,18 +3,24 @@
include /usr/share/openstack-pkg-tools/pkgos.make
%:
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
override_dh_auto_clean:
rm -rf doc/build
override_dh_auto_build:
echo "Do nothing..."
override_dh_auto_install:
pkgos-dh_auto_install
pkgos-dh_auto_install --no-py2
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
pkgos-dh_auto_test 'saharaclient\.tests\.unit.*'
pkgos-dh_auto_test --no-py2 'saharaclient\.tests\.unit.*'
endif
override_dh_installman:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -b man doc/source doc/build/man
cp doc/build/man/saharaclient.1 doc/build/man/sahara.1
dh_installman -O--buildsystem=python_distutils
......@@ -25,17 +31,3 @@ ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -b html doc/source $(CURDIR)/debian/python-saharaclient-doc/usr/share/doc/python-saharaclient-doc/html
dh_sphinxdoc -O--buildsystem=python_distutils
endif
override_dh_clean:
dh_clean -O--buildsystem=python_distutils
rm -rf doc/build
# Commands not to run
override_dh_installcatalogs:
override_dh_installemacsen override_dh_installifupdown:
override_dh_installinfo override_dh_installmenu override_dh_installmime:
override_dh_installmodules override_dh_installlogcheck:
override_dh_installpam override_dh_installppp override_dh_installudev:
override_dh_installwm:
override_dh_installxfonts override_dh_gconf override_dh_icons:
override_dh_perl override_dh_usrlocal:
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