Compare commits

...
Sign in to create a new pull request.

65 commits

Author SHA1 Message Date
Python Maint
4635ff654f Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:44:31 +02:00
Python Maint
3658596978 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:08:22 +02:00
Fedora Release Engineering
9260ee503c Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 11:05:05 +00:00
Python Maint
275eeeca7b Rebuilt for Python 3.14 2025-06-02 22:55:51 +02:00
Carl George
8791064fc8 Update to version 3.0.2 rhbz#2326711 2025-02-05 14:52:52 -06:00
Fedora Release Engineering
fbd7da616e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 20:39:11 +00:00
Carl George
7cf29fd8b3 Update to version 3.0.1 rhbz#2322297
- Resolves: CVE-2024-49768
- Resolves: CVE-2024-49769
2024-11-07 00:15:27 -06:00
Fedora Release Engineering
40ed1fd08a Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 16:59:32 +00:00
Python Maint
7e4d510444 Rebuilt for Python 3.13 2024-06-07 10:59:33 +02:00
Carl George
8557aec3cc Update to version 3.0.0 rhbz#2262711 2024-05-21 16:18:30 -05:00
Carl George
45077f78c2 Convert to %autorelease and %autochangelog
[skip changelog]
2024-05-20 10:27:06 -05:00
Fedora Release Engineering
91f986cfee Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 12:46:10 +00:00
Fedora Release Engineering
a002b75796 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 08:56:32 +00:00
Fedora Release Engineering
1a55e3b959 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 15:14:49 +00:00
Python Maint
0521fe96f9 Rebuilt for Python 3.12 2023-06-13 23:05:56 +02:00
Carl George
ac3643f4fb Switch to SPDX license identifier 2023-05-09 19:40:17 -05:00
Carl George
ae944a63bf Run test suite 2023-05-09 19:40:13 -05:00
Carl George
fa45528a17 Convert to pyproject macros 2023-05-09 19:30:47 -05:00
Fedora Release Engineering
9dd38860cd Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 18:20:26 +00:00
Alfredo Moralejo
e5d6c6b8ce Update to 2.1.2
Fixes: rhbz#2091729
2022-08-02 11:01:16 +02:00
Fedora Release Engineering
3f222dcae3 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:22:29 +00:00
Python Maint
14d106f084 Rebuilt for Python 3.11 2022-06-13 15:33:37 +02:00
Kevin Fenzi
c922e375d4 Update to 2.1.1. Fixes rhbz#2051348 2022-05-30 13:06:40 -07:00
Fedora Release Engineering
333344a045 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:25:40 +00:00
Fedora Release Engineering
a94b12020d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 10:12:43 +00:00
Python Maint
4893737370 Rebuilt for Python 3.10 2021-06-03 02:21:20 +02:00
Fedora Release Engineering
4e7c932d35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 14:08:36 +00:00
Troy Dawson
e5ce6bf678 Remove test BuildRequires until tests are working 2021-01-15 21:54:18 +00:00
Joel Capitao
3b41398289 Update to 1.4.4 2020-09-10 15:32:23 +02:00
Fedora Release Engineering
a1b1668fc8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:35:03 +00:00
Miro Hrončok
20cd130b10 Rebuilt for Python 3.9 2020-05-23 22:46:01 +02:00
Lorenzo Gil Sanchez
5d391fb590 Update to 1.4.3 Fixes bug #1785591 2020-02-07 21:25:34 -08:00
Fedora Release Engineering
6eee6c0d5e - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 16:09:07 +00:00
Lorenzo Gil Sanchez
b054c6c025 Update to 1.4.2 Fixes bugs #1785591 #1789807 #1789809 #1789810 #1791415 2020-01-20 23:10:23 -08:00
Lorenzo Gil Sanchez
e35378fb8a Update to 1.4.1 Fixes bug #1785591 2020-01-16 22:54:36 -08:00
Lorenzo Gil Sanchez
fd1028f2e2 Update to 1.4.0 Fixes bug #1785591 2019-12-25 22:39:50 -08:00
Kevin Fenzi
0c9b05ec3b Update to 1.3.1. Fixes bug #1747075 2019-10-06 12:37:05 -07:00
Miro Hrončok
a98bc75492 Subpackage python2-waitress has been removed 2019-09-09 16:13:15 +02:00
Miro Hrončok
74ca1f59f0 Rebuilt for Python 3.8 2019-08-17 11:05:40 +02:00
Fedora Release Engineering
c348fb5f45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 17:02:15 +00:00
Kevin Fenzi
802925718b Remove non free docs from src.rpm and provide script to do so before upload.
Fixes bug #1684335
2019-06-29 13:22:24 -07:00
Lorenzo Gil Sanchez
f30fb1ef29 Update to 1.2.1 (#1667466) 2019-02-05 22:32:38 -08:00
Fedora Release Engineering
f6f13cdce8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 09:59:44 +00:00
Fedora Release Engineering
6ee75ebd6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:35:20 +00:00
Miro Hrončok
3aa190b23a Rebuilt for Python 3.7 2018-06-17 23:19:53 +02:00
Fedora Release Engineering
ce7ad3f138 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 11:35:36 +00:00
Lorenzo Gil Sanchez
f3e56c4ffa Update to 1.1.0 (#1504455) 2017-11-11 23:45:58 -08:00
Fedora Release Engineering
b8ae1ebe06 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:14:02 +00:00
Lorenzo Gil Sanchez
6750ccc614 Update to 1.0.2. Fixes bug #1419297 2017-02-18 23:23:30 -08:00
Fedora Release Engineering
ad25b69122 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 10:52:50 +00:00
Miro Hrončok
9d1bf93147 Rebuild for Python 3.6 2016-12-19 18:20:38 +01:00
Kevin Fenzi
eaf0f012b8 Update to 1.0.1. Fixes bug #1387885 2016-10-25 12:24:20 -06:00
Kevin Fenzi
eb2491f36f Update to 1.0.0. Fixes bug #1372330 2016-09-03 18:24:25 -06:00
Kevin Fenzi
5325847ddf Update to 1.0.0. Fixes bug #1372330 2016-09-03 18:23:18 -06:00
Fedora Release Engineering
2f4c1ebcbb - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:06:57 +00:00
Igor Gnatenko
80840b1044 Modernize spec to comply with new packaging guidelines
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>

https://bugzilla.redhat.com/show_bug.cgi?id=1351090
2016-06-29 18:57:45 +02:00
Lorenzo Gil Sanchez
c9898ced58 Fixed Source0 to point to new PyPi predictable URL format 2016-05-26 21:13:58 -07:00
Lorenzo Gil Sanchez
b37b685cb3 Update to 0.9.0
- Fixed 2 warnings from fedpkg lint
2016-05-05 21:13:50 -07:00
Kevin Fenzi
66dcbf8c0a Update to 0.9.0b1. Fixes bug #1325661 2016-04-10 11:48:19 -06:00
Lorenzo Gil Sanchez
60ea37803b New (beta) version 2016-03-21 21:11:22 -07:00
Fedora Release Engineering
0bd52fc0ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 21:19:42 +00:00
Peter Robinson
8d896164af - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 17:39:30 +00:00
Ralph Bean
102eea20ac 0.8.10 2015-09-15 20:44:36 -04:00
Dennis Gilmore
a259989ab6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 21:16:25 +00:00
Ralph Bean
7d555e5d12 Conditionalize python3 subpackage (for epel7). 2015-04-27 12:05:18 -04:00
5 changed files with 261 additions and 135 deletions

7
.gitignore vendored
View file

@ -1,6 +1 @@
/waitress-0.8.2.tar.gz
/waitress-0.8.3.tar.gz
/waitress-0.8.4.tar.gz
/waitress-0.8.5.tar.gz
/waitress-0.8.8.tar.gz
/waitress-0.8.9.tar.gz
/waitress-*-nodocs.tar.gz

208
changelog Normal file
View file

@ -0,0 +1,208 @@
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.1.2-4
- Rebuilt for Python 3.12
* Wed May 10 2023 Carl George <carl@george.computer> - 2.1.2-3
- Convert to pyproject macros
- Run test suite
- Switch to SPDX license identifier
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Aug 02 2022 Alfredo Moralejo <amoralej@redhat.com> - 2.1.2-1
- Update to 2.1.2 Fixes rhbz#2091729
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.1-2
- Rebuilt for Python 3.11
* Mon May 30 2022 Kevin Fenzi <kevin@scrye.com> - 2.1.1-1
- Update to 2.1.1. Fixes rhbz#2051348
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.4.4-4
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 15 2021 Troy Dawson <tdawson@redhat.com> - 1.4.4-2
- Remove test BuildRequires until tests are working
* Thu Sep 10 2020 Joel Capitao <jcapitao@redhat.com> - 1.4.4-1
- Update to 1.4.4
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.3-2
- Rebuilt for Python 3.9
* Fri Feb 07 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.3-1
- Update to 1.4.3 Fixes bug #1785591
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Jan 20 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.2-1
- Update to 1.4.2 Fixes bugs #1785591 #1789807 #1789809 #1789810 #1791415
#1791416 #1791417 #1791420 #1791421 #1791422 #1791423
* Thu Jan 16 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.1-1
- Update to 1.4.1 Fixes bug #1785591
* Wed Dec 25 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.0-1
- Update to 1.4.0 Fixes bug #1785591
* Sun Oct 06 2019 Kevin Fenzi <kevin@scrye.com> - 1.3.1-1
- Update to 1.3.1. Fixes bug #1747075
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-5
- Subpackage python2-waitress has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jun 29 2019 Kevin Fenzi <kevin@scrye.com> - 1.2.1-2
- Remove non free docs from src.rpm and provide script to do so before upload.
- Fixes bug #1684335
* Tue Feb 05 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.2.1-1
- Update to 1.2.1 (#1667466)
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
- Rebuilt for Python 3.7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Nov 11 2017 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.1.0-1
- Update to 1.1.0 (#1504455)
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 18 2017 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.0.2-1
- Update to 1.0.2. Fixes bug #1419297
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
- Rebuild for Python 3.6
* Tue Oct 25 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.1-1
- Update to 1.0.1. Fixes bug #1387885
* Sat Sep 03 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.0-1
- Update to 1.0.0. Fixes bug #1372330
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.9.0-3
- Modernize spec to comply with new packaging guidelines
* Thu May 26 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0-2
- Fixed Source0 to point to new PyPi predictable URL format
* Thu May 5 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0-1
- Update to 0.9.0
- Fixed 2 warnings from fedpkg lint
* Sun Apr 10 2016 Kevin Fenzi <kevin@scrye.com> - 0.9.0b1-1
- Update to 0.9.0b1. Fixes bug #1325661
* Mon Mar 21 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0b0-1
- New (beta) version
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.10-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
* Wed Sep 16 2015 Ralph Bean <rbean@redhat.com> - 0.8.10-1
- new version
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Apr 27 2015 Ralph Bean <rbean@redhat.com> - 0.8.9-5
- Conditionalize the python3 subpackage.
* Mon Jul 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-4
- Fix comment in description section about versioned directory for docs
- Use __python2 macro instead of __python
* Sat Jun 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-3
- Run the tests with nose to avoid unclosed socket errors
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun May 25 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-1
- Update to upstream
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.8-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
* Sun Dec 22 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.8-1
- Update to upstream
* Sun Dec 8 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-3
- Remove python3 dependency on the python-waitress python2 package
* Wed Aug 7 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-2
- Update description to use the new Fedora 20 _pkgdocdir macro, which
is also defined for backwards cmompatibility
* Wed Jul 31 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-1
- Update to upstream
* Sat Jul 6 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.4-1
- Update to upstream
- Added waitress-serve as a binary executable in /usr/bin
* Sun May 12 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.3-1
- Update to upstream
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 28 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-3
- Use version macro in the Source0 to avoid duplicates
* Sat Nov 24 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-2
- Point to the local docs directory in the description for the documentation
- Remove py3dir before copying the files to it in the prep phase
- Remove -O1 in the build phase as it is not used anymore in the Fedora
Packaging guidelines
- Remove files rpmlint doesn't like
* Mon Nov 19 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-1
- New package.

14
generate-tarball.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
if [[ $# -ne 1 ]]; then
echo "usage: $(basename $0) <VERSION>"
exit 1
fi
VERSION=$1
wget https://github.com/Pylons/waitress/archive/v$VERSION/waitress-$VERSION.tar.gz
tar -xzvf waitress-$VERSION.tar.gz
rm -rf waitress-$VERSION/docs
mv waitress-$VERSION waitress-$VERSION-nodocs
tar -czvf waitress-$VERSION-nodocs.tar.gz waitress-$VERSION-nodocs

View file

@ -1,153 +1,62 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: python-waitress
Version: 0.8.9
Release: 4%{?dist}
Version: 3.0.2
Release: %autorelease
Summary: Waitress WSGI server
License: ZPLv2.1
License: ZPL-2.1
URL: https://github.com/Pylons/waitress
Source0: http://pypi.python.org/packages/source/w/waitress/waitress-%{version}.tar.gz
#md5=da3f2e62b3676be5dd630703a68e2a04
Source0: waitress-%{version}-nodocs.tar.gz
# Upstream ships non free docs files.
#
# https://github.com/Pylons/waitress/issues/78
#
# We do not even want them in our src.rpms
# So we remove them before uploading.
#
# Download the upstream tarball and invoke this script while in the
# tarball's directory:
# ./generate-tarball.sh 1.0
#
Source1: generate-tarball.sh
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-nose
BuildRequires: python-coverage
BuildRequires: python-sphinx
%description
Waitress is meant to be a production-quality pure-Python WSGI server with
very acceptable performance. It has no dependencies except ones which live
in the Python standard library. It runs on CPython on Unix and Windows under
Python 2.6+ and Python 3.2. It is also known to run on PyPy 1.6.0 on UNIX.
It supports HTTP/1.0 and HTTP/1.1.
%global _description %{expand:
Waitress is a production-quality pure-Python WSGI server with very acceptable
performance. It has no dependencies except ones which live in the Python
standard library.}
For more information, see %{_pkgdocdir}/docs or
http://docs.pylonsproject.org/projects/waitress/en/latest/ .
%description %{_description}
%package -n python3-waitress
Summary: Waitress WSGI server
Requires: python3
BuildArch: noarch
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
BuildRequires: python3-coverage
BuildRequires: python3-sphinx
%description -n python3-waitress
Waitress is meant to be a production-quality pure-Python WSGI server with
very acceptable performance. It has no dependencies except ones which live
in the Python standard library. It runs on CPython on Unix and Windows under
Python 2.6+ and Python 3.2. It is also known to run on PyPy 1.6.0 on UNIX.
It supports HTTP/1.0 and HTTP/1.1.
For more information, see %{_pkgdocdir}/docs or
http://docs.pylonsproject.org/projects/waitress/en/latest/ .
%description -n python3-waitress %{_description}
%prep
%setup -q -n waitress-%{version}
rm -rf waitress.egg-info
rm -f .gitignore docs/.gitignore
# this script has devel paths, not useful in a user system
rm -f docs/rebuild
rm -rf %{py3dir}
cp -a . %{py3dir}
%autosetup -n waitress-%{version}-nodocs
sed -e '/pytest-cov/d' \
-e '/coverage/d' \
-e '/addopts/d' \
-i setup.cfg
%generate_buildrequires
%pyproject_buildrequires -x testing
%build
%{__python2} setup.py build
pushd %{py3dir}
%{__python3} setup.py build
popd
%pyproject_wheel
%install
# Run the Python 3 install first so that the Python 2 version
# of /usr/bin/waitress-server "wins":
pushd %{py3dir}
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
popd
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
%pyproject_install
%pyproject_save_files -l waitress
%check
# by setting the PYTHONPATH to the current dir
# we make the package waitress importable
# Usually the testsuite is run after installing
# the package in develop mode but we can't install
# in develop mode here.
PYTHONPATH=. %{__python2} setup.py nosetests
%pytest
pushd %{py3dir}
PYTHONPATH=. %{__python3} setup.py nosetests
popd
%files
%doc README.rst CHANGES.txt COPYRIGHT.txt LICENSE.txt docs
%files -n python3-waitress -f %{pyproject_files}
%doc README.rst CHANGES.txt
%{_bindir}/waitress-serve
%{python2_sitelib}/waitress
%{python2_sitelib}/waitress-%{version}-py2.?.egg-info
%files -n python3-waitress
%doc README.rst CHANGES.txt COPYRIGHT.txt LICENSE.txt docs
%{python3_sitelib}/waitress
%{python3_sitelib}/waitress-%{version}-py3.?.egg-info
%changelog
* Mon Jul 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-4
- Fix comment in %description about versioned directory for docs
- Use __python2 macro instead of __python
* Sat Jun 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-3
- Run the tests with nose to avoid unclosed socket errors
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun May 25 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-1
- Update to upstream
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.8-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
* Sun Dec 22 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.8-1
- Update to upstream
* Sun Dec 8 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-3
- Remove python3 dependency on the python-waitress python2 package
* Wed Aug 7 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-2
- Update description to use the new Fedora 20 _pkgdocdir macro, which
is also defined for backwards cmompatibility
* Wed Jul 31 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-1
- Update to upstream
* Sat Jul 6 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.4-1
- Update to upstream
- Added waitress-serve as a binary executable in /usr/bin
* Sun May 12 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.3-1
- Update to upstream
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 28 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-3
- Use %{version} in the Source0 to avoid duplicates
* Sat Nov 24 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-2
- Point to the local docs directory in the description for the documentation
- Remove py3dir before copying the files to it in the prep phase
- Remove -O1 in the build phase as it is not used anymore in the Fedora
Packaging guidelines
- Remove files rpmlint doesn't like
* Mon Nov 19 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-1
- New package.
%autochangelog

View file

@ -1 +1 @@
da3f2e62b3676be5dd630703a68e2a04 waitress-0.8.9.tar.gz
SHA512 (waitress-3.0.2-nodocs.tar.gz) = bd200adf775a5f2a64c5b855ae64b7ada191eed91f10265701b404ad026af47c3f9e0b2d07f2615a6f6abcbc01b3ae2eb02d4c978b060b560ce60991d9590435