Fabio Alessandro Locati c59dabe
%global pypi_name jmespath
947843a
Fabio Alessandro Locati c59dabe
Name:           python-%{pypi_name}
6b32eec
Version:        0.10.0
e8efe8d
Release:        4%{?dist}
Fabio Alessandro Locati c59dabe
Summary:        JSON Matching Expressions
947843a
Fabio Alessandro Locati c59dabe
License:        MIT
Fabio Alessandro Locati c59dabe
URL:            https://github.com/jmespath/jmespath.py
878c288
Source0:        %{url}/archive/%{version}/jmespath.py-%{version}.tar.gz
947843a
BuildArch:      noarch
Fabio Alessandro Locati c59dabe
947843a
%description
947843a
JMESPath allows you to declaratively specify how to extract elements from
947843a
a JSON document.
947843a
Fabio Alessandro Locati c59dabe
%package -n     python3-%{pypi_name}
Fabio Alessandro Locati c59dabe
Summary:        JSON Matching Expressions
Fabio Alessandro Locati c59dabe
%{?python_provide:%python_provide python3-%{pypi_name}}
600f230
%{?python_provide:%python_provide python-%{pypi_name}}
947843a
97de9eb
BuildRequires:  python3-devel
97de9eb
BuildRequires:  python3-setuptools
97de9eb
878c288
# The tests unfortunately still import from nose, but we use pytest as test runner:
878c288
BuildRequires:  python3-nose
878c288
BuildRequires:  python3-pytest
878c288
BuildRequires:  python3-hypothesis
878c288
cc7bd4a
Obsoletes: python2-jmespath < 0.9.4-2
cc7bd4a
Fabio Alessandro Locati c59dabe
%description -n python3-%{pypi_name}
Fabio Alessandro Locati c59dabe
JMESPath allows you to declaratively specify how to extract elements from
Fabio Alessandro Locati c59dabe
a JSON document.
947843a
947843a
%prep
878c288
%setup -q -n jmespath.py-%{version}
Fabio Alessandro Locati c59dabe
rm -rf %{pypi_name}.egg-info
947843a
947843a
%build
Fabio Alessandro Locati c59dabe
%py3_build
947843a
947843a
%install
Fabio Alessandro Locati c59dabe
%py3_install
947843a
9854b09
%check
878c288
%pytest
947843a
Fabio Alessandro Locati c59dabe
%files -n python3-%{pypi_name}
947843a
%doc README.rst
Fabio Alessandro Locati c59dabe
%license LICENSE.txt
600f230
%{_bindir}/jp.py
Fabio Alessandro Locati c59dabe
%{python3_sitelib}/%{pypi_name}
621e6ce
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
947843a
947843a
%changelog
e8efe8d
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
e8efe8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
e8efe8d
878c288
* Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3
878c288
- Actually run the tests in %%check
878c288
473191b
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.0-2
473191b
- Rebuilt for Python 3.10
473191b
6b32eec
* Sat Apr 3 2021 Eduardo Echeverria <echevemaster@gmail.com> - 0.10.0-1
6b32eec
- Bumped to the last version
6b32eec
02ae69a
* Wed Mar  3 2021 Pavel Cahyna <pcahyna@redhat.com> - 0.9.4-8
02ae69a
- Remove unused python-mock build dependency
02ae69a
4437e57
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-7
4437e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4437e57
e89e0fa
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-6
e89e0fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e89e0fa
a030a65
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.4-5
a030a65
- Rebuilt for Python 3.9
a030a65
32d7d2d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-4
32d7d2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
32d7d2d
cc7bd4a
* Wed Sep  4 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9.4-3
cc7bd4a
- Obsolete python2 subpackage to fix upgrade path (#1734184)
cc7bd4a
2fe4483
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.4-2
2fe4483
- Rebuilt for Python 3.8
2fe4483
600f230
* Wed Jul 24 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.4-1
600f230
- Upgrade to 0.9.4.
600f230
- Drop python2 subpackage and fix unversioned command to use python3.
600f230
376e4bd
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
376e4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
376e4bd
1438d23
* Sat Sep 08 2018 Kevin Fenzi <kevin@scrye.com> - 0.9.3-1
1438d23
- Upgrade to 0.9.3. Fixes bug #1588131
1438d23
8944ed0
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-12
8944ed0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8944ed0
f10a4ba
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-11
f10a4ba
- Rebuilt for Python 3.7
f10a4ba
33f66ce
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.0-10
33f66ce
- Update Python 2 dependency declarations to new packaging standards
33f66ce
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
33f66ce
55b23ab
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-9
55b23ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
55b23ab
d23cd12
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-8
d23cd12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d23cd12
90cd29e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-7
90cd29e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
90cd29e
1810dc9
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-6
eed6013
- Rebuild for Python 3.6
eed6013
9d37873
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-5
9d37873
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
9d37873
97de9eb
* Mon Jun 27 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 0.9.0-4
97de9eb
- Fix python2 subpackage requiring python3 (RHBZ#1342501)
97de9eb
a5148e0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
a5148e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a5148e0
cf50f7e
* Wed Jan 06 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.9.0-2
Fabio Alessandro Locati 7f11b83
- Improve to set the Provides tag for EL6 too
Fabio Alessandro Locati 7f11b83
cf50f7e
* Tue Dec 29 2015 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.9.0-1
Fabio Alessandro Locati c59dabe
- Upgrade to upstream current version
Fabio Alessandro Locati c59dabe
- Improve the spec file
Fabio Alessandro Locati c59dabe
- Make possible to build in EL6
Fabio Alessandro Locati c59dabe
4ac8726
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
4ac8726
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
4ac8726
304a22c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
304a22c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
304a22c
a2d32c4
* Fri Dec 19 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.5.0-1
a2d32c4
- New version
a2d32c4
947843a
* Fri Jul 25 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.4.1-2
947843a
- Add Python 3 support
947843a
947843a
* Fri Jul 25 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.4.1-1
947843a
- Initial packaging