Control: tags 938044 + patch
Control: tags 938044 + pending

Dear maintainer,

I've prepared an NMU for python-pretty-yaml (versioned as 19.4.1-1.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru python-pretty-yaml-19.4.1/debian/changelog python-pretty-yaml-19.4.1/debian/changelog
--- python-pretty-yaml-19.4.1/debian/changelog	2019-07-08 13:27:35.000000000 -0400
+++ python-pretty-yaml-19.4.1/debian/changelog	2019-10-24 18:15:35.000000000 -0400
@@ -1,3 +1,10 @@
+python-pretty-yaml (19.4.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938044
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 24 Oct 2019 18:15:35 -0400
+
 python-pretty-yaml (19.4.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru python-pretty-yaml-19.4.1/debian/control python-pretty-yaml-19.4.1/debian/control
--- python-pretty-yaml-19.4.1/debian/control	2019-07-08 13:26:48.000000000 -0400
+++ python-pretty-yaml-19.4.1/debian/control	2019-10-24 18:13:40.000000000 -0400
@@ -4,56 +4,15 @@
 Maintainer: Sascha Steinbiss <sa...@debian.org>
 Build-Depends: debhelper (>= 11),
                dh-python,
-               python-all,
-               python-setuptools,
                python3-all,
                python3-setuptools,
-               python-yaml,
                python3-yaml,
-               python-unidecode,
                python3-unidecode
 Standards-Version: 4.2.1
 Vcs-Git: https://salsa.debian.org/debian/python-pretty-yaml.git
 Vcs-Browser: https://salsa.debian.org/debian/python-pretty-yaml
 Homepage: https://github.com/mk-fg/pretty-yaml
 
-Package: python-pretty-yaml
-Architecture: all
-Depends: ${python:Depends},
-         ${misc:Depends},
-         python-unidecode
-Description: module to produce pretty and readable YAML-serialized data (Python 2)
- YAML is generally nice and easy format to read if it was written by humans.
- PyYAML can a do fairly decent job of making stuff readable. pyaml tries to
- improve on that a bit, with the following tweaks:
- .
-   - Most human-friendly representation options in PyYAML get picked as
-     defaults.
-   - Does not dump "null" values, if possible, replacing these with just empty
-     strings, which have the same meaning but reduce visual clutter and are
-     easier to edit.
-   - Dicts, sets, OrderedDicts, defaultdicts, namedtuples, etc are
-     representable and get sorted on output (OrderedDicts and namedtuples keep
-     their ordering), so that output would be as diff-friendly as possible,
-     and not arbitrarily depend on Python internals.
-   - It appears that at least recent PyYAML versions also do such sorting for
-     Python dicts.
-   - List items get indented, as they should be.
-   - bytestrings that can't be auto-converted to unicode raise error, as yaml
-     has no "binary bytes" (i.e. unix strings) type.
-   - Attempt is made to pick more readable string representation styles,
-     depending on the value.
-   - "force_embed" option to avoid having &id stuff scattered all over the
-     output (which might be beneficial in some cases, hence the option).
-   - "&id" anchors, if used, get labels from the keys they get attached to, not
-     just use meaningless enumerators.
-   - "string_val_style" option to only apply to strings that are values, not
-     keys.
-   - Has an option to add vertical spacing (empty lines) between keys on
-     different depths, to make output much more seekable.
- .
- This package installs the Python 2 version.
-
 Package: python3-pretty-yaml
 Architecture: all
 Depends: ${python3:Depends},
diff -Nru python-pretty-yaml-19.4.1/debian/rules python-pretty-yaml-19.4.1/debian/rules
--- python-pretty-yaml-19.4.1/debian/rules	2019-07-08 13:26:48.000000000 -0400
+++ python-pretty-yaml-19.4.1/debian/rules	2019-10-24 18:15:33.000000000 -0400
@@ -1,13 +1,6 @@
 #!/usr/bin/make -f
 
-buildvers := $(shell pyversions -sv)
-build3vers := $(shell py3versions -sv)
-
 export PYBUILD_NAME = pretty-yaml
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_auto_test:
-	python2 setup.py test
-	python3 setup.py test
+	dh $@ --with python3 --buildsystem=pybuild

Reply via email to