diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 178 | ||||
-rw-r--r-- | debian/clean | 2 | ||||
-rw-r--r-- | debian/control | 32 | ||||
-rw-r--r-- | debian/copyright | 31 | ||||
-rw-r--r-- | debian/gbp.conf | 2 | ||||
-rw-r--r-- | debian/patches/big_endian | 33 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/python3-ruamel.yaml.docs | 1 | ||||
-rwxr-xr-x | debian/rules | 15 | ||||
-rw-r--r-- | debian/salsa-ci.yml | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/options | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
13 files changed, 304 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0782374 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,178 @@ +ruamel.yaml (0.18.5-1~exp1) experimental; urgency=medium + + * Team upload + * New upstream version 0.18.5 + * d/p/big_endian: Update patch + * d/python3-ruamel.yaml.docs: README is not in markdown format + + -- Samuel Henrique <samueloph@debian.org> Fri, 22 Dec 2023 10:56:19 -0300 + +ruamel.yaml (0.17.21-1) unstable; urgency=medium + + * Team upload. + * New upstream version 0.17.21 + * Bump Standards-Version to 4.6.2 + + -- Samuel Henrique <samueloph@debian.org> Fri, 23 Dec 2022 19:44:32 +0000 + +ruamel.yaml (0.17.16-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * add :any to Build-Depends: python3-all:any + * Standards-Version: 4.6.0 + + -- Drew Parsons <dparsons@debian.org> Thu, 14 Oct 2021 00:22:30 +0200 + +ruamel.yaml (0.16.12-2) unstable; urgency=medium + + * Team upload. + * debian/patches/big_endian: default to pure Python processing on big-endian + systems. Closes: #962194 + + -- Michael R. Crusoe <crusoe@debian.org> Mon, 19 Oct 2020 12:19:34 +0200 + +ruamel.yaml (0.16.12-1) unstable; urgency=medium + + * Team upload. + * New upstream version + * debhelper-compat 13 (routine-update) + * Use secure URI in Homepage field. + + -- Michael R. Crusoe <crusoe@debian.org> Thu, 08 Oct 2020 14:58:27 +0200 + +ruamel.yaml (0.16.10-3) UNRELEASED; urgency=medium + + * d/control: Update Maintainer field with new Debian Python Team + contact address. + * d/control: Update Vcs-* fields with new Debian Python Team Salsa + layout. + + -- Ondřej Nový <onovy@debian.org> Thu, 24 Sep 2020 08:50:35 +0200 + +ruamel.yaml (0.16.10-2) unstable; urgency=medium + + * Team upload. + * Switch to "any" binary package now that the cpython code has moved to + ruamel.yaml.clib + + -- Michael R. Crusoe <crusoe@debian.org> Tue, 16 Jun 2020 14:09:06 +0200 + +ruamel.yaml (0.16.10-1) unstable; urgency=medium + + * Team upload. + * New upstream version + * Standards-Version: 4.5.0 (routine-update) + * Add salsa-ci file (routine-update) + * Rules-Requires-Root: no (routine-update) + * Update references from bitbucket to sourceforge + + -- Michael R. Crusoe <crusoe@debian.org> Tue, 16 Jun 2020 12:18:03 +0200 + +ruamel.yaml (0.15.89-3) unstable; urgency=medium + + * upload to unstable; Closes: #938418, #862737 + + -- Sandro Tosi <morph@debian.org> Sat, 02 Nov 2019 22:09:18 -0400 + +ruamel.yaml (0.15.89-2) experimental; urgency=medium + + [ Ondřej Nový ] + * Use debhelper-compat instead of debian/compat. + * Bump Standards-Version to 4.4.1. + + [ Sandro Tosi ] + * Drop python2 support; Closes; #938418, #862737 + + -- Sandro Tosi <morph@debian.org> Sat, 02 Nov 2019 17:12:09 -0400 + +ruamel.yaml (0.15.89-1) experimental; urgency=medium + + * Team upload. + + [ Ondřej Nový ] + * d/control: Set Vcs-* to salsa.debian.org + * d/copyright: Use https protocol in Format field + + [ Andreas Tille ] + * debhelper 12 + * Point Vcs fields to salsa.debian.org + * Standards-Version: 4.3.0 + * Respect DEB_BUILD_OPTIONS in override_dh_auto_test target + * Remove trailing whitespace in debian/copyright + + -- Andreas Tille <tille@debian.org> Tue, 12 Mar 2019 15:10:31 +0100 + +ruamel.yaml (0.15.34-1) unstable; urgency=medium + + * New upstream release. + * d/control: bump Standards-Version. + * d/watch: switch to HTTPS. + + -- Vincent Bernat <bernat@debian.org> Mon, 13 Nov 2017 23:13:13 +0100 + +ruamel.yaml (0.13.4-2) unstable; urgency=medium + + [ Ondřej Nový ] + * Enable autopkgtest-pkg-python testsuite + + [ Vincent Bernat ] + * Build-Depends on python-typing. Closes: #850023. + + -- Vincent Bernat <bernat@debian.org> Sat, 07 Jan 2017 08:43:02 +0100 + +ruamel.yaml (0.13.4-1) unstable; urgency=medium + + * Team upload. + * New upstream version + Closes: #848540 + * Fixed watch file + * d/control: Use DPMT as maintainer + * Skip tests since there is no test suite inside the source package + + -- Andreas Tille <tille@debian.org> Sun, 18 Dec 2016 11:36:19 +0100 + +ruamel.yaml (0.11.14-1) unstable; urgency=medium + + * New upstream version. + + -- Vincent Bernat <bernat@debian.org> Fri, 15 Jul 2016 08:06:38 +0200 + +ruamel.yaml (0.11.11-2) unstable; urgency=medium + + * Clean .ruamel directory. Closes: #830338. + + -- Vincent Bernat <bernat@debian.org> Fri, 08 Jul 2016 12:16:10 +0200 + +ruamel.yaml (0.11.11-1) unstable; urgency=medium + + [ Ondřej Nový ] + * Fixed VCS URL (https) + + [ Vincent Bernat ] + * New upstream release. + + Drop patch about ruamel.base: not needed anymore. + + make_win_whl.py is not shipped upstream anymore. + * Bump Standards-Version. + + -- Vincent Bernat <bernat@debian.org> Sat, 21 May 2016 16:54:33 +0200 + +ruamel.yaml (0.10.23-1) unstable; urgency=medium + + * New upstream release. + * d/watch: download from Bitbucket to get tests. + * d/rules: enable tests. + + -- Vincent Bernat <bernat@debian.org> Wed, 17 Feb 2016 10:50:25 +0100 + +ruamel.yaml (0.10.12-2) unstable; urgency=medium + + * Patch out requirement on ruamel.base. + + -- Vincent Bernat <bernat@debian.org> Sat, 05 Dec 2015 17:18:07 +0100 + +ruamel.yaml (0.10.12-1) unstable; urgency=low + + * Initial release. Closes: #803007. + + -- Vincent Bernat <bernat@debian.org> Wed, 18 Nov 2015 08:54:42 +0100 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..ea927e5 --- /dev/null +++ b/debian/clean @@ -0,0 +1,2 @@ +./ext/_ruamel_yaml.c +.ruamel/__init__.py diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..335b76d --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: ruamel.yaml +Maintainer: Debian Python Team <team+python@tracker.debian.org> +Uploaders: Vincent Bernat <bernat@debian.org> +Section: python +Testsuite: autopkgtest-pkg-python +Priority: optional +Build-Depends: debhelper-compat (= 13), + dh-python, + cython3, + python3-all:any, + python3-setuptools, + python3-pytest, + python3-ruamel.yaml.clib +Standards-Version: 4.6.2 +Vcs-Browser: https://salsa.debian.org/python-team/packages/ruamel.yaml +Vcs-Git: https://salsa.debian.org/python-team/packages/ruamel.yaml.git +Homepage: https://yaml.readthedocs.io +Rules-Requires-Root: no + +Package: python3-ruamel.yaml +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + python3-ruamel.yaml.clib +Recommends: ${python3:Recommends} +Suggests: ${python3:Suggests} +Description: roundtrip YAML parser/emitter (Python 3 module) + ruamel.yaml is a YAML parser supporting roundtrip preservation of + comments, seq/map flow style and map key order. It is a derivative of + Kirill Simonov's PyYAML 3.11 which supports YAML1.1. + . + This package contains the Python 3 module. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..10bc993 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ruamel.yaml +Upstream-Contact: Anthon van der Neut <a.van.der.neut@ruamel.eu> +Source: https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree + +Files: * +Copyright: Anthon van der Neut <a.van.der.neut@ruamel.eu> +License: Expat + +Files: debian/* +Copyright: 2015 Vincent Bernat <bernat@debian.org> +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/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/big_endian b/debian/patches/big_endian new file mode 100644 index 0000000..2f617f0 --- /dev/null +++ b/debian/patches/big_endian @@ -0,0 +1,33 @@ +Author: Michael R. Crusoe <crusoe@debian.org> +Description: Default to pure python parsing on big endian systems +Forwarded: not-needed + +As the cpython code has an endianness bug https://sourceforge.net/p/ruamel-yaml/tickets/360/ + +Thanks to Rebecca N. Palmer for the tip about sys.byteorder! + +Index: ruamel.yaml/main.py +=================================================================== +--- ruamel.yaml.orig/main.py ++++ ruamel.yaml/main.py +@@ -58,7 +58,7 @@ class YAML: + self: Any, + *, + typ: Optional[Union[List[Text], Text]] = None, +- pure: Any = False, ++ pure: Any = None, + output: Any = None, + plug_ins: Any = None, + ) -> None: # input=None, +@@ -75,6 +75,11 @@ class YAML: + """ + + self.typ = ['rt'] if typ is None else (typ if isinstance(typ, list) else [typ]) ++ if pure is None: ++ if sys.byteorder == 'big': ++ pure = True ++ else: ++ pure = False + self.pure = pure + + # self._input = input diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..f79ae58 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +big_endian diff --git a/debian/python3-ruamel.yaml.docs b/debian/python3-ruamel.yaml.docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/python3-ruamel.yaml.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b0bd3b2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#! /usr/bin/make -f + +export PYBUILD_NAME=ruamel.yaml +export PYBUILD_INSTALL_ARGS=--single-version-externally-managed +#export PYBUILD_BEFORE_BUILD_python3=cython3 ext/_ruamel_yaml.pyx +export PYBUILD_BEFORE_TEST=ln -s {dir}/_test {build_dir}/ +export PYBUILD_TEST_ARGS=_test/test_*.py + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + echo "There is no test suite available" +endif diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..33c3a64 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml 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/source/options b/debian/source/options new file mode 100644 index 0000000..d81db3f --- /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 0000000..82761ab --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/ruamel.yaml/ruamel.yaml-(.+)\.(?:tar(?:\.gz|\.bz2)?|tgz) |