Add debian packaging for python-cephclient

Add debian packaging infrastructure for python-cephclient.

Story: 2009101
Task: 43048

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I164020eaae198da0ff96b6e9fb05845501869f4f
This commit is contained in:
Charles Short 2021-08-18 14:23:36 -04:00
parent 284044eb2b
commit ddf814efcf
7 changed files with 89 additions and 0 deletions

View File

@ -0,0 +1,5 @@
python-cephclient (13.2.2.0-1) unstable; urgency=medium
* Initial release.
-- Chuck Short <charles.short@windriver.com> Wed, 18 Aug 2021 14:01:52 -0400

View File

@ -0,0 +1,25 @@
Source: python-cephclient
Section: admin
Priority: optional
Maintainer: Starlingx Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13), dh-python, python3-setuptools, python3-all
Build-Depends-Indep:
python3-ipaddr,
python3-requests,
python3-six
Standards-Version: 4.4.1
Package: python3-cephclient
Architecture: all
Depends: ${python3:Depends},
${misc:Depends},
python3-ipaddr,
python3-requests,
python3-six
Description: ceph client library
A client library in Python for Ceph Mgr RESTful plugin
providing REST API access to the cluster over an SSL-secured
connection. Python API is compatible with the old Python
Ceph client at https://github.com/dmsimard/python-cephclient
that no longer works in Ceph mimic because Ceph REST API
component was removed.

View File

@ -0,0 +1,43 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-cephclient
Source:
https://github.com/openstack/stx-integ/tree/master/ceph/python-cephclient/python-cephclient
Files: *
Copyright: (c) 2013-2021 Wind River Systems, Inc
Others (See individual files for more details)
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2021 Wind River Systems, Inc
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.

View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=python-cephclient
%:
dh $@ --with python3 --buildsystem=pybuild

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1 @@
extend-diff-ignore = "^[^/]*[.]egg-info/"

View File

@ -0,0 +1,7 @@
---
debname: python-cephclient
debver: 13.2.2.0
src_path: python-cephclient
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true