diff --git a/csv23-0.3.2.zip b/csv23-0.3.2.zip deleted file mode 100644 index 056f6dd..0000000 --- a/csv23-0.3.2.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a33cc86b7c871fde3708c272ae1f6d496b0441d5dd0327ada1424e12af8a8bbe -size 42760 diff --git a/csv23-0.3.3.zip b/csv23-0.3.3.zip new file mode 100644 index 0000000..1aaab6c --- /dev/null +++ b/csv23-0.3.3.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:798c10cf587e05d750706e8013bd6ab86fb6f5e3065f27726012a7ddcc0343ae +size 43571 diff --git a/python-csv23.changes b/python-csv23.changes index 8894797..1cc83f7 100644 --- a/python-csv23.changes +++ b/python-csv23.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Dec 19 14:41:41 UTC 2021 - Ben Greiner + +- Update to 0.3.3 + * Drop Python 3.5 support and tag Python 3.9 and 3.10 support + ------------------------------------------------------------------- Sun Oct 11 14:20:51 UTC 2020 - Benjamin Greiner diff --git a/python-csv23.spec b/python-csv23.spec index bf8779c..448d41e 100644 --- a/python-csv23.spec +++ b/python-csv23.spec @@ -1,7 +1,7 @@ # # spec file for package python-csv23 # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,35 @@ # 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-%{**}} +%bcond_without python2 Name: python-csv23 -Version: 0.3.2 +Version: 0.3.3 Release: 0 License: MIT Summary: Python 2/3 unicode CSV compatibility layer -Url: https://github.com/xflr6/csv23 +URL: https://github.com/xflr6/csv23 Group: Development/Languages/Python # Only ZIP archive on PyPI Source: https://files.pythonhosted.org/packages/source/c/csv23/csv23-%{version}.zip -BuildRequires: python-rpm-macros -BuildRequires: unzip -BuildRequires: dos2unix -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 4.6} BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip BuildArch: noarch - +%if %{with python2} +BuildRequires: python2-mock +%endif +%ifpython2 +Requires: python-mock +%endif %python_subpackages %description @@ -42,8 +48,8 @@ Python 2/3 unicode CSV compatibility layer %prep %setup -q -n csv23-%{version} -sed -i '/--cov/ d' setup.cfg -dos2unix CHANGES.txt README.rst +sed -i -e '/--cov/ d' -e '/mock_use_standalone_module/ d' setup.cfg +dos2unix CHANGES.rst README.rst %build %python_build @@ -56,7 +62,7 @@ dos2unix CHANGES.txt README.rst %pytest %files %{python_files} -%doc CHANGES.txt README.rst +%doc CHANGES.rst README.rst %license LICENSE.txt %{python_sitelib}/csv23 %{python_sitelib}/csv23-%{version}*-info