diff --git a/openstack/python-pankoclient/debian/deb_patches/0001-Add-wheel-package.patch b/openstack/python-pankoclient/debian/deb_patches/0001-Add-wheel-package.patch new file mode 100644 index 00000000..1faf1826 --- /dev/null +++ b/openstack/python-pankoclient/debian/deb_patches/0001-Add-wheel-package.patch @@ -0,0 +1,56 @@ +From baa05e47ddc62bed291680d9ee37d37bb8bc594c Mon Sep 17 00:00:00 2001 +From: Charles Short +Date: Wed, 27 Oct 2021 14:29:42 +0000 +Subject: [PATCH] Add wheel package + +Add python3-pankclient-wheel. + +Signed-off-by: Charles Short +--- + debian/control | 19 +++++++++++++++++++ + debian/rules | 2 +- + 2 files changed, 20 insertions(+), 1 deletion(-) + +diff --git a/debian/control b/debian/control +index 007fc55..24470c7 100644 +--- a/debian/control ++++ b/debian/control +@@ -83,3 +83,22 @@ Description: Client library for OpenStack panko server - Python 3.x + command-line tool (openstack event). + . + This package provides the Python 3.x module. ++ ++Package: python3-pankoclient-wheel ++Architecture: all ++Depends: ++ python3-wheel, ++ ${misc:Depends}, ++ ${python3:Depends}, ++Description: Client library for OpenStack panko server - Python 3.x ++ The Panko project is an event storage service that provides the ability to ++ store and querying event data generated by Ceilometer with potentially other ++ sources. ++ . ++ Panko is a component of the Telemetry project. ++ . ++ This is a client library for Panko built on the Panko API. It provides a ++ Python API (the pankoclient module) and a OSC (the openstackclient CLI) ++ command-line tool (openstack event). ++ . ++ This package contains the Python wheel. +diff --git a/debian/rules b/debian/rules +index 612ce0e..d770e0f 100755 +--- a/debian/rules ++++ b/debian/rules +@@ -12,7 +12,7 @@ override_dh_auto_build: + echo "Do nothing..." + + override_dh_auto_install: +- pkgos-dh_auto_install --no-py2 ++ pkgos-dh_auto_install --no-py2 --wheel + + override_dh_auto_test: + ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) +-- +2.30.2 + diff --git a/openstack/python-pankoclient/debian/deb_patches/series b/openstack/python-pankoclient/debian/deb_patches/series new file mode 100644 index 00000000..c200b057 --- /dev/null +++ b/openstack/python-pankoclient/debian/deb_patches/series @@ -0,0 +1 @@ +0001-Add-wheel-package.patch diff --git a/openstack/python-pankoclient/debian/meta_data.yaml b/openstack/python-pankoclient/debian/meta_data.yaml new file mode 100644 index 00000000..85f80cda --- /dev/null +++ b/openstack/python-pankoclient/debian/meta_data.yaml @@ -0,0 +1,10 @@ +--- +debname: python-pankoclient +debver: 1.1.0-2 +dl_path: + name: python-pankoclient-debian-1.1.0-2.tar.gz + url: https://salsa.debian.org/openstack-team/clients/python-pankoclient/-/archive/debian/1.1.0-2/python-pankoclient-debian-1.1.0-2.tar.gz + md5sum: 4b623a6b3ad649b29e05fc83f6f03762 +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: true