Compare commits

...

No commits in common. 'c9' and 'i10c-beta' have entirely different histories.

2
.gitignore vendored

@ -1 +1 @@
SOURCES/jmespath-0.9.4.tar.gz
SOURCES/jmespath.py-1.0.1.tar.gz

@ -1 +1 @@
e69576ffb34660ac546ddfe9ec1a905e795cb856 SOURCES/jmespath-0.9.4.tar.gz
ec40e04cc9feedfa70652639f1a1bdbc25062165 SOURCES/jmespath.py-1.0.1.tar.gz

@ -1,13 +0,0 @@
diff -up jmespath-0.9.4/tests/test_compliance.py.orig jmespath-0.9.4/tests/test_compliance.py
--- jmespath-0.9.4/tests/test_compliance.py.orig 2017-05-13 19:21:34.000000000 +0200
+++ jmespath-0.9.4/tests/test_compliance.py 2021-06-29 11:34:10.355125102 +0200
@@ -3,7 +3,8 @@ from pprint import pformat
from tests import OrderedDict
from tests import json
-from nose.tools import assert_equal
+import unittest
+assert_equal = unittest.TestCase().assertEqual
from jmespath.visitor import Options

@ -1,17 +1,15 @@
%global pypi_name jmespath
Name: python-%{pypi_name}
Version: 0.9.4
Release: 11%{?dist}
Version: 1.0.1
Release: 7%{?dist}
Summary: JSON Matching Expressions
License: MIT
URL: https://github.com/jmespath/jmespath.py
Source0: https://pypi.python.org/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Source0: %{url}/archive/%{version}/jmespath.py-%{version}.tar.gz
BuildArch: noarch
Patch: nonose.patch
%description
JMESPath allows you to declaratively specify how to extract elements from
a JSON document.
@ -23,7 +21,11 @@ Summary: JSON Matching Expressions
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
%if %{undefined rhel}
BuildRequires: python3-hypothesis
%endif
Obsoletes: python2-jmespath < 0.9.4-2
@ -32,8 +34,7 @@ JMESPath allows you to declaratively specify how to extract elements from
a JSON document.
%prep
%setup -q -n %{pypi_name}-%{version}
%patch -p1
%setup -q -n jmespath.py-%{version}
rm -rf %{pypi_name}.egg-info
%build
@ -43,7 +44,9 @@ rm -rf %{pypi_name}.egg-info
%py3_install
%check
%pytest
# RHEL does not have python3-hypothesis. Only one file in the upstream repo
# depends on hypothesis, so we can omit this dependency for RHEL.
%pytest %{?rhel:--ignore=extra/test_hypothesis.py}
%files -n python3-%{pypi_name}
%doc README.rst
@ -53,15 +56,63 @@ rm -rf %{pypi_name}.egg-info
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.4-11
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.0.1-7
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0.1-7
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.0.1-3
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Nov 12 2022 Kevin Fenzi <kevin@scrye.com> - 1.0.1-1
- Update to 1.0.1. Fixes rhbz#2098349
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-4
- Rebuilt for Python 3.11
* Tue May 03 2022 Major Hayden <major@mhtx.net> - 1.0.0-3
- Remove python3-nose from BuildRequires and skip single test file that requires nose.
* Wed Apr 06 2022 Kevin Fenzi <kevin@scrye.com> - 1.0.0-2
- Rebuild to deal with update snafu.
* Tue Mar 22 2022 Kevin Fenzi <kevin@scrye.com> - 1.0.0-1
- Update to 1.0.0. Fixes rhbz#2064951
* Tue Mar 15 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.10.0-6
- Use list for random.sample since using a set has been removed in Python 3.11
- Fixes: rhbz#2057520
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3
- Actually run the tests in %%check
* Wed Jun 30 2021 Pavel Cahyna <pcahyna@redhat.com> - 0.9.4-10
- Remove the python-nose dependency, replace by pytest
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.0-2
- Rebuilt for Python 3.10
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.4-9
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Sat Apr 3 2021 Eduardo Echeverria <echevemaster@gmail.com> - 0.10.0-1
- Bumped to the last version
* Wed Mar 3 2021 Pavel Cahyna <pcahyna@redhat.com> - 0.9.4-8
- Remove unused python-mock build dependency

Loading…
Cancel
Save