diff --git a/javaproperties-0.7.0.tar.gz b/javaproperties-0.7.0.tar.gz deleted file mode 100644 index afd484d..0000000 --- a/javaproperties-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf45b39fcbaeced1dfc0b7f2bda16e34fc0349116269e001dada42fd2e145d87 -size 40893 diff --git a/javaproperties-0.8.1.tar.gz b/javaproperties-0.8.1.tar.gz new file mode 100644 index 0000000..6995ce7 --- /dev/null +++ b/javaproperties-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dcba389effe67d3f906bbdcc64b8ef2ee8eac00072406784ea636bb6ba56061 +size 43881 diff --git a/python-javaproperties.changes b/python-javaproperties.changes index f9bc001..4d96ba5 100644 --- a/python-javaproperties.changes +++ b/python-javaproperties.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Mon Apr 3 09:02:47 UTC 2023 - pgajdos@suse.com + +- version update to 0.8.1 + v0.8.1 (2021-10-05) + ------------------- + - Fix a typing issue in Python 3.9 + - Support Python 3.10 + + v0.8.0 (2020-11-28) + ------------------- + - Drop support for Python 2.7, 3.4, and 3.5 + - Support Python 3.9 + - `ensure_ascii` parameter added to `PropertiesFile.dump()` and + `PropertiesFile.dumps()` + - **Bugfix**: When parsing XML input, empty `` tags now produce an empty + string as a value, not `None` + - Added type annotations + - `Properties` and `PropertiesFile` no longer raise `TypeError` when given a + non-string key or value, as type correctness is now expected to be enforced + through static type checking + - The `PropertiesElement` classes returned by `parse()` are no longer + subclasses of `namedtuple`, but they can still be iterated over to retrieve + their fields like a tuple +- python-six is not required + ------------------------------------------------------------------- Thu Apr 16 12:19:12 UTC 2020 - pgajdos@suse.com diff --git a/python-javaproperties.spec b/python-javaproperties.spec index f497329..a4db8b9 100644 --- a/python-javaproperties.spec +++ b/python-javaproperties.spec @@ -1,7 +1,7 @@ # # spec file for package python-javaproperties # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,25 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-javaproperties -Version: 0.7.0 +Version: 0.8.1 Release: 0 Summary: Read & Write Java Properties Files License: MIT 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_module pip} 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 < 2.0} -BuildRequires: %{python_module six >= 1.4} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-six < 2.0 -Requires: python-six >= 1.4 BuildArch: noarch %python_subpackages @@ -42,13 +39,13 @@ BuildArch: noarch Read & write Java .properties files. %prep -%setup -q -n javaproperties-%{version} +%autosetup -p1 -n javaproperties-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +57,6 @@ export TZ=EST5EDT,M3.2.0,M11.1.0 %files %{python_files} %doc CHANGELOG.md README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/javaproperties* %changelog