diff --git a/openstack/python-keystoneclient/debian/deb_patches/0001-Add-wheel-package.patch b/openstack/python-keystoneclient/debian/deb_patches/0001-Add-wheel-package.patch new file mode 100644 index 00000000..eeeea21d --- /dev/null +++ b/openstack/python-keystoneclient/debian/deb_patches/0001-Add-wheel-package.patch @@ -0,0 +1,60 @@ +From 22953cad51b0b05b8e3ffc5fd420f429c2de35e4 Mon Sep 17 00:00:00 2001 +From: Charles Short +Date: Wed, 27 Oct 2021 13:06:23 +0000 +Subject: [PATCH] Add wheel package + +Add python3-keystoneclient-wheel + +Signed-off-by: Charles Short +--- + debian/control | 23 +++++++++++++++++++++++ + debian/rules | 2 +- + 2 files changed, 24 insertions(+), 1 deletion(-) + +diff --git a/debian/control b/debian/control +index 01934835..b7d9461f 100644 +--- a/debian/control ++++ b/debian/control +@@ -110,3 +110,26 @@ Description: client library for the OpenStack Keystone API - Python 3.x + the "python3-openstackclient" package. + . + This package contains the Python 3.x module. ++ ++Package: python3-keystoneclient-wheel ++Architecture: all ++Depends: ++ python3-wheel, ++ ${misc:Depends}, ++ ${python3:Depends}, ++Description: client library for the OpenStack Keystone API - Python 3.x ++ This is the identity service used by OpenStack for authentication (authN) ++ and high-level authorization (authZ). It currently supports token-based ++ authN with user/service authZ, and is scalable to support OAuth, SAML, ++ and OpenID in future versions. Out of the box, Keystone uses SQLite for ++ its identity store database, with the option to connect to external LDAP. ++ . ++ This is a client for the OpenStack Keystone API. There's a Python API ++ (the "keystoneclient" module), and a command-line script ("keystone"). ++ . ++ Installing this package gets you a shell command, that you can use to ++ interact with Keystone's API. Note that the "keystone" command line is ++ currently deprecated in favor of the "openstack" one available within ++ the "python3-openstackclient" package. ++ . ++ This package contains the Python wheel. +diff --git a/debian/rules b/debian/rules +index 01ef1e5c..cb9b228f 100755 +--- a/debian/rules ++++ b/debian/rules +@@ -21,7 +21,7 @@ override_dh_auto_test: + echo "Do nothing..." + + override_dh_auto_install: +- pkgos-dh_auto_install --no-py2 --in-tmp ++ pkgos-dh_auto_install --no-py2 --in-tmp --wheel + + ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + pkgos-dh_auto_test --no-py2 +-- +2.30.2 + diff --git a/openstack/python-keystoneclient/debian/deb_patches/series b/openstack/python-keystoneclient/debian/deb_patches/series new file mode 100644 index 00000000..c200b057 --- /dev/null +++ b/openstack/python-keystoneclient/debian/deb_patches/series @@ -0,0 +1 @@ +0001-Add-wheel-package.patch diff --git a/openstack/python-keystoneclient/debian/meta_data.yaml b/openstack/python-keystoneclient/debian/meta_data.yaml new file mode 100644 index 00000000..6592630a --- /dev/null +++ b/openstack/python-keystoneclient/debian/meta_data.yaml @@ -0,0 +1,10 @@ +--- +debname: python-keystoneclient +debver: 1:4.1.1-2 +dl_path: + name: python-keystoneclient-debian-4.1.1-2.tar.gz + url: https://salsa.debian.org/openstack-team/clients/python-keystoneclient/-/archive/debian/4.1.1-2/python-keystoneclient-debian-4.1.1-2.tar.gz + md5sum: 856c51c82e694145279d06e36b8225f4 +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: true