Commit 39300ff2 authored by Thomas Goirand's avatar Thomas Goirand
Browse files

Initial packaging.

parent caa75c1b
python-oslo.limit (1.4.0-1) unstable; urgency=medium
* Initial release. (Closes: #994546)
-- Thomas Goirand <zigo@debian.org> Fri, 17 Sep 2021 16:31:55 +0200
Source: python-oslo.limit
Section: python
Priority: optional
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Uploaders:
Thomas Goirand <zigo@debian.org>,
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 <!nodoc>,
python3-openstacksdk,
python3-oslo.config,
python3-oslo.i18n,
python3-oslo.log,
python3-oslotest,
python3-stestr,
python3-subunit,
python3-sphinxcontrib.apidoc <!nodoc>,
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: <!nodoc>
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.
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 <openstack-discuss@lists.openstack.org>
(c) 2020-2021, Red Hat, Inc
License: Apache-2
Files: debian/*
Copyright: (c) 2019, 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.
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/*
#!/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
extend-diff-ignore = "^[^/]*[.]egg-info/"
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)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment