forked from pool/python-python-jsonschema-objects
Accepting request 1112409 from devel:languages:python
- Update to 0.5.0: * Migrate to jsonschema 4.18 * Drop support for Python 3.7 due to lack of support under jsonschema>=4.18 * Drop support for jsonschema<4.18 due to breaking changes in that libraries interfaces - Migrate to pyproject macros - Stop using greedy globs in %files OBS-URL: https://build.opensuse.org/request/show/1112409 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-jsonschema-objects?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 20 02:46:59 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.5.0:
|
||||||
|
* Migrate to jsonschema 4.18
|
||||||
|
* Drop support for Python 3.7 due to lack of support under jsonschema>=4.18
|
||||||
|
* Drop support for jsonschema<4.18 due to breaking changes in that
|
||||||
|
libraries interfaces
|
||||||
|
- Migrate to pyproject macros
|
||||||
|
- Stop using greedy globs in %files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 11 13:18:57 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
Tue Jul 11 13:18:57 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -16,26 +16,28 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-python-jsonschema-objects
|
Name: python-python-jsonschema-objects
|
||||||
Version: 0.4.2
|
Version: 0.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An object wrapper for JSON Schema definitions
|
Summary: An object wrapper for JSON Schema definitions
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://python-jsonschema-objects.readthedocs.org/
|
URL: https://python-jsonschema-objects.readthedocs.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/python_jsonschema_objects/python_jsonschema_objects-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/python_jsonschema_objects/python_jsonschema_objects-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Markdown >= 2.4
|
Requires: python-Markdown >= 2.4
|
||||||
Requires: python-inflection >= 0.2
|
Requires: python-inflection >= 0.2
|
||||||
|
Requires: python-jsonschema >= 4.18
|
||||||
Requires: python-six >= 1.5.2
|
Requires: python-six >= 1.5.2
|
||||||
Requires: (python-jsonschema >= 2.3 with python-jsonschema < 4.18)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module Markdown >= 2.4}
|
BuildRequires: %{python_module Markdown >= 2.4}
|
||||||
BuildRequires: %{python_module inflection >= 0.2}
|
BuildRequires: %{python_module inflection >= 0.2}
|
||||||
BuildRequires: %{python_module jsonschema < 4.18}
|
BuildRequires: %{python_module jsonschema >= 4.18}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module six >= 1.5.2}
|
BuildRequires: %{python_module six >= 1.5.2}
|
||||||
@@ -49,10 +51,10 @@ An object wrapper for JSON Schema definitions
|
|||||||
%autosetup -p1 -n python_jsonschema_objects-%{version}
|
%autosetup -p1 -n python_jsonschema_objects-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/python_jsonschema_objects/examples/
|
%{python_expand rm -r %{buildroot}%{$python_sitelib}/python_jsonschema_objects/examples/
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
@@ -63,6 +65,7 @@ An object wrapper for JSON Schema definitions
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/python_jsonschema_objects
|
||||||
|
%{python_sitelib}/python_jsonschema_objects-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7211b6ee73bf8dd351dd5b08c08387ca084659f308b241fbb80a3ed5beb784f0
|
|
||||||
size 63632
|
|
3
python_jsonschema_objects-0.5.0.tar.gz
Normal file
3
python_jsonschema_objects-0.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa9519036ae50eecd965085f77154faf67afe18651fb94ab176a46afd3faf1a7
|
||||||
|
size 68781
|
Reference in New Issue
Block a user