diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..9d15ec3dd1349e7f9493d49d375d91043e1ca19d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-oslo.limit (1.4.0-1) unstable; urgency=medium + + * Initial release. (Closes: #994546) + + -- Thomas Goirand Fri, 17 Sep 2021 16:31:55 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..95fb663b5224e9f20a2108ffaec45c841a2c9bc8 --- /dev/null +++ b/debian/control @@ -0,0 +1,60 @@ +Source: python-oslo.limit +Section: python +Priority: optional +Maintainer: Debian OpenStack +Uploaders: + Thomas Goirand , +Build-Depends: + debhelper-compat (= 11), + dh-python, + openstack-pkg-tools, + python3-all, + python3-setuptools, + python3-sphinx, +Build-Depends-Indep: + python3-fixtures, + python3-hacking, + python3-keystoneauth1, + python3-openstackdocstheme , + python3-openstacksdk, + python3-oslo.config, + python3-oslo.i18n, + python3-oslo.log, + python3-oslotest, + python3-stestr, + python3-subunit, + python3-sphinxcontrib.apidoc , +Standards-Version: 4.5.1 +Vcs-Browser: https://salsa.debian.org/openstack-team/oslo/python-oslo.limit +Vcs-Git: https://salsa.debian.org/openstack-team/oslo/python-oslo.limit.git +Homepage: https://docs.openstack.org/oslo.limit/latest/ + +Package: python3-oslo.limit +Architecture: all +Depends: + python3-keystoneauth1, + python3-openstacksdk, + python3-oslo.config, + python3-oslo.i18n, + python3-oslo.log, + ${misc:Depends}, + ${python3:Depends}, +Suggests: + python-oslo.limit-doc, +Description: OpenStack limit enforcement library to assist with quota calculation + Oslo.limit is the limit enforcement library to assist with quota calculation. + It aims to provide support for quota enforcement across all OpenStack services. + It provides functions such as get_project_limits() and enforce_limits(). + +Package: python-oslo.limit-doc +Build-Profiles: +Section: doc +Architecture: all +Depends: + ${misc:Depends}, + ${sphinxdoc:Depends}, +Description: OpenStack limit enforcement library to assist with quota calculation - doc + Oslo.limit is the limit enforcement library to assist with quota calculation. + It aims to provide support for quota enforcement across all OpenStack services. + . + This package contains the documentation. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..904891655d2217a6f5829a606b36ee14fce953d7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: oslo.limit +Source: https://docs.openstack.org/oslo.limit/latest/ + +Files: * +Copyright: (c) 2010-2021, OpenStack Foundation + (c) 2020-2021, Red Hat, Inc +License: Apache-2 + +Files: debian/* +Copyright: (c) 2019, Thomas Goirand +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. diff --git a/debian/python-oslo.limit-doc.doc-base b/debian/python-oslo.limit-doc.doc-base new file mode 100644 index 0000000000000000000000000000000000000000..678b1108f1705add50d10ad17fac51536921c69a --- /dev/null +++ b/debian/python-oslo.limit-doc.doc-base @@ -0,0 +1,9 @@ +Document: python-oslo.limit-doc +Title: oslo.limit Documentation +Author: N/A +Abstract: Sphinx documentation for oslo.limit +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-oslo.limit-doc/html/index.html +Files: /usr/share/doc/python-oslo.limit-doc/html/* diff --git a/debian/python3-oslo.limit.install b/debian/python3-oslo.limit.install new file mode 100644 index 0000000000000000000000000000000000000000..74e4e23b0176541176f4e5f591bcbe3c6b5e4cde --- /dev/null +++ b/debian/python3-oslo.limit.install @@ -0,0 +1 @@ +/usr diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..227891883d56eafe698fe501c4599df86dbafd07 --- /dev/null +++ b/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +UPSTREAM_GIT := https://github.com/openstack/oslo.limit.git +include /usr/share/openstack-pkg-tools/pkgos.make + +%: + dh $@ --buildsystem=python_distutils --with python3,sphinxdoc + +override_dh_auto_clean: + rm -rf build .stestr + find . -iname '*.pyc' -delete + for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done + +override_dh_auto_build: + echo "Do nothing..." + +override_dh_auto_install: + echo "Do nothing..." + +override_dh_install: + pkgos-dh_auto_install --no-py2 --in-tmp + +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) + pkgos-dh_auto_test --no-py2 +endif + + dh_install + +override_dh_auto_test: + echo "Do nothing..." + +override_dh_sphinxdoc: +ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) + PYTHONPATH=. python3 -m sphinx -b html doc/source debian/python-oslo.limit-doc/usr/share/doc/python-oslo.limit-doc/html + dh_sphinxdoc +endif diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000000000000000000000000000000000000..cb61fa5267b6ad8b3bbc2a612754b79dae466292 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000000000000000000000000000000000000..bea08a0f847d7864f76825e26d9803740a5158ba --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/oslo.limit/oslo.limit-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) +