Add debian packaging for python-fmclient

Add packaging infrastructure for python-fmclient.

Story: 2009101
Task: 43050

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I0691edccd28199e0cdb17994da68d4f4bb80eed7
This commit is contained in:
Charles Short 2021-08-18 14:58:11 -04:00
parent 5296a75fbc
commit 9c636ed5c2
9 changed files with 90 additions and 0 deletions

View File

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

View File

@ -0,0 +1,25 @@
Source: python-fmclient
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 12), dh-python, python3-setuptools, python3-all, python3-pbr
Build-Depends-Indep:
python3-oslo.utils,
python3-prettytable,
python3-keystoneauth1,
python3-six,
python3-httplib2
Standards-Version: 4.4.1
Package: python3-fmclient
Architecture: all
Depends: ${python3:Depends},
${misc:Depends},
python3-oslo.utils,
python3-prettytable,
python3-keystoneauth1,
python3-six,
python3-httplib2,
bash-completion
Description: Client library for fault management
A python client library for Fault Management

View File

@ -0,0 +1,42 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-fmclient
Source: https://opendev.org/starlingx/fault
Files: *
Copyright: (c) 2013-2021 Wind River Systems, Inc
Copyright: 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 @@
etc/bash_completion.d

View File

@ -0,0 +1 @@
tools/fm.bash_completion etc/bash_completion.d

View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=python-fmclient
%:
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-fmclient
debver: 1.0
src_path: fmclient
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true