98e1e33
%global module cornice
d6678d1
%global desc Helpers to build & document Web Services with Pyramid.
d6678d1
98e1e33
Name:             python-cornice
d2049f5
Version:          3.6.1
6657907
Release:          1%{?dist}
d6678d1
BuildArch:        noarch
98e1e33
98e1e33
License:          MPLv2.0
07be5e6
Summary:          Define Web Services in Pyramid
98e1e33
URL:              https://pypi.python.org/pypi/cornice
d97ca4f
Source0:          https://github.com/Cornices/cornice/archive/%{version}/%{module}-%{version}.tar.gz
07be5e6
07be5e6
17eae53
BuildRequires: %{py3_dist colander}
17eae53
BuildRequires: %{py3_dist coverage}
17eae53
BuildRequires: %{py3_dist mock}
17eae53
BuildRequires: %{py3_dist nose}
17eae53
BuildRequires: %{py3_dist pyramid} >= 1.7
17eae53
BuildRequires: %{py3_dist setuptools}
17eae53
BuildRequires: %{py3_dist simplejson}
17eae53
BuildRequires: %{py3_dist sphinx}
17eae53
BuildRequires: %{py3_dist venusian}
17eae53
BuildRequires: %{py3_dist webtest}
17eae53
BuildRequires: python3-devel
d6678d1
d6678d1
d6678d1
%description
d6678d1
%{desc}
d6678d1
d6678d1
98e1e33
%package -n python3-cornice
899679a
Summary:          %{summary}
98e1e33
17eae53
Recommends: %{py3_dist colander}
17eae53
Requires:   %{py3_dist pyramid} >= 1.7
17eae53
Requires:   %{py3_dist simplejson}
f30aea0
Requires:   %{py3_dist six}
17eae53
Requires:   %{py3_dist venusian}
98e1e33
d6678d1
%{?python_provide:%python_provide python3-%{module}}
d6678d1
d6678d1
98e1e33
%description -n python3-cornice
d6678d1
%{desc}
98e1e33
98e1e33
98e1e33
%prep
07be5e6
%autosetup -p1 -n %{module}-%{version}
98e1e33
98e1e33
98e1e33
%build
07be5e6
%py3_build
98e1e33
98e1e33
98e1e33
%install
07be5e6
%py3_install
98e1e33
98e1e33
98e1e33
%check
07be5e6
PYTHONPATH="." nosetests-3
98e1e33
98e1e33
98e1e33
%files -n python3-cornice
d6678d1
%license LICENSE
d6678d1
%doc CHANGES.txt CONTRIBUTORS.txt README.rst
98e1e33
%{python3_sitelib}/%{module}*
98e1e33
98e1e33
98e1e33
%changelog
d2049f5
* Mon Nov 18 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.6.1-1
d2049f5
- Update to 3.6.1 (#1771947).
d2049f5
- https://github.com/Cornices/cornice/blob/3.6.1/CHANGES.txt
d2049f5
6657907
* Tue Sep 03 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.6.0-1
6657907
- Update to 3.6.0 (#1742282).
6657907
- https://github.com/Cornices/cornice/blob/3.6.0/CHANGES.txt
6657907
386f044
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
386f044
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
386f044
1b24faf
* Tue Mar 26 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.5.1-1
1b24faf
- Update to 3.5.1 (#1669103).
1b24faf
- https://github.com/Cornices/cornice/blob/3.5.1/CHANGES.txt
1b24faf
d79dc37
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-3
d79dc37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d79dc37
f2df554
* Sat Dec 08 2018 Miro Hrončok <mhroncok@redhat.com> - 3.4.0-2
f2df554
- Subpackage python2-cornice has been removed
f2df554
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
f2df554
d97ca4f
* Thu Aug 23 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.4.0-1
d97ca4f
- Update to 3.4.0 (#1543660).
d97ca4f
- https://github.com/Cornices/cornice/blob/3.4.0/CHANGES.txt
d97ca4f
e02f904
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
e02f904
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e02f904
96ec80f
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-2
96ec80f
- Rebuilt for Python 3.7
96ec80f
f30aea0
* Fri Apr 27 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.1.0-1
f30aea0
- Update to 3.1.0.
f30aea0
- https://github.com/Cornices/cornice/blob/3.1.0/CHANGES.txt
f30aea0
bdd266c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
bdd266c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bdd266c
17eae53
* Thu Dec 21 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.0.0-2
17eae53
- Use the py2_dist and py3_dist macros.
17eae53
07be5e6
* Tue Dec 19 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.0.0-1
07be5e6
- Update to 3.0.0 (#1430178).
07be5e6
- https://github.com/Cornices/cornice/blob/3.0.0/CHANGES.txt
07be5e6
- https://cornice.readthedocs.io/en/latest/upgrading.html
07be5e6
- Clean up spec file to target only Rawhide since 3.0.0 can not be released on older releases.
07be5e6
0e734bf
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
0e734bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0e734bf
899679a
* Wed Jul 05 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.1.0-8
899679a
- Use python2- requires where appropriate.
899679a
d6678d1
* Wed Jul 05 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.1.0-7
d6678d1
- Provide python2- subpackages.
d6678d1
- Use the license macro.
d6678d1
- Reorganize requirements, and sort them alphabetically.
d6678d1
- Remove the execute bit from some templates.
d6678d1
72de06b
* Tue Mar 07 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.1.0-6
72de06b
- Apply two patches to allow autodoc generation to work again (#1430185, #1430186).
72de06b
795add1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
795add1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild