forked from pool/python-waitress
Accepting request 672508 from home:frispete:python
- update to version 1.2.1: too many changes to list here, see: https://github.com/Pylons/waitress/blob/master/CHANGES.txt or even: https://github.com/Pylons/waitress/commits/master OBS-URL: https://build.opensuse.org/request/show/672508 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=26
This commit is contained in:
parent
9af7d9789a
commit
2aa94981ca
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -21,3 +21,5 @@
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
python3.inv filter=lfs diff=lfs merge=lfs -text
|
||||
|
4
fetch-intersphinx-inventories.sh
Normal file
4
fetch-intersphinx-inventories.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
wget -O python3.inv https://docs.python.org/3/objects.inv
|
||||
|
13
local-intersphinx-inventories.patch
Normal file
13
local-intersphinx-inventories.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: b/docs/conf.py
|
||||
===================================================================
|
||||
--- a/docs/conf.py
|
||||
+++ b/docs/conf.py
|
||||
@@ -32,7 +32,7 @@ extensions = [
|
||||
]
|
||||
|
||||
intersphinx_mapping = {
|
||||
- 'python': ('https://docs.python.org/3/', None),
|
||||
+ 'python': ('https://docs.python.org/3/', 'python3.inv'),
|
||||
}
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 7 14:56:02 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- update to version 1.2.1:
|
||||
too many changes to list here, see:
|
||||
https://github.com/Pylons/waitress/blob/master/CHANGES.txt
|
||||
or even:
|
||||
https://github.com/Pylons/waitress/commits/master
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:55:53 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-waitress
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,16 +20,25 @@
|
||||
# Tests require a network connection
|
||||
%bcond_with tests
|
||||
Name: python-waitress
|
||||
Version: 1.1.0
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
Summary: Waitress WSGI server
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/Pylons/waitress
|
||||
Source: https://files.pythonhosted.org/packages/source/w/waitress/waitress-%{version}.tar.gz
|
||||
# intersphinx inventories, as fetched with fetch-intersphinx-inventories.sh
|
||||
# https://docs.python.org/3/objects.inv -> python3.inv
|
||||
Source1: python3.inv
|
||||
Patch: local-intersphinx-inventories.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION documentation requirements
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-docutils
|
||||
BuildRequires: python3-pylons-sphinx-themes
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
%if %{with tests}
|
||||
# Test requirements:
|
||||
@ -41,17 +50,29 @@ BuildRequires: %{python_module nose}
|
||||
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
|
||||
2.7+ and Python 3.4+. 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 the "docs" directory of the Waitress package or
|
||||
http://docs.pylonsproject.org/projects/waitress/en/latest/ .
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/HTML
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n waitress-%{version}
|
||||
%patch -p1
|
||||
cp %{S:1} docs/
|
||||
|
||||
%build
|
||||
%python_build
|
||||
export SPHINXOPTS=-vvv
|
||||
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
%python_install
|
||||
@ -68,4 +89,8 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
|
||||
%python3_only %{_bindir}/waitress-serve
|
||||
%{python_sitelib}/*
|
||||
|
||||
%files %{python_files doc}
|
||||
%license LICENSE.txt
|
||||
%doc build/sphinx/html
|
||||
|
||||
%changelog
|
||||
|
3
python3.inv
Normal file
3
python3.inv
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c8b6fe404be5534e725ad69abf2a0f7deb6a2972b6500584df61102ce20d7fd
|
||||
size 102981
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d33cd3d62426c0f1b3cd84ee3d65779c7003aae3fc060dee60524d10a57f05a9
|
||||
size 126131
|
3
waitress-1.2.1.tar.gz
Normal file
3
waitress-1.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c369e238bd81ef7d61f04825f06f107c42094de60d13d8de8e71952c7c683dfe
|
||||
size 162588
|
Loading…
Reference in New Issue
Block a user