From 6c78b174fff62c6f966898b596257cada01239e85333503e700be70f8a26f51d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 7 Oct 2022 07:56:01 +0000 Subject: [PATCH] Accepting request 1008606 from home:yarunachalam:branches:devel:languages:python - Update to 0.1.47 Following is the changelog for deb822 before it was merged into python-debian. * deb822.py: - Allow Deb822 objects to be initialized with a dict containing the initial key-value pairs. - _multivalued class: + Make all the multivalued dicts Deb822Dict objects, so the keys are case-preserving, but case-insensitive - Add a Release class, which knows about Release-file multivalued fields. Thanks to Alexandre Fayolle. (Closes: 428540) - Deb822Dict no longer directly subclasses dict. All of the important methods were already implemented with userdict.DictMixin; the dict subclass was so that Python would see a Deb822Dict instance as a dict instance. Unfortunately, this causes confusion if you do something like d = dict(Deb822Dict({'foo': 'bar'}) The "Pythonic" way to check for a dictionary interface is to check for the 'items' attribute. * test_deb822.py: - Add a test case for deriving a Python dict from a Deb822Dict. * debian/control: - Add a XS-Vcs-Bzr field OBS-URL: https://build.opensuse.org/request/show/1008606 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-debian?expand=0&rev=7 --- python-debian-0.1.44.tar.gz | 3 --- python-debian-0.1.47.tar.gz | 3 +++ python-python-debian.changes | 25 +++++++++++++++++++++++++ python-python-debian.spec | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) delete mode 100644 python-debian-0.1.44.tar.gz create mode 100644 python-debian-0.1.47.tar.gz diff --git a/python-debian-0.1.44.tar.gz b/python-debian-0.1.44.tar.gz deleted file mode 100644 index 817361d..0000000 --- a/python-debian-0.1.44.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65592fe3b64f6c6c93d94e2d2599db5e0c22831d3bcff07cb7b96d3840b1333e -size 111386 diff --git a/python-debian-0.1.47.tar.gz b/python-debian-0.1.47.tar.gz new file mode 100644 index 0000000..6dead57 --- /dev/null +++ b/python-debian-0.1.47.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51e202823777a3d716a843b8a540fba2ba0bed9f507a87c0c0f9eefcdec3342c +size 121500 diff --git a/python-python-debian.changes b/python-python-debian.changes index df5fa78..17914a0 100644 --- a/python-python-debian.changes +++ b/python-python-debian.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu Oct 6 22:19:00 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 0.1.47 + Following is the changelog for deb822 before it was merged into python-debian. + * deb822.py: + - Allow Deb822 objects to be initialized with a dict containing the initial + key-value pairs. + - _multivalued class: + + Make all the multivalued dicts Deb822Dict objects, so the keys are + case-preserving, but case-insensitive + - Add a Release class, which knows about Release-file multivalued fields. + Thanks to Alexandre Fayolle. (Closes: 428540) + - Deb822Dict no longer directly subclasses dict. All of the important + methods were already implemented with userdict.DictMixin; the dict + subclass was so that Python would see a Deb822Dict instance as a dict + instance. Unfortunately, this causes confusion if you do something like + d = dict(Deb822Dict({'foo': 'bar'}) + The "Pythonic" way to check for a dictionary interface is to check for + the 'items' attribute. + * test_deb822.py: + - Add a test case for deriving a Python dict from a Deb822Dict. + * debian/control: + - Add a XS-Vcs-Bzr field + ------------------------------------------------------------------- Mon Jul 4 13:49:00 UTC 2022 - Matej Cepl diff --git a/python-python-debian.spec b/python-python-debian.spec index c87cb92..d2b3c20 100644 --- a/python-python-debian.spec +++ b/python-python-debian.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-debian -Version: 0.1.44 +Version: 0.1.47 Release: 0 Summary: Debian package related modules License: GPL-3.0-or-later