From 0f49ac17dbe9d077f127d91e463663da61a7f979 Mon Sep 17 00:00:00 2001 From: sufang Date: Tue, 31 Jan 2023 11:14:53 +0800 Subject: [PATCH] Import Debian changes 1.0.1-ok1 sphinxcontrib-log-cabinet (1.0.1-ok1) yangtze; urgency=medium * Build for openkylin. --- debian/changelog | 5 ++ debian/control | 24 +++++ debian/copyright | 90 +++++++++++++++++++ debian/patches/series | 1 + debian/python3-sphinxcontrib-log-cabinet.docs | 1 + debian/rules | 7 ++ debian/source/format | 1 + debian/watch | 4 + 8 files changed, 133 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/patches/series create mode 100644 debian/python3-sphinxcontrib-log-cabinet.docs create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a8f8788 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +sphinxcontrib-log-cabinet (1.0.1-ok1) yangtze; urgency=medium + + * Build for openkylin. + + -- sufang Tue, 31 Jan 2023 11:14:53 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..26e2354 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: sphinxcontrib-log-cabinet +Section: python +Priority: optional +Maintainer: OpenKylin Developers +Build-Depends: debhelper-compat (= 13), + dh-python, + python3-all, + python3-setuptools, + python3-sphinx, +Standards-Version: 4.6.1 +Homepage: https://github.com/davidism/sphinxcontrib-log-cabinet +Vcs-Git: https://gitee.com/openkylin/sphinxcontrib-log-cabinet.git +Vcs-Browser: https://gitee.com/openkylin/sphinxcontrib-log-cabinet + +Package: python3-sphinxcontrib-log-cabinet +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, +Recommends: ${python3:Recommends}, +Suggests: ${python3:Suggests}, +Description: Organize changelog directives in Sphinx docs + Organize changelogs generated by ``versionadded``, ``versionchanged``, + ``deprecated`` directives. The log will be sorted by newest to oldest + version. For HTML docs, older versions will be collapsed by default. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6c74bda --- /dev/null +++ b/debian/copyright @@ -0,0 +1,90 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: sphinxcontrib-log-cabinet +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: CHANGES.rst + MANIFEST.in + PKG-INFO + README.rst + setup.cfg + setup.py + src/sphinxcontrib/__init__.py + src/sphinxcontrib/log_cabinet.py + src/sphinxcontrib_log_cabinet.egg-info/PKG-INFO + src/sphinxcontrib_log_cabinet.egg-info/SOURCES.txt + src/sphinxcontrib_log_cabinet.egg-info/dependency_links.txt + src/sphinxcontrib_log_cabinet.egg-info/namespace_packages.txt + src/sphinxcontrib_log_cabinet.egg-info/requires.txt + src/sphinxcontrib_log_cabinet.egg-info/top_level.txt +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: LICENSE.rst +Copyright: 2017 David Lord +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + . + On Debian systems, the complete text of the BSD 3-clause "New" or "Revised" + License can be found in `/usr/share/common-licenses/BSD'. + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. + +#---------------------------------------------------------------------------- +# License file: LICENSE.rst + Copyright 2017 David Lord + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/python3-sphinxcontrib-log-cabinet.docs b/debian/python3-sphinxcontrib-log-cabinet.docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/debian/python3-sphinxcontrib-log-cabinet.docs @@ -0,0 +1 @@ +README.rst diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d616c0a --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#! /usr/bin/make -f + +export PYBUILD_NAME=sphinxcontrib-log-cabinet +export SETUPTOOLS_USE_DISTUTILS=stdlib + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..8020467 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +# try also https://pypi.debian.net/sphinxcontrib-log-cabinet/watch +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))