Sync from SUSE:SLFO:Main python-jsonschema-spec revision f77ffed0a2c76ef91fcd4b3c694256f2
This commit is contained in:
commit
7a30c2a7eb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
jsonschema-spec-0.2.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
jsonschema-spec-0.2.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
70
python-jsonschema-spec.changes
Normal file
70
python-jsonschema-spec.changes
Normal file
@ -0,0 +1,70 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 4 09:54:56 UTC 2024 - Jiri Srain <jsrain@suse.com>
|
||||
|
||||
- Remove the upstream URL due to the project rename to
|
||||
jsonschema-path, while still having packages requiring
|
||||
jsonschema-spec version 0.2.x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 14:50:44 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Cleanup requirements
|
||||
- Unpin referencing <0.30.0 because it was updated a few hours ago
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 09:34:28 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Update to 0.2.3
|
||||
- FilePathReader read relative path fix #39
|
||||
- Update to 0.2.2
|
||||
- Add resolve context method for SchemaPath #31
|
||||
- Update to 0.2.1
|
||||
- Bump referencing from 0.24.4 to 0.29.0 #25
|
||||
- Update to 0.2.0
|
||||
- Python 3.7 support dropped #23
|
||||
- Remove jsonschema dependency in favor of referencing and jsonschema-specifications #12
|
||||
- SchemaPath.from_path factory method added
|
||||
+ Deprecations
|
||||
- Spec class name is deprecated. Use SchemaPath instead.
|
||||
- spec_url parameter is deprecated. Use base_uri instead.
|
||||
- ref_resolver_handlers parameter is deprecated. Use handlers instead.
|
||||
- Fix not installable because of newer python-jsonschema requirement.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 19 06:41:11 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 0.1.6:
|
||||
* lock typing-extensions just for python37 #22
|
||||
* add python 3.11 support #10
|
||||
* supports read protocol check fix #21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 13 12:12:11 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 18:49:41 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update requirements:
|
||||
* jsonschema has upper limit
|
||||
* poetry-core is enough to build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 26 19:13:03 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.1.4:
|
||||
* jsonschema 4.17 dependency limit
|
||||
* Apache license spdx conformity
|
||||
* yaml loader timestamps fix
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 17 12:44:29 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v0.1.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 5 02:37:58 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v0.1.1
|
||||
|
77
python-jsonschema-spec.spec
Normal file
77
python-jsonschema-spec.spec
Normal file
@ -0,0 +1,77 @@
|
||||
#
|
||||
# spec file for package python-jsonschema-spec
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-jsonschema-spec
|
||||
Version: 0.2.3
|
||||
Release: 0
|
||||
Summary: JSONSchema Spec with object-oriented paths
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/p1c2u/jsonschema-spec
|
||||
# The source URL has changed to a redirect to jsonschema-path (which is meanwhile packaged as well, in more recent version).
|
||||
# Due to dependencies (e.g. python-openapi-core) we still need 0.2.x and cannot switch to recent jsonschema-path
|
||||
# Source: https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/%{version}.tar.gz#/jsonschema-spec-%{version}.tar.gz
|
||||
Source: jsonschema-spec-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core >= 1}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyYAML >= 5.1}
|
||||
BuildRequires: %{python_module pathable >= 0.4.1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module referencing >= 0.28.0}
|
||||
BuildRequires: %{python_module requests >= 2.31.0}
|
||||
BuildRequires: %{python_module responses >= 0.23.0}
|
||||
# /SECTION
|
||||
Requires: python-PyYAML >= 5.1
|
||||
Requires: python-pathable >= 0.4.1
|
||||
Requires: python-referencing >= 0.28.0
|
||||
Suggests: python-requests >= 2.31.0
|
||||
Provides: python-jsonschema_spec = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
JSONSchema Spec with object-oriented paths.
|
||||
|
||||
%prep
|
||||
%setup -q -n jsonschema-spec-%{version}
|
||||
# unpin and hope for the best
|
||||
sed -i '/referencing/ s/,<0.30.0//' pyproject.toml
|
||||
# Remove need to pytest-cov
|
||||
sed -i '/--cov/d' pyproject.toml
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/jsonschema_spec
|
||||
%{python_sitelib}/jsonschema_spec-%{version}.dist-info
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user