|
|
@ -1,14 +1,10 @@
|
|
|
|
%global srcname waitress
|
|
|
|
Name: python-waitress
|
|
|
|
|
|
|
|
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
|
|
|
Version: 1.4.4
|
|
|
|
Version: 1.4.4
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Summary: Waitress WSGI server
|
|
|
|
Summary: Waitress WSGI server
|
|
|
|
|
|
|
|
|
|
|
|
License: ZPLv2.1
|
|
|
|
License: ZPLv2.1
|
|
|
|
URL: https://github.com/Pylons/%{srcname}
|
|
|
|
URL: https://github.com/Pylons/waitress
|
|
|
|
Source0: v%{version}-nodocs.tar.gz
|
|
|
|
Source0: v%{version}-nodocs.tar.gz
|
|
|
|
# Upstream ships non free docs files.
|
|
|
|
# Upstream ships non free docs files.
|
|
|
|
# We do not even want them in our src.rpms
|
|
|
|
# We do not even want them in our src.rpms
|
|
|
@ -22,47 +18,47 @@ Source1: generate-tarball.sh
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
# No docs as we don't have packaged pylons theme for sphinx
|
|
|
|
%global _description %{expand:
|
|
|
|
|
|
|
|
Waitress is meant to be a production-quality pure-Python WSGI server with very
|
|
|
|
%global _description \
|
|
|
|
acceptable performance. It has no dependencies except ones which live in the
|
|
|
|
Waitress is meant to be a production-quality pure-Python WSGI server with\
|
|
|
|
Python standard library. It runs on CPython on Unix and Windows under Python
|
|
|
|
very acceptable performance. It has no dependencies except ones which live\
|
|
|
|
2.7+ and Python 3.5+. It is also known to run on PyPy 1.6.0+ on UNIX. It
|
|
|
|
in the Python standard library. It runs on CPython on Unix and Windows under\
|
|
|
|
supports HTTP/1.0 and HTTP/1.1.}
|
|
|
|
Python 2.6+ and Python 3.3+. It is also known to run on PyPy 1.6.0+ on UNIX.\
|
|
|
|
|
|
|
|
It supports HTTP/1.0 and HTTP/1.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
%package -n python3-waitress
|
|
|
|
Summary: Waitress WSGI server
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{srcname} %{_description}
|
|
|
|
%description -n python3-waitress %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
Python 3 version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{srcname}-%{version}-nodocs
|
|
|
|
%autosetup -n waitress-%{version}-nodocs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
%pyproject_save_files waitress
|
|
|
|
|
|
|
|
|
|
|
|
#check
|
|
|
|
#check
|
|
|
|
# disable checks for now as they fail trying to lookup localhost in koji.
|
|
|
|
# disable checks for now as they fail trying to lookup localhost in koji.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
%files -n python3-waitress -f %{pyproject_files}
|
|
|
|
%license COPYRIGHT.txt LICENSE.txt
|
|
|
|
%license COPYRIGHT.txt LICENSE.txt
|
|
|
|
%doc README.rst CHANGES.txt
|
|
|
|
%doc README.rst CHANGES.txt
|
|
|
|
%{_bindir}/waitress-serve
|
|
|
|
%{_bindir}/waitress-serve
|
|
|
|
%{python3_sitelib}/%{srcname}/
|
|
|
|
|
|
|
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed May 10 2023 Carl George <carl@george.computer> - 1.4.4-7
|
|
|
|
|
|
|
|
- Convert to pyproject macros
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-6
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|