15
0

2 Commits

Author SHA256 Message Date
583ef138c2 Accepting request 1225137 from devel:languages:python
- update to 3.0.0:
  * Add support for python 3.12
  * drop python 2.7 support
  * CI fixes

OBS-URL: https://build.opensuse.org/request/show/1225137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonpointer?expand=0&rev=21
2024-11-20 15:58:55 +00:00
bb19c51125 - update to 3.0.0:
* Add support for python 3.12
  * drop python 2.7 support
  * CI fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpointer?expand=0&rev=38
2024-11-19 15:39:36 +00:00
2 changed files with 5 additions and 14 deletions

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Fri Jun 20 06:03:50 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 19 15:39:07 UTC 2024 - Dirk Müller <dmueller@suse.com> Tue Nov 19 15:39:07 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-jsonpointer # spec file for package python-jsonpointer
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2024 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
@@ -28,11 +28,10 @@ Version: 3.0.0
Release: 0 Release: 0
Summary: Module to identify specific nodes in a JSON document Summary: Module to identify specific nodes in a JSON document
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/stefankoegl/python-json-pointer URL: https://github.com/stefankoegl/python-json-pointer
Source: https://files.pythonhosted.org/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929 BuildRequires: python-rpm-macros >= 20210929
%if %{with libalternatives} %if %{with libalternatives}
@@ -52,10 +51,10 @@ A module to identify specific nodes in a JSON document (according to draft 08).
%setup -q -n jsonpointer-%{version} %setup -q -n jsonpointer-%{version}
%build %build
%pyproject_wheel %python_build
%install %install
%pyproject_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/jsonpointer %python_clone -a %{buildroot}%{_bindir}/jsonpointer
@@ -76,8 +75,6 @@ A module to identify specific nodes in a JSON document (according to draft 08).
%doc README.md %doc README.md
%license LICENSE.txt %license LICENSE.txt
%python_alternative %{_bindir}/jsonpointer %python_alternative %{_bindir}/jsonpointer
%{python_sitelib}/jsonpointer.py %{python_sitelib}/*
%pycache_only %{python_sitelib}/__pycache__/jsonpointer.*.pyc
%{python_sitelib}/jsonpointer-%{version}.dist-info
%changelog %changelog