14
0
forked from pool/python-pyroma

Accepting request 895922 from home:pgajdos:python

- 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

OBS-URL: https://build.opensuse.org/request/show/895922
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroma?expand=0&rev=10
This commit is contained in:
2021-05-28 09:41:06 +00:00
committed by Git OBS Bridge
parent 5b96da7d0f
commit 21462fda73
4 changed files with 21 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c49c00377219626bf83df42adf018cc231e6162b68cc7aaf2ff1c63803924102
size 355439

3
pyroma-3.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45ad8201da9a813b5597bb85c80bbece93af9ec89170fc2be5ad85fa9463cef1
size 355982

View File

@@ -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 <pgajdos@suse.com> Wed May 20 07:26:41 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyroma # 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 # 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
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyroma Name: python-pyroma
Version: 2.6 Version: 3.1
Release: 0 Release: 0
Summary: Program to test a Python project's adherence to packaging guidelines Summary: Program to test a Python project's adherence to packaging guidelines
License: MIT License: MIT
@@ -34,7 +35,7 @@ Requires: python-Pygments
Requires: python-docutils Requires: python-docutils
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -62,7 +63,7 @@ export LANG=en_US.UTF-8
%check %check
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%python_exec setup.py test %pyunittest discover -v
%post %post
%python_install_alternative pyroma %python_install_alternative pyroma