Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| da362321be | |||
| b450ab1135 |
@@ -1,8 +1,32 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 5 15:27:05 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
Fri Jan 24 14:57:30 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||||
|
|
||||||
- Use libalternatives instead of update-alternatives, bsc#1235786
|
- Use libalternatives instead of update-alternatives, bsc#1235786
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 12:47:18 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
|
||||||
|
|
||||||
|
- Remove the forced switch to Python 3.11 in SLE 15 SP4 and
|
||||||
|
openSUSE Leap 15.4 and later. However the updated version will only
|
||||||
|
be available as a Python 3.11 build. (jsc#PED-4514)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 1 21:08:03 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
|
||||||
|
|
||||||
|
- Switch users of SLE 15 SP4 and openSUSE Leap 15.4 and later to the
|
||||||
|
Python 3.11 build (jsc#PCT-371). The Python 3.6 build will no longer be
|
||||||
|
maintained
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 1 14:09:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- switch to PEP517 / wheel build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 11 14:05:39 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 10 09:10:10 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
Fri Feb 10 09:10:10 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
@@ -20,7 +44,7 @@ Sat Sep 17 15:41:47 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|||||||
Mon Sep 27 03:03:07 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
Mon Sep 27 03:03:07 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
- Add patch remove-nose.patch:
|
- Add patch remove-nose.patch:
|
||||||
* Remove use of nose in the tests.
|
* Remove use of nose in the tests.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 31 08:00:06 UTC 2021 - pgajdos@suse.com
|
Mon May 31 08:00:06 UTC 2021 - pgajdos@suse.com
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jmespath
|
# spec file for package python-jmespath
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -15,12 +15,14 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
%else
|
%else
|
||||||
%bcond_with libalternatives
|
%bcond_with libalternatives
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-jmespath
|
Name: python-jmespath
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -30,9 +32,11 @@ URL: https://github.com/jmespath/jmespath.py
|
|||||||
Source: https://github.com/jmespath/jmespath.py/archive/refs/tags/%{version}.tar.gz#/jmespath-%{version}.tar.gz
|
Source: https://github.com/jmespath/jmespath.py/archive/refs/tags/%{version}.tar.gz#/jmespath-%{version}.tar.gz
|
||||||
# Testing
|
# Testing
|
||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module ply >= 3.4}
|
BuildRequires: %{python_module ply >= 3.4}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
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-ply >= 3.4
|
Requires: python-ply >= 3.4
|
||||||
@@ -81,10 +85,10 @@ The expression: foo.*.name will return ["one", "two"].
|
|||||||
%autosetup -p1 -n jmespath.py-%{version}
|
%autosetup -p1 -n jmespath.py-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
mv %{buildroot}%{_bindir}/jp.py %{buildroot}%{_bindir}/jp
|
mv %{buildroot}%{_bindir}/jp.py %{buildroot}%{_bindir}/jp
|
||||||
%python_clone -a %{buildroot}%{_bindir}/jp
|
%python_clone -a %{buildroot}%{_bindir}/jp
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
@@ -107,7 +111,7 @@ mv %{buildroot}%{_bindir}/jp.py %{buildroot}%{_bindir}/jp
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/jmespath
|
%{python_sitelib}/jmespath
|
||||||
%{python_sitelib}/jmespath-%{version}*-info
|
%{python_sitelib}/jmespath-%{version}.dist-info
|
||||||
%python_alternative %{_bindir}/jp
|
%python_alternative %{_bindir}/jp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user