Accepting request 424908 from home:mnhauke
- update to version 0.10.2 + Fixed defusedexpat expat import. - v0.10.1 + Use defusedexpat if available. + Allow non-string attributes in unparse. + Add postprocessor support for attributes. + Make command line interface Python 3-compatible. - v0.10.0 + Add force_list feature. + Add support for Python 3.4 and 3.5. + Performance optimization: use list instead of string for CDATA. + Include Arch Linux package instructions in README. + Improved documentation. + Allow any iterable in unparse, not just lists. + Bugfix: Process namespaces in attributes too. + Better testing under Python 2.6. - v0.9.2 + Fix multiroot check for list values - v0.9.1 + Only check single root when full_document=True OBS-URL: https://build.opensuse.org/request/show/424908 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmltodict?expand=0&rev=4
This commit is contained in:
parent
c1e573c9f3
commit
8d396c4ad2
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 6 07:25:55 UTC 2016 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.10.2
|
||||||
|
+ Fixed defusedexpat expat import.
|
||||||
|
- v0.10.1
|
||||||
|
+ Use defusedexpat if available.
|
||||||
|
+ Allow non-string attributes in unparse.
|
||||||
|
+ Add postprocessor support for attributes.
|
||||||
|
+ Make command line interface Python 3-compatible.
|
||||||
|
- v0.10.0
|
||||||
|
+ Add force_list feature.
|
||||||
|
+ Add support for Python 3.4 and 3.5.
|
||||||
|
+ Performance optimization: use list instead of string for CDATA.
|
||||||
|
+ Include Arch Linux package instructions in README.
|
||||||
|
+ Improved documentation.
|
||||||
|
+ Allow any iterable in unparse, not just lists.
|
||||||
|
+ Bugfix: Process namespaces in attributes too.
|
||||||
|
+ Better testing under Python 2.6.
|
||||||
|
- v0.9.2
|
||||||
|
+ Fix multiroot check for list values
|
||||||
|
- v0.9.1
|
||||||
|
+ Only check single root when full_document=True
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 27 14:46:28 UTC 2014 - boris@steki.net
|
Thu Nov 27 14:46:28 UTC 2014 - boris@steki.net
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-xmltodict
|
# spec file for package python-xmltodict
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,16 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define use_build_checks 1
|
||||||
|
|
||||||
Name: python-xmltodict
|
Name: python-xmltodict
|
||||||
Version: 0.9.0
|
Version: 0.10.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Makes working with XML feel like you are working with JSON
|
Summary: Makes working with XML feel like you are working with JSON
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/martinblech/xmltodict
|
Url: https://github.com/martinblech/xmltodict
|
||||||
Source: https://pypi.python.org/packages/source/x/xmltodict/xmltodict-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/x/xmltodict/xmltodict-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
|
%if 0%{?use_build_checks}
|
||||||
|
BuildRequires: python-coverage
|
||||||
|
BuildRequires: python-nose
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: python-xml
|
BuildRequires: python-xml
|
||||||
%endif
|
%endif
|
||||||
@ -41,7 +47,6 @@ xmltodict is a Python module that makes working with XML feel like you are
|
|||||||
working with json, as in this
|
working with json, as in this
|
||||||
http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html
|
http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n xmltodict-%{version}
|
%setup -q -n xmltodict-%{version}
|
||||||
|
|
||||||
@ -51,9 +56,15 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if 0%{?use_build_checks}
|
||||||
|
nosetests -v
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md LICENSE
|
%doc README.md LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/xmltodict*
|
||||||
|
%{python_sitelib}/xmltodict-%{version}-py%{py_ver}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
xmltodict-0.10.2.tar.gz
Normal file
3
xmltodict-0.10.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fc518ccf9adbbb917a2ddcb386be852ae6dd36935e1e8b9a3e760201abfdbf77
|
||||||
|
size 24854
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cc506d660e1d231efa9b766f88cec2ced05394ce94adabddf7b149da7712e719
|
|
||||||
size 37078
|
|
Loading…
x
Reference in New Issue
Block a user