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
changes/74/805074/6
Charles Short 1 year ago
parent 5296a75fbc
commit 9c636ed5c2
  1. 5
      python-fmclient/debian/deb_folder/changelog
  2. 25
      python-fmclient/debian/deb_folder/control
  3. 42
      python-fmclient/debian/deb_folder/copyright
  4. 1
      python-fmclient/debian/deb_folder/python3-fmclient.dirs
  5. 1
      python-fmclient/debian/deb_folder/python3-fmclient.install
  6. 7
      python-fmclient/debian/deb_folder/rules
  7. 1
      python-fmclient/debian/deb_folder/source/format
  8. 1
      python-fmclient/debian/deb_folder/source/options
  9. 7
      python-fmclient/debian/meta_data.yaml

@ -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

@ -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

@ -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'.

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

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

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

@ -0,0 +1,7 @@
---
debname: python-fmclient
debver: 1.0
src_path: fmclient
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true
Loading…
Cancel
Save