fa45528
Name:           python-waitress
e5d6c6b
Version:        2.1.2
91f986c
Release:        7%{?dist}
be5e56a
Summary:        Waitress WSGI server
be5e56a
ac3643f
License:        ZPL-2.1
fa45528
URL:            https://github.com/Pylons/waitress
8029257
Source0:        v%{version}-nodocs.tar.gz
fd1028f
# Upstream ships non free docs files.
8029257
# We do not even want them in our src.rpms
fd1028f
# So we remove them before uploading.
8029257
#
8029257
# Download the upstream tarball and invoke this script while in the
8029257
# tarball's directory:
8029257
# ./generate-tarball.sh 1.0
8029257
#
8029257
Source1: generate-tarball.sh
be5e56a
be5e56a
BuildArch:      noarch
Igor Gnatenko 80840b1
fa45528
%global _description %{expand:
fa45528
Waitress is a production-quality pure-Python WSGI server with very acceptable
fa45528
performance. It has no dependencies except ones which live in the Python
fa45528
standard library. It runs on CPython on Unix and Windows under Python 3.7+. It
fa45528
is also known to run on PyPy 3 (version 3.7 compatible python) on UNIX. It
fa45528
supports HTTP/1.0 and HTTP/1.1.}
be5e56a
Igor Gnatenko 80840b1
%description %{_description}
Igor Gnatenko 80840b1
fa45528
%package -n python3-waitress
fa45528
Summary:        %{summary}
be5e56a
BuildRequires:  python3-devel
be5e56a
fa45528
%description -n python3-waitress %{_description}
be5e56a
be5e56a
%prep
fa45528
%autosetup -n waitress-%{version}-nodocs
ae944a6
sed -e '/pytest-cover/d' \
ae944a6
    -e '/coverage/d' \
ae944a6
    -e '/addopts/d' \
ae944a6
    -i setup.cfg
fa45528
fa45528
%generate_buildrequires
ae944a6
%pyproject_buildrequires -x testing
be5e56a
be5e56a
%build
fa45528
%pyproject_wheel
be5e56a
be5e56a
%install
fa45528
%pyproject_install
fa45528
%pyproject_save_files waitress
be5e56a
ae944a6
%check
ae944a6
%pytest
Igor Gnatenko 80840b1
fa45528
%files -n python3-waitress -f %{pyproject_files}
Igor Gnatenko 80840b1
%license COPYRIGHT.txt LICENSE.txt
Igor Gnatenko 80840b1
%doc README.rst CHANGES.txt
fd20a2a
%{_bindir}/waitress-serve
be5e56a
be5e56a
%changelog
91f986c
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-7
91f986c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
91f986c
a002b75
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6
a002b75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a002b75
1a55e3b
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-5
1a55e3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1a55e3b
0521fe9
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.1.2-4
0521fe9
- Rebuilt for Python 3.12
0521fe9
fa45528
* Wed May 10 2023 Carl George <carl@george.computer> - 2.1.2-3
fa45528
- Convert to pyproject macros
ae944a6
- Run test suite
ac3643f
- Switch to SPDX license identifier
fa45528
9dd3886
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
9dd3886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
9dd3886
e5d6c6b
* Tue Aug 02 2022 Alfredo Moralejo <amoralej@redhat.com> - 2.1.2-1
e5d6c6b
- Update to 2.1.2 Fixes rhbz#2091729
e5d6c6b
3f222dc
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
3f222dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
3f222dc
14d106f
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.1-2
14d106f
- Rebuilt for Python 3.11
14d106f
c922e37
* Mon May 30 2022 Kevin Fenzi <kevin@scrye.com> - 2.1.1-1
c922e37
- Update to 2.1.1. Fixes rhbz#2051348
c922e37
333344a
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-6
333344a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
333344a
a94b120
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-5
a94b120
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a94b120
4893737
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.4.4-4
4893737
- Rebuilt for Python 3.10
4893737
4e7c932
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
4e7c932
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4e7c932
e5ce6bf
* Fri Jan 15 2021 Troy Dawson <tdawson@redhat.com> - 1.4.4-2
e5ce6bf
- Remove test BuildRequires until tests are working
e5ce6bf
3b41398
* Thu Sep 10 2020 Joel Capitao <jcapitao@redhat.com> - 1.4.4-1
3b41398
- Update to 1.4.4
3b41398
a1b1668
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
a1b1668
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a1b1668
20cd130
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.3-2
20cd130
- Rebuilt for Python 3.9
20cd130
5d391fb
* Fri Feb 07 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.3-1
5d391fb
- Update to 1.4.3 Fixes bug #1785591
5d391fb
6eee6c0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
6eee6c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6eee6c0
b054c6c
* Mon Jan 20 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.2-1
b054c6c
- Update to 1.4.2 Fixes bugs #1785591 #1789807 #1789809 #1789810 #1791415
b054c6c
  #1791416 #1791417 #1791420 #1791421 #1791422 #1791423
