Add Debian infrastructure for python-gnocchiclient
Add Debian package infrastructure for python-gnocchiclient. Story: 2009101 Task: 43788 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: I5205f27988f9f1c2066aa0966a8ee0827405631a
This commit is contained in:
parent
e7a5c23348
commit
7bda415fa4
@ -0,0 +1,55 @@
|
|||||||
|
From 1cdba6b7884878b91b34321d8e6cb48aadb18165 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Charles Short <charles.short@windriver.com>
|
||||||
|
Date: Tue, 26 Oct 2021 23:51:34 +0000
|
||||||
|
Subject: [PATCH] Add python3 wheel
|
||||||
|
|
||||||
|
Add python3-gnocchiclient-wheel
|
||||||
|
|
||||||
|
Signed-off-by: Charles Short <charles.short@windriver.com>
|
||||||
|
---
|
||||||
|
debian/control | 18 ++++++++++++++++++
|
||||||
|
debian/rules | 2 +-
|
||||||
|
2 files changed, 19 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/debian/control b/debian/control
|
||||||
|
index c80f5f7..e4341b6 100644
|
||||||
|
--- a/debian/control
|
||||||
|
+++ b/debian/control
|
||||||
|
@@ -81,3 +81,21 @@ Description: bindings to the OpenStack Gnocchi API - Python 3.x
|
||||||
|
HTTP REST API.
|
||||||
|
.
|
||||||
|
This package contains the Python 3.x module.
|
||||||
|
+
|
||||||
|
+Package: python3-gnocchiclient-wheel
|
||||||
|
+Architecture: all
|
||||||
|
+Depends:
|
||||||
|
+ python3-wheel,
|
||||||
|
+ ${misc:Depends},
|
||||||
|
+ ${python3:Depends},
|
||||||
|
+Description: bindings to the OpenStack Gnocchi API - Python 3.x
|
||||||
|
+ This is a client for OpenStack gnocchi API. There's a Python API (the
|
||||||
|
+ gnocchiclient module), and a command-line script. Each implements the entire
|
||||||
|
+ OpenStack Gnocchi API.
|
||||||
|
+ .
|
||||||
|
+ Gnocchi is a service for managing a set of resources and storing metrics about
|
||||||
|
+ them, in a scalable and resilient way. Its functionalities are exposed over an
|
||||||
|
+ HTTP REST API.
|
||||||
|
+ .
|
||||||
|
+ This package contains the Python wheel.
|
||||||
|
+
|
||||||
|
diff --git a/debian/rules b/debian/rules
|
||||||
|
index df1b32a..0cee15d 100755
|
||||||
|
--- a/debian/rules
|
||||||
|
+++ b/debian/rules
|
||||||
|
@@ -13,7 +13,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
|
||||||
|
|
||||||
|
# Generate bash completion
|
||||||
|
mkdir -p $(CURDIR)/debian/python3-gnocchiclient/usr/share/bash-completion/completions
|
||||||
|
--
|
||||||
|
2.30.2
|
||||||
|
|
1
openstack/python-gnocchiclient/debian/deb_patches/series
Normal file
1
openstack/python-gnocchiclient/debian/deb_patches/series
Normal file
@ -0,0 +1 @@
|
|||||||
|
0001-Add-python3-wheel.patch
|
10
openstack/python-gnocchiclient/debian/meta_data.yaml
Normal file
10
openstack/python-gnocchiclient/debian/meta_data.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
debname: python-gnocchiclient
|
||||||
|
debver: 7.0.6-1
|
||||||
|
dl_path:
|
||||||
|
name: python-gnocchiclient-debian-7.0.6-1.tar.gz
|
||||||
|
url: https://salsa.debian.org/openstack-team/clients/python-gnocchiclient/-/archive/debian/7.0.6-1/python-gnocchiclient-debian-7.0.6-1.tar.gz
|
||||||
|
md5sum: 3ee6a1ee65fb1a4dbd86038257b33c04
|
||||||
|
revision:
|
||||||
|
dist: $STX_DIST
|
||||||
|
PKG_GITREVCOUNT: true
|
Loading…
x
Reference in New Issue
Block a user