Update to version 3.0.0 rhbz#2262711

This commit is contained in:
Carl George 2024-05-21 16:17:33 -05:00
commit 8557aec3cc
4 changed files with 14 additions and 38 deletions

29
.gitignore vendored
View file

@ -1,28 +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-0.8.10.tar.gz
/waitress-0.9.0b0.tar.gz
/waitress-0.9.0b1.tar.gz
/waitress-0.9.0.tar.gz
/waitress-1.0.0.tar.gz
/waitress-1.0.1.tar.gz
/waitress-1.0.2.tar.gz
/waitress-1.1.0.tar.gz
/v1.2.1.tar.gz
/v1.2.1-nodocs.tar.gz
/v1.3.1-nodocs.tar.gz
/v1.4.0.tar.gz
/v1.4.0-nodocs.tar.gz
/v1.4.1.tar.gz
/v1.4.1-nodocs.tar.gz
/v1.4.2.tar.gz
/v1.4.2-nodocs.tar.gz
/v1.4.3.tar.gz
/v1.4.3-nodocs.tar.gz
/v1.4.4-nodocs.tar.gz
/v2.1.1-nodocs.tar.gz
/v2.1.2-nodocs.tar.gz
/waitress-*-nodocs.tar.gz

View file

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

View file

@ -1,11 +1,11 @@
Name: python-waitress
Version: 2.1.2
Version: 3.0.0
Release: %autorelease
Summary: Waitress WSGI server
License: ZPL-2.1
URL: https://github.com/Pylons/waitress
Source0: v%{version}-nodocs.tar.gz
Source0: waitress-%{version}-nodocs.tar.gz
# Upstream ships non free docs files.
# We do not even want them in our src.rpms
# So we remove them before uploading.
@ -21,9 +21,7 @@ BuildArch: noarch
%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. It runs on CPython on Unix and Windows under Python 3.7+. It
is also known to run on PyPy 3 (version 3.7 compatible python) on UNIX. It
supports HTTP/1.0 and HTTP/1.1.}
standard library.}
%description %{_description}
@ -35,7 +33,7 @@ BuildRequires: python3-devel
%prep
%autosetup -n waitress-%{version}-nodocs
sed -e '/pytest-cover/d' \
sed -e '/pytest-cov/d' \
-e '/coverage/d' \
-e '/addopts/d' \
-i setup.cfg

View file

@ -1 +1 @@
SHA512 (v2.1.2-nodocs.tar.gz) = 184826a390ead6720059b7f6427867b0f228b6d27e3b25db2fb78ed44c45d3da744f07f31690dbe643fc6a483201513ecb1f48053a662e817daecf509cdf0855
SHA512 (waitress-3.0.0-nodocs.tar.gz) = 5d7d5cffd986ca797961041e5d2aad70be9a00031e527ba6f727902973347a173b03b985323d3631d159eca13bc0fbfff532f2b96b2198cefef030817a7ba7d9