b054c6c
e35378f
* Thu Jan 16 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.1-1
e35378f
- Update to 1.4.1 Fixes bug #1785591
e35378f
fd1028f
* Wed Dec 25 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.0-1
fd1028f
- Update to 1.4.0 Fixes bug #1785591
fd1028f
0c9b05e
* Sun Oct 06 2019 Kevin Fenzi <kevin@scrye.com> - 1.3.1-1
0c9b05e
- Update to 1.3.1. Fixes bug #1747075
0c9b05e
a98bc75
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-5
a98bc75
- Subpackage python2-waitress has been removed
a98bc75
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
a98bc75
74ca1f5
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
74ca1f5
- Rebuilt for Python 3.8
74ca1f5
c348fb5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
c348fb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c348fb5
8029257
* Sat Jun 29 2019 Kevin Fenzi <kevin@scrye.com> - 1.2.1-2
3b41398
- Remove non free docs from src.rpm and provide script to do so before upload.
8029257
- Fixes bug #1684335
8029257
f30fb1e
* Tue Feb 05 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.2.1-1
f30fb1e
- Update to 1.2.1 (#1667466)
f30fb1e
f6f13cd
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
f6f13cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f6f13cd
6ee75eb
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
6ee75eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6ee75eb
3aa190b
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
3aa190b
- Rebuilt for Python 3.7
3aa190b
ce7ad3f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
ce7ad3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ce7ad3f
f3e56c4
* Sat Nov 11 2017 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.1.0-1
f3e56c4
- Update to 1.1.0 (#1504455)
f3e56c4
b8ae1eb
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
b8ae1eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b8ae1eb
6750ccc
* Sat Feb 18 2017 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.0.2-1
6750ccc
- Update to 1.0.2. Fixes bug #1419297
6750ccc
ad25b69
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
ad25b69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ad25b69
9d1bf93
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
9d1bf93
- Rebuild for Python 3.6
9d1bf93
eaf0f01
* Tue Oct 25 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.1-1
eaf0f01
- Update to 1.0.1. Fixes bug #1387885
eaf0f01
5325847
* Sat Sep 03 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.0-1
5325847
- Update to 1.0.0. Fixes bug #1372330
5325847
2f4c1eb
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
2f4c1eb
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2f4c1eb
Igor Gnatenko 80840b1
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.9.0-3
Igor Gnatenko 80840b1
- Modernize spec to comply with new packaging guidelines
Igor Gnatenko 80840b1
c9898ce
* Thu May 26 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0-2
c9898ce
- Fixed Source0 to point to new PyPi predictable URL format
c9898ce
b37b685
* Thu May 5 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0-1
b37b685
- Update to 0.9.0
b37b685
- Fixed 2 warnings from fedpkg lint
b37b685
66dcbf8
* Sun Apr 10 2016 Kevin Fenzi <kevin@scrye.com> - 0.9.0b1-1
66dcbf8
- Update to 0.9.0b1. Fixes bug #1325661
66dcbf8
60ea378
* Mon Mar 21 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0b0-1
60ea378
- New (beta) version
60ea378
0bd52fc
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.10-3
0bd52fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0bd52fc
8d89616
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.10-2
8d89616
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
8d89616
102eea2
* Wed Sep 16 2015 Ralph Bean <rbean@redhat.com> - 0.8.10-1
102eea2
- new version
102eea2
a259989
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-6
a259989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a259989
7d555e5
* Mon Apr 27 2015 Ralph Bean <rbean@redhat.com> - 0.8.9-5
7d555e5
- Conditionalize the python3 subpackage.
62ae517
9183a71
* Mon Jul 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-4
b37b685
- Fix comment in description section about versioned directory for docs
9183a71
- Use __python2 macro instead of __python
9183a71
1f6bd94
* Sat Jun 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-3
62ae517
- Run the tests with nose to avoid unclosed socket errors
62ae517
f90c165
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-2
f90c165
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f90c165
4acd94a
* Sun May 25 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-1
4acd94a
- Update to upstream
4acd94a
5db2e91
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.8-2
5db2e91
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
5db2e91
fb481d4
* Sun Dec 22 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.8-1
fb481d4
- Update to upstream
fb481d4
c40d74b
* Sun Dec 8 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-3
c40d74b
- Remove python3 dependency on the python-waitress python2 package
c40d74b
9618347
* Wed Aug 7 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-2
9618347
- Update description to use the new Fedora 20 _pkgdocdir macro, which
9618347
  is also defined for backwards cmompatibility
9618347
739d078
* Wed Jul 31 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-1
739d078
- Update to upstream
739d078
fd20a2a
* Sat Jul 6 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.4-1
fd20a2a
- Update to upstream
fd20a2a
- Added waitress-serve as a binary executable in /usr/bin
fd20a2a
36e73db
* Sun May 12 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.3-1
36e73db
- Update to upstream
36e73db
dc4874d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
dc4874d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
dc4874d
be5e56a
* Wed Nov 28 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-3
b37b685
- Use version macro in the Source0 to avoid duplicates
be5e56a
* Sat Nov 24 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-2
be5e56a
- Point to the local docs directory in the description for the documentation
be5e56a
- Remove py3dir before copying the files to it in the prep phase
be5e56a
- Remove -O1 in the build phase as it is not used anymore in the Fedora
be5e56a
  Packaging guidelines
be5e56a
- Remove files rpmlint doesn't like
be5e56a
* Mon Nov 19 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-1
be5e56a
- New package.