e6fc3e
%global pypi_name jmespath
e6fc3e
e6fc3e
Name:           python-%{pypi_name}
790f17
Version:        0.10.0
790f17
Release:        1%{?dist}
e6fc3e
Summary:        JSON Matching Expressions
e6fc3e
e6fc3e
License:        MIT
e6fc3e
URL:            https://github.com/jmespath/jmespath.py
e6fc3e
Source0:        https://pypi.python.org/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
e6fc3e
BuildArch:      noarch
e6fc3e
e6fc3e
%description
e6fc3e
JMESPath allows you to declaratively specify how to extract elements from
e6fc3e
a JSON document.
e6fc3e
e6fc3e
%package -n     python3-%{pypi_name}
e6fc3e
Summary:        JSON Matching Expressions
e6fc3e
%{?python_provide:%python_provide python3-%{pypi_name}}
790f17
%{?python_provide:%python_provide python-%{pypi_name}}
e6fc3e
e6fc3e
BuildRequires:  python3-devel
e6fc3e
BuildRequires:  python3-nose
e6fc3e
BuildRequires:  python3-setuptools
e6fc3e
790f17
Obsoletes: python2-jmespath < 0.9.4-2
e6fc3e
e6fc3e
%description -n python3-%{pypi_name}
e6fc3e
JMESPath allows you to declaratively specify how to extract elements from
e6fc3e
a JSON document.
e6fc3e
e6fc3e
%prep
e6fc3e
%setup -q -n %{pypi_name}-%{version}
e6fc3e
rm -rf %{pypi_name}.egg-info
e6fc3e
e6fc3e
%build
e6fc3e
%py3_build
e6fc3e
e6fc3e
%install
e6fc3e
%py3_install
e6fc3e
e6fc3e
%check
e6fc3e
nosetests-%{python3_version}
e6fc3e
e6fc3e
%files -n python3-%{pypi_name}
e6fc3e
%doc README.rst
e6fc3e
%license LICENSE.txt
e6fc3e
%{_bindir}/jp.py
e6fc3e
%{python3_sitelib}/%{pypi_name}
790f17
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
e6fc3e
e6fc3e
%changelog
790f17
* Sat Apr 3 2021 Eduardo Echeverria <echevemaster@gmail.com> - 0.10.0-1
790f17
- Bumped to the last version
790f17
790f17
* Wed Mar  3 2021 Pavel Cahyna <pcahyna@redhat.com> - 0.9.4-8
790f17
- Remove unused python-mock build dependency
790f17
790f17
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-7
790f17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
790f17
790f17
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-6
790f17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
790f17
790f17
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.4-5
790f17
- Rebuilt for Python 3.9
790f17
790f17
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-4
790f17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
790f17
790f17
* Wed Sep  4 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9.4-3
790f17
- Obsolete python2 subpackage to fix upgrade path (#1734184)
790f17
790f17
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.4-2
790f17
- Rebuilt for Python 3.8
790f17
790f17
* Wed Jul 24 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.4-1
790f17
- Upgrade to 0.9.4.
790f17
- Drop python2 subpackage and fix unversioned command to use python3.
790f17
790f17
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
790f17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
790f17
790f17
* Sat Sep 08 2018 Kevin Fenzi <kevin@scrye.com> - 0.9.3-1
790f17
- Upgrade to 0.9.3. Fixes bug #1588131
790f17
790f17
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-12
790f17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
790f17
790f17
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-11
790f17
- Rebuilt for Python 3.7
e6fc3e
790f17
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.0-10
790f17
- Update Python 2 dependency declarations to new packaging standards
790f17
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e6fc3e
e6fc3e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-9
e6fc3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e6fc3e
e6fc3e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-8
e6fc3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e6fc3e
e6fc3e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-7
e6fc3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e6fc3e
e6fc3e
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-6
e6fc3e
- Rebuild for Python 3.6
e6fc3e
e6fc3e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-5
e6fc3e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e6fc3e
e6fc3e
* Mon Jun 27 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 0.9.0-4
e6fc3e
- Fix python2 subpackage requiring python3 (RHBZ#1342501)
e6fc3e
e6fc3e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
e6fc3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e6fc3e
e6fc3e
* Wed Jan 06 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.9.0-2
e6fc3e
- Improve to set the Provides tag for EL6 too
e6fc3e
e6fc3e
* Tue Dec 29 2015 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.9.0-1
e6fc3e
- Upgrade to upstream current version
e6fc3e
- Improve the spec file
e6fc3e
- Make possible to build in EL6
e6fc3e
e6fc3e
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
e6fc3e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
e6fc3e
e6fc3e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
e6fc3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e6fc3e
e6fc3e
* Fri Dec 19 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.5.0-1
e6fc3e
- New version
e6fc3e
e6fc3e
* Fri Jul 25 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.4.1-2
e6fc3e
- Add Python 3 support
e6fc3e
e6fc3e
* Fri Jul 25 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.4.1-1
e6fc3e
- Initial packaging