commit python-javaproperties for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package python-javaproperties for openSUSE:Leap:15.2 checked in at 2020-04-30 18:51:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-javaproperties (Old) and /work/SRC/openSUSE:Leap:15.2/.python-javaproperties.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-javaproperties" Thu Apr 30 18:51:41 2020 rev:2 rq:795575 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-javaproperties/python-javaproperties.changes 2020-02-22 17:51:37.261671834 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-javaproperties.new.2738/python-javaproperties.changes 2020-04-30 18:51:43.536634605 +0200 @@ -1,0 +2,29 @@ +Thu Apr 16 12:19:12 UTC 2020 - pgajdos@suse.com + +- version update to 0.7.0 + v0.7.0 (2020-03-09) + ------------------- + - `parse()` now accepts strings as input + - **Breaking**: `parse()` now returns a generator of custom objects instead of + triples of strings + - Gave `PropertiesFile` a settable `timestamp` property + - Gave `PropertiesFile` a settable `header_comment` property + - Handle unescaping surrogate pairs on narrow Python builds + v0.6.0 (2020-02-28) + ------------------- + - Include changelog in the Read the Docs site + - Support Python 3.8 + - When dumping a value that begins with more than one space, only escape the + first space in order to better match Java's behavior + - Gave `dump()`, `dumps()`, `escape()`, and `join_key_value()` an + `ensure_ascii` parameter for optionally not escaping non-ASCII characters in + output + - Gave `dump()` and `dumps()` an `ensure_ascii_comments` parameter for + controlling what characters in the `comments` parameter are escaped + - Gave `to_comment()` an `ensure_ascii` parameter for controlling what + characters are escaped + - Added a custom encoding error handler `'javapropertiesreplace'` that encodes + invalid characters as `\uXXXX` escape sequences +- really test the package + +------------------------------------------------------------------- Old: ---- javaproperties-0.5.2.tar.gz New: ---- javaproperties-0.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-javaproperties.spec ++++++ --- /var/tmp/diff_new_pack.lIDa5Q/_old 2020-04-30 18:51:43.904635389 +0200 +++ /var/tmp/diff_new_pack.lIDa5Q/_new 2020-04-30 18:51:43.904635389 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-javaproperties # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,32 +12,34 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-javaproperties -Version: 0.5.2 +Version: 0.7.0 Release: 0 +Summary: Read & Write Java Properties Files License: MIT -Summary: Read & write Java properties files -Url: https://github.com/jwodder/javaproperties Group: Development/Languages/Python +URL: https://github.com/jwodder/javaproperties Source: https://files.pythonhosted.org/packages/source/j/javaproperties/javaproperties-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest-mock >= 2.0} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dateutil >= 2.6} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six >= 1.4} BuildRequires: %{python_module six < 2.0} +BuildRequires: %{python_module six >= 1.4} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-six < 2.0 Requires: python-six >= 1.4 BuildArch: noarch - %python_subpackages %description -Read & write Java .properties files +Read & write Java .properties files. %prep %setup -q -n javaproperties-%{version} @@ -48,8 +50,12 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} + %check -%python_exec setup.py test +sed -i -e '/--cov/d' -e '/--no-cov/d' -e '/--flakes/d' -e '/--doctest-modules/d' tox.ini +export LC_ALL='en_US.UTF-8' +export TZ=EST5EDT,M3.2.0,M11.1.0 +%pytest test %files %{python_files} %doc CHANGELOG.md README.rst ++++++ javaproperties-0.5.2.tar.gz -> javaproperties-0.7.0.tar.gz ++++++ ++++ 5169 lines of diff (skipped)
participants (1)
-
root