Added initial debian folder.

This commit is contained in:
Thomas Goirand
2016-07-12 16:08:11 +02:00
parent 9667f426d0
commit ebd479ad4e
10 changed files with 204 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@@ -0,0 +1,5 @@
python-osc-lib (0.3.0-1) experimental; urgency=medium
* Initial release. (Closes: #830874)
-- Thomas Goirand <zigo@debian.org> Tue, 12 Jul 2016 15:05:46 +0200

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

108
debian/control vendored Normal file
View File

@@ -0,0 +1,108 @@
Source: python-osc-lib
Section: python
Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: Thomas Goirand <zigo@debian.org>,
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
python-setuptools (>= 52~),
python-sphinx,
python3-all,
python3-setuptools,
Build-Depends-Indep: python-babel (>= 2.3.4),
python-cliff (>= 1.15.0),
python-coverage,
python-fixtures (>= 3.0.0),
python-hacking,
python-keystoneauth1 (>= 2.7.0),
python-mock (>= 2.0),
python-os-client-config (>= 1.13.1),
python-os-testr (>= 0.7.0),
python-oslo.i18n (>= 2.1.0),
python-oslo.utils (>= 3.15.0),
python-oslosphinx (>= 2.5.0),
python-oslotest (>= 1.10.0),
python-osprofiler (>= 1.3.0),
python-pbr (>= 1.6),
python-requests-mock (>= 1.0),
python-simplejson (>= 2.2.0),
python-six (>= 1.9.0),
python-stevedore (>= 1.10.0),
python-testtools (>= 1.4.0),
python3-babel (>= 2.3.4),
python3-cliff (>= 1.15.0),
python3-fixtures (>= 3.0.0),
python3-keystoneauth1 (>= 2.7.0),
python3-mock (>= 2.0),
python3-os-client-config (>= 1.13.1),
python3-os-testr (>= 0.7.0),
python3-oslo.i18n (>= 2.1.0),
python3-oslo.utils (>= 3.15.0),
python3-oslosphinx (>= 2.5.0),
python3-oslotest (>= 1.10.0),
python3-osprofiler (>= 1.3.0),
python3-pbr (>= 1.6),
python3-requests-mock (>= 1.0),
python3-simplejson (>= 2.2.0),
python3-six (>= 1.9.0),
python3-stevedore (>= 1.10.0),
python3-testtools (>= 1.4.0),
testrepository,
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/openstack/python-osc-lib.git/
Vcs-Git: https://anonscm.debian.org/git/openstack/python-osc-lib.git
Homepage: http://docs.openstack.org/developer/osc-lib
Package: python-osc-lib
Architecture: all
Depends: python-babel (>= 2.3.4),
python-cliff (>= 1.15.0),
python-keystoneauth1 (>= 2.7.0),
python-os-client-config (>= 1.13.1),
python-oslo.i18n (>= 2.1.0),
python-oslo.utils (>= 3.15.0),
python-pbr (>= 1.6),
python-simplejson (>= 2.2.0),
python-six (>= 1.9.0),
python-stevedore (>= 1.10.0),
${misc:Depends},
${python:Depends},
Suggests: python-osc-lib-doc,
Description: OpenStackClient Library - Python 2.7
OpenStackClient (aka OSC) is a command-line client for OpenStack. osc-lib is a
package of common support modules for writing OSC plugins.
.
This package contains the Python 2.7 module.
Package: python3-osc-lib
Architecture: all
Depends: python3-babel (>= 2.3.4),
python3-cliff (>= 1.15.0),
python3-keystoneauth1 (>= 2.7.0),
python3-os-client-config (>= 1.13.1),
python3-oslo.i18n (>= 2.1.0),
python3-oslo.utils (>= 3.15.0),
python3-pbr (>= 1.6),
python3-simplejson (>= 2.2.0),
python3-six (>= 1.9.0),
python3-stevedore (>= 1.10.0),
${misc:Depends},
${python3:Depends},
Suggests: python-osc-lib-doc,
Description: OpenStackClient Library - Python 3.x
OpenStackClient (aka OSC) is a command-line client for OpenStack. osc-lib is a
package of common support modules for writing OSC plugins.
.
This package contains the Python 3.x module.
Package: python-osc-lib-doc
Section: doc
Architecture: all
Depends: ${misc:Depends},
${sphinxdoc:Depends},
Description: OpenStackClient Library - doc
OpenStackClient (aka OSC) is a command-line client for OpenStack. osc-lib is a
package of common support modules for writing OSC plugins.
.
This package contains the documentation.

31
debian/copyright vendored Normal file
View File

@@ -0,0 +1,31 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: osc-lib
Source: http://docs.openstack.org/developer/osc-lib
Files: *
Copyright: (c) 2012-2014, OpenStack Foundation <openstack-dev@lists.openstack.org>
(c) 2013, Hewlett-Packard Development Company, L.P.
(c) 2013, Nebula Inc.
(c) 2015, Dean Troyer
(c) 2016, NEC Corporation
License: Apache-2
Files: debian/*
Copyright: (c) 2016, Thomas Goirand <zigo@debian.org>
License: Apache-2
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
.
http://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.

9
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,9 @@
[DEFAULT]
upstream-branch = master
debian-branch = debian/unstable
upstream-tag = %(version)s
compression = xz
[buildpackage]
export-dir = ../build-area/

9
debian/python-osc-lib-doc.doc-base vendored Normal file
View File

@@ -0,0 +1,9 @@
Document: python-osc-lib-doc
Title: osc-lib Documentation
Author: N/A
Abstract: Sphinx documentation for osc-lib
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-osc-lib-doc/html/index.html
Files: /usr/share/doc/python-osc-lib-doc/html/*

35
debian/rules vendored Executable file
View File

@@ -0,0 +1,35 @@
#!/usr/bin/make -f
UPSTREAM_GIT := https://github.com/openstack/osc-lib.git
include /usr/share/openstack-pkg-tools/pkgos.make
%:
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
override_dh_auto_install:
pkgos-dh_auto_install
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
pkgos-dh_auto_test
endif
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
sphinx-build -b html doc/source debian/python-osc-lib-doc/usr/share/doc/python-osc-lib-doc/html
dh_sphinxdoc -O--buildsystem=python_distutils
endif
override_dh_clean:
dh_clean -O--buildsystem=python_distutils
rm -rf build
# Commands not to run
override_dh_installcatalogs:
override_dh_installemacsen override_dh_installifupdown:
override_dh_installinfo override_dh_installmenu override_dh_installmime:
override_dh_installmodules override_dh_installlogcheck:
override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
override_dh_installcron override_dh_installdebconf:
override_dh_installlogrotate override_dh_installgsettings:

1
debian/source/format vendored Normal file
View File

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

1
debian/source/options vendored Normal file
View File

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

4
debian/watch vendored Normal file
View File

@@ -0,0 +1,4 @@
version=3
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
https://pypi.debian.net/osc-lib/osc-lib-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))