1
0

Compare commits

4 Commits

Author SHA256 Message Date
293ab085fe Accepting request 1287120 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1287120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonpointer?expand=0&rev=22
2025-06-23 12:50:42 +00:00
6ea345f4f0 - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpointer?expand=0&rev=40
2025-06-20 06:04:13 +00:00
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
4 changed files with 27 additions and 10 deletions

BIN
jsonpointer-2.4.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
jsonpointer-3.0.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
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>
- update to 3.0.0:
* Add support for python 3.12
* drop python 2.7 support
* CI fixes
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 27 19:28:43 UTC 2023 - Dirk Müller <dmueller@suse.com> Mon Nov 27 19:28:43 UTC 2023 - 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) 2023 SUSE LLC # Copyright (c) 2025 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
@@ -24,14 +24,15 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-jsonpointer Name: python-jsonpointer
Version: 2.4 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}
@@ -39,7 +40,7 @@ Requires: alts
BuildRequires: alts BuildRequires: alts
%else %else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun):update-alternatives Requires(preun): update-alternatives
%endif %endif
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -51,10 +52,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
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_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
@@ -75,6 +76,8 @@ 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}/* %{python_sitelib}/jsonpointer.py
%pycache_only %{python_sitelib}/__pycache__/jsonpointer.*.pyc
%{python_sitelib}/jsonpointer-%{version}.dist-info
%changelog %changelog