0ecbea
%global srcname mongoquery
0ecbea
0ecbea
Name:           python-%{srcname}
b83cba
Version:        1.3.5
7e313c
Release:        4%{?dist}
0ecbea
Summary:        A python implementation of mongodb queries
0ecbea
0ecbea
License:        Unlicense
0ecbea
URL:            https://github.com/kapouille/%{srcname}
626346
Source0:        https://github.com/kapouille/%{srcname}/archive/%{version}.tar.gz
0ecbea
0ecbea
BuildArch:      noarch
626346
BuildRequires:  python3-devel
626346
BuildRequires:  python3-nose
626346
BuildRequires:  python3-six
626346
626346
Requires:       python3-six
0ecbea
0ecbea
%description
0ecbea
A utility library that provides a MongoDB-like query language for querying
0ecbea
Python collections. It's mainly intended to parse objects structured as
0ecbea
fundamental types in a similar fashion to what is produced by JSON or YAML
0ecbea
parsers. It follows the specification of queries for MongoDB version 3.2.
0ecbea
0ecbea
%package -n python3-%{srcname}
0ecbea
Summary:        %{summary}
0ecbea
%{?python_provide:%python_provide python3-%{srcname}}
0ecbea
0ecbea
%description -n python3-%{srcname}
0ecbea
A utility library that provides a MongoDB-like query language for querying
0ecbea
Python collections. It's mainly intended to parse objects structured as
0ecbea
fundamental types in a similar fashion to what is produced by JSON or YAML
0ecbea
parsers. It follows the specification of queries for MongoDB version 3.2.
0ecbea
0ecbea
%prep
0ecbea
%autosetup -n %{srcname}-%{version}
0ecbea
0ecbea
%build
0ecbea
%py3_build
0ecbea
0ecbea
%install
0ecbea
%py3_install
0ecbea
0ecbea
%check
0ecbea
%{__python3} -m nose
0ecbea
0ecbea
%files -n python3-%{srcname}
0ecbea
%license LICENSE
0ecbea
%doc README.rst
0ecbea
%{python3_sitelib}/%{srcname}/
b83cba
%{python3_sitelib}/%{srcname}-*.egg-info/
0ecbea
0ecbea
%changelog
7e313c
* Thu Oct 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.3.5-4
7e313c
- Rebuilt for Python 3.8.0rc1 (#1748018)
7e313c
f5126d
* Mon Aug 19 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.3.5-3
f5126d
- Rebuilt for Python 3.8
f5126d
669093
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-2
669093
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
669093
b83cba
* Wed Feb 13 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.3.5-1
b83cba
- Update to latest upstream: 1.3.5
b83cba
- Drop Python 2 support
b83cba
0e4793
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
0e4793
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0e4793
383633
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
383633
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
383633
626346
* Wed Jul 04 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.3.3-1
626346
- Update to latest upstream: 1.3.3
626346
3eda1b
* Tue Jun 19 2018 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-6
3eda1b
- Rebuilt for Python 3.7
3eda1b
0ff911
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
0ff911
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0ff911
b8984a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
b8984a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b8984a
bafb5d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
bafb5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bafb5d
a8ab72
* Mon Dec 19 2016 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-2
a8ab72
- Rebuild for Python 3.6
a8ab72
0ecbea
* Thu Jun 02 2016 Josef Skladanka <jskladan@redhat.com> - 1.1.0-1
0ecbea
- initial packaging