Add Debian infra for python-keystoneclient
Add Debian packaging infrastructure for python-keystoneclient. Story: 2009101 Task: 43791 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: Ifdfeff6ef0f1e475ab9b5f9a6c92fcd160f69a8c
This commit is contained in:
parent
e7a5c23348
commit
1f7dd55534
@ -0,0 +1,60 @@
|
||||
From 22953cad51b0b05b8e3ffc5fd420f429c2de35e4 Mon Sep 17 00:00:00 2001
|
||||
From: Charles Short <charles.short@windriver.com>
|
||||
Date: Wed, 27 Oct 2021 13:06:23 +0000
|
||||
Subject: [PATCH] Add wheel package
|
||||
|
||||
Add python3-keystoneclient-wheel
|
||||
|
||||
Signed-off-by: Charles Short <charles.short@windriver.com>
|
||||
---
|
||||
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
|
||||
|
@ -0,0 +1 @@
|
||||
0001-Add-wheel-package.patch
|
10
openstack/python-keystoneclient/debian/meta_data.yaml
Normal file
10
openstack/python-keystoneclient/debian/meta_data.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user