forked from pool/python-python-debian
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
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:65592fe3b64f6c6c93d94e2d2599db5e0c22831d3bcff07cb7b96d3840b1333e
|
|
||||||
size 111386
|
|
3
python-debian-0.1.47.tar.gz
Normal file
3
python-debian-0.1.47.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:51e202823777a3d716a843b8a540fba2ba0bed9f507a87c0c0f9eefcdec3342c
|
||||||
|
size 121500
|
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 6 22:19:00 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
- 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 <mcepl@suse.com>
|
Mon Jul 4 13:49:00 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-python-debian
|
Name: python-python-debian
|
||||||
Version: 0.1.44
|
Version: 0.1.47
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Debian package related modules
|
Summary: Debian package related modules
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
|
Reference in New Issue
Block a user