Accepting request 1009942 from home:bnavigator:branches:devel:languages:python

- Clean up specfile
  * remove obsolete setuptools BuildRequirements
  * remove old distro python <= 3.6 directives
  * update outdated description

OBS-URL: https://build.opensuse.org/request/show/1009942
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=55
This commit is contained in:
Johannes Kastl 2022-10-13 09:00:08 +00:00 committed by Git OBS Bridge
parent 15d72d792f
commit 11043f88b1
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Oct 11 21:10:52 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Clean up specfile
* remove obsolete setuptools BuildRequirements
* remove old distro python <= 3.6 directives
* update outdated description
-------------------------------------------------------------------
Tue Oct 4 05:29:39 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -22,8 +22,6 @@
%bcond_with libalternatives
%endif
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-jsonschema
Version: 4.16.0
Release: 0
@ -37,10 +35,6 @@ BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tomli}
BuildRequires: %{python_module wheel}
# /SECTION
# SECTION runtime
BuildRequires: %{python_module attrs >= 17.4.0}
@ -86,8 +80,10 @@ BuildArch: noarch
%python_subpackages
%description
jsonschema is an implementation of JSON Schema (currently in Draft 3)
for Python (supporting 2.6+ including Python 3).
jsonschema is an implementation of the JSON Schema specification for Python
The validator can be used as python module and from console:
$ jsonschema --instance sample.json sample.schema
%prep
%setup -q -n jsonschema-%{version}