diff options
author | Christoph Berg <myon@debian.org> | 2021-12-14 02:54:59 -0800 |
---|---|---|
committer | Christoph Berg <myon@debian.org> | 2021-12-14 02:54:59 -0800 |
commit | 76c6a2bba44f519bf98bf3ef77cfb233fe486414 (patch) | |
tree | e1dc63dc73977cdef8f200f2fb4ba9a9beaf5c0d | |
parent | 519ae7cbc82d575efb884d0cbf9b2c6aa5078b28 (diff) | |
parent | c272ae01e2fd6a191e5ecba505b9a54eeb0adcb3 (diff) |
python-parse-type (0.5.6-1) unstable; urgency=medium
* Team upload.
[ Debian Janitor ]
* Bump debhelper from old 9 to 12.
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
Repository-Browse.
* Remove constraints unnecessary since stretch:
+ Build-Depends: Drop versioned constraint on dh-python.
[ Edward Betts ]
* Correct github URLs in debian/control and debian/copyright
[ Ondřej Nový ]
* d/control: Update Maintainer field with new Debian Python Team
contact address.
* d/control: Update Vcs-* fields with new Debian Python Team Salsa
layout.
[ Christoph Berg ]
* New upstream version 0.5.6.
* Remove obsolete use_2to3 marker. (Closes: #997614)
* Bump python3-parse dependency to 1.19.0.
[dgit import unpatched python-parse-type 0.5.6-1]
-rw-r--r-- | debian/changelog | 54 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/control | 24 | ||||
-rw-r--r-- | debian/copyright | 71 | ||||
-rw-r--r-- | debian/gbp.conf | 2 | ||||
-rw-r--r-- | debian/patches/no-2to3 | 12 | ||||
-rw-r--r-- | debian/patches/no-require-internal-modules | 14 | ||||
-rw-r--r-- | debian/patches/pytest-addopts | 13 | ||||
-rw-r--r-- | debian/patches/series | 3 | ||||
-rwxr-xr-x | debian/rules | 6 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 4 | ||||
-rw-r--r-- | debian/watch | 3 |
13 files changed, 208 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..38f087c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,54 @@ +python-parse-type (0.5.6-1) unstable; urgency=medium + + * Team upload. + + [ Debian Janitor ] + * Bump debhelper from old 9 to 12. + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. + * Remove constraints unnecessary since stretch: + + Build-Depends: Drop versioned constraint on dh-python. + + [ Edward Betts ] + * Correct github URLs in debian/control and debian/copyright + + [ Ondřej Nový ] + * d/control: Update Maintainer field with new Debian Python Team + contact address. + * d/control: Update Vcs-* fields with new Debian Python Team Salsa + layout. + + [ Christoph Berg ] + * New upstream version 0.5.6. + * Remove obsolete use_2to3 marker. (Closes: #997614) + * Bump python3-parse dependency to 1.19.0. + + -- Christoph Berg <myon@debian.org> Tue, 14 Dec 2021 11:54:59 +0100 + +python-parse-type (0.3.4-3) unstable; urgency=medium + + * Team upload. + + [ Ondřej Nový ] + * d/control: Set Vcs-* to salsa.debian.org + * d/copyright: Fix Format URL to correct one + * Use debhelper-compat instead of debian/compat. + + [ Andrey Rahmatullin ] + * Drop Python 2 support (Closes: #938000). + + -- Andrey Rahmatullin <wrar@debian.org> Sun, 15 Sep 2019 11:10:59 +0500 + +python-parse-type (0.3.4-2) unstable; urgency=medium + + * Two files have different copyright. Make sure these are properly + documented in debian/copyright. Also see + https://github.com/jenisys/parse_type/issues/1 + + -- Brian May <bam@debian.org> Thu, 18 May 2017 07:50:42 +1000 + +python-parse-type (0.3.4-1) unstable; urgency=medium + + * Initial release. (Closes: #862725) + + -- Brian May <bam@debian.org> Wed, 17 May 2017 18:20:51 +1000 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..489fcb2 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +parse_type.egg-info/ diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e03134b --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: python-parse-type +Maintainer: Debian Python Team <team+python@tracker.debian.org> +Uploaders: Brian May <bam@debian.org> +Section: python +Priority: optional +Build-Depends: + debhelper-compat (= 12), dh-python, + python3-all, python3-setuptools, + python3-pytest, python3-pytest-runner, python3-six, + python3-parse (>= 1.19.0), +Standards-Version: 3.9.8 +Homepage: https://github.com/jenisys/parse_type/ +Vcs-Git: https://salsa.debian.org/python-team/packages/python-parse-type.git +Vcs-Browser: https://salsa.debian.org/python-team/packages/python-parse-type + +Package: python3-parse-type +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, + python3-parse (>= 1.19.0), +Description: BDD plugin for py.test. + Extends the parse module (opposite of string.format()) with + the a number of additional features. + . + This package contains the python 3 version. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4b25b02 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,71 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: parse-type +Source: https://github.com/jenisys/parse_type/ + +Files: * +Copyright: 2013, Jens Engel (https:github/jenisys/) +License: BSD-3-Clause + +Files: debian/* +Copyright: 2017 Brian May <bam@debian.org> +License: BSD-3-Clause + +Files: parse_type/__init__.py +Copyright: 2012, 2013, Jens Engel (https:github/jenisys/) +License: Expat + +Files: tests/test_parse_type_parse.py +Copyright: 2011, eKit.com Inc (http:www.ekit.com/) +License: BSD-3-Clause + +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: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * 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. + * Neither the name of highlight.js 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 REGENTS 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 REGENTS AND 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. + +License: Expat + The MIT License + . + 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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..3879982 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +debian-branch=debian/master diff --git a/debian/patches/no-2to3 b/debian/patches/no-2to3 new file mode 100644 index 0000000..0cda225 --- /dev/null +++ b/debian/patches/no-2to3 @@ -0,0 +1,12 @@ +--- a/setup.py ++++ b/setup.py +@@ -44,9 +44,6 @@ extra = dict( + ], + ) + +-if python_version >= 3.0: +- extra["use_2to3"] = True +- + # -- NICE-TO-HAVE: + # # FILE: setup.cfg -- Use pytest-runner (ptr) as test runner. + # [aliases] diff --git a/debian/patches/no-require-internal-modules b/debian/patches/no-require-internal-modules new file mode 100644 index 0000000..98bf419 --- /dev/null +++ b/debian/patches/no-require-internal-modules @@ -0,0 +1,14 @@ +These are only required with older python versions, but dh_python3 doesn't understand that. + +--- a/setup.py ++++ b/setup.py +@@ -92,9 +92,7 @@ setup( + "parse >= 1.13.1; python_version <= '2.7'", + # -- MAYBE, related to issue #15: + # "parse == 1.13.1; python_version <= '2.7'", +- "enum34; python_version < '3.4'", + "six >= 1.11", +- "ordereddict; python_version < '2.7'", + ], + extras_require={ + 'docs': ["sphinx>=1.2"], diff --git a/debian/patches/pytest-addopts b/debian/patches/pytest-addopts new file mode 100644 index 0000000..5cb6c4c --- /dev/null +++ b/debian/patches/pytest-addopts @@ -0,0 +1,13 @@ +--- a/pytest.ini ++++ b/pytest.ini +@@ -18,9 +18,7 @@ minversion = 4.2 + testpaths = tests + python_files = test_*.py + junit_family = xunit2 +-addopts = --metadata PACKAGE_UNDER_TEST parse_type +- --metadata PACKAGE_VERSION 0.5.6 +- --html=build/testing/report.html --self-contained-html ++addopts = parse_type + --junit-xml=build/testing/report.xml + # markers = + # smoke diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..6da743d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +no-2to3 +pytest-addopts +no-require-internal-modules diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..02c38ce --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=parse-type + +%: + 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..2af134a --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/jenisys/parse_type/issues +Bug-Submit: https://github.com/jenisys/parse_type/issues/new +Repository: https://github.com/jenisys/parse_type.git +Repository-Browse: https://github.com/jenisys/parse_type diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..1bc7fd2 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/parse_type-$1\.tar\.gz/ \ + https://github.com/jenisys/parse_type/tags .*/v?(\d\S+)\.tar\.gz |