diff --git a/pyroma-2.6.tar.gz b/pyroma-2.6.tar.gz deleted file mode 100644 index 3d39154..0000000 --- a/pyroma-2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c49c00377219626bf83df42adf018cc231e6162b68cc7aaf2ff1c63803924102 -size 355439 diff --git a/pyroma-3.1.tar.gz b/pyroma-3.1.tar.gz new file mode 100644 index 0000000..0e29eba --- /dev/null +++ b/pyroma-3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45ad8201da9a813b5597bb85c80bbece93af9ec89170fc2be5ad85fa9463cef1 +size 355982 diff --git a/python-pyroma.changes b/python-pyroma.changes index ce850d2..11e9bac 100644 --- a/python-pyroma.changes +++ b/python-pyroma.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri May 28 08:31:34 UTC 2021 - pgajdos@suse.com + +- version update to 3.1 + - Added correct detection of setup.py encoding + - Code cleanup [CAM Gerlach] + - Drop support for Python 2 [Florian Bruhin] + - Add back official support for Python 3.6, I didn't realize it was still officially supported + - Update to the current list of Trove classifiers. + - Officially support Python 3.8 and 3.9 + - Drop official support for Python 3.5 and 3.6 (still works though). +- %check: use %pytestunit rpm macro + ------------------------------------------------------------------- Wed May 20 07:26:41 UTC 2020 - Petr Gajdos diff --git a/python-pyroma.spec b/python-pyroma.spec index 18aa11b..9d07e06 100644 --- a/python-pyroma.spec +++ b/python-pyroma.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyroma # -# Copyright (c) 2020 SUSE LLC +# 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 @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pyroma -Version: 2.6 +Version: 3.1 Release: 0 Summary: Program to test a Python project's adherence to packaging guidelines License: MIT @@ -34,7 +35,7 @@ Requires: python-Pygments Requires: python-docutils Requires: python-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -62,7 +63,7 @@ export LANG=en_US.UTF-8 %check export LANG=en_US.UTF-8 -%python_exec setup.py test +%pyunittest discover -v %post %python_install_alternative pyroma