From 3ae8659ac7b29209f2a020aee6a190e3726ceae3 Mon Sep 17 00:00:00 2001 From: openKylinBot Date: Tue, 7 May 2024 10:52:10 +0800 Subject: [PATCH] Import Debian changes 1.4.0-ok1 python-pluggy (1.4.0-ok1) nile; urgency=medium * Build for openKylin. --- debian/changelog | 5 +++++ debian/clean | 2 ++ debian/control | 31 +++++++++++++++++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++++++++ debian/pybuild.testfiles | 2 ++ debian/python3-pluggy.examples | 1 + debian/rules | 10 ++++++++++ debian/source/format | 1 + debian/upstream/metadata | 4 ++++ debian/watch | 5 +++++ 10 files changed, 91 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/pybuild.testfiles create mode 100644 debian/python3-pluggy.examples create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3823345 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-pluggy (1.4.0-ok1) nile; urgency=medium + + * Build for openKylin. + + -- openKylinBot Tue, 07 May 2024 10:52:10 +0800 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..e82bfbd --- /dev/null +++ b/debian/clean @@ -0,0 +1,2 @@ +src/pluggy/_version.py +src/pluggy.egg-info/ diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6e5406e --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: python-pluggy +Maintainer: openKylin Developers +Uploaders: + Timo Röhling , +Homepage: https://pluggy.readthedocs.io/en/latest/ +Section: python +Priority: optional +Build-Depends: + debhelper-compat (= 13), + dh-sequence-python3, + pybuild-plugin-pyproject, + python3-all, + python3-pytest , + python3-setuptools, + python3-setuptools-scm, +Standards-Version: 4.6.2 +Vcs-Git: https://salsa.debian.org/python-team/packages/python-pluggy.git +Vcs-Browser: https://salsa.debian.org/python-team/packages/python-pluggy +Testsuite: autopkgtest-pkg-pybuild +Rules-Requires-Root: no + +Package: python3-pluggy +Architecture: all +Depends: + ${misc:Depends}, + ${python3:Depends}, +Description: plugin and hook calling mechanisms for Python - 3.x + pluggy is the cristallized core of plugin management as used by some 150 + plugins for pytest. + . + This is the Python 3 library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5bcf618 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pluggy +Source: https://github.com/pytest-dev/pluggy + +Files: * +Copyright: (c) 2015 holger krekel (rather uses bitbucket/hpk42) +License: Expat + +Files: debian/* +Copyright: Copyright 2015 Barry Warsaw +License: Expat + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/debian/pybuild.testfiles b/debian/pybuild.testfiles new file mode 100644 index 0000000..fe0246b --- /dev/null +++ b/debian/pybuild.testfiles @@ -0,0 +1,2 @@ +testing + diff --git a/debian/python3-pluggy.examples b/debian/python3-pluggy.examples new file mode 100644 index 0000000..684a743 --- /dev/null +++ b/debian/python3-pluggy.examples @@ -0,0 +1 @@ +docs/examples/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..233fb85 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/pkg-info.mk + +export PYBUILD_NAME=pluggy +export PYBUILD_TEST_ARGS=testing +export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM) + +%: + dh $@ --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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..a849a32 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/pytest-dev/pluggy/issues +Bug-Submit: https://github.com/pytest-dev/pluggy/issues/new +Repository: https://github.com/pytest-dev/pluggy.git +Repository-Browse: https://github.com/pytest-dev/pluggy diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..b468c60 --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +# use Github instead of pypi to avoid importing _version.py +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*@ARCHIVE_EXT@)%@PACKAGE@-$1%" \ + https://github.com/pytest-dev/pluggy/tags \ + (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@