diff --git a/.gitattributes b/.gitattributes index 9b03811..777861f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/fetch-intersphinx-inventories.sh b/fetch-intersphinx-inventories.sh new file mode 100644 index 0000000..78ac1d8 --- /dev/null +++ b/fetch-intersphinx-inventories.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +wget -O python3.inv https://docs.python.org/3/objects.inv + diff --git a/local-intersphinx-inventories.patch b/local-intersphinx-inventories.patch new file mode 100644 index 0000000..fb7e703 --- /dev/null +++ b/local-intersphinx-inventories.patch @@ -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. diff --git a/python-waitress.changes b/python-waitress.changes index c41e0eb..6428da2 100644 --- a/python-waitress.changes +++ b/python-waitress.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Feb 7 14:56:02 UTC 2019 - Hans-Peter Jansen + +- 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 diff --git a/python-waitress.spec b/python-waitress.spec index 48d871a..3167710 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -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 diff --git a/python3.inv b/python3.inv new file mode 100644 index 0000000..99ffcde --- /dev/null +++ b/python3.inv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c8b6fe404be5534e725ad69abf2a0f7deb6a2972b6500584df61102ce20d7fd +size 102981 diff --git a/waitress-1.1.0.tar.gz b/waitress-1.1.0.tar.gz deleted file mode 100644 index a73d8fa..0000000 --- a/waitress-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d33cd3d62426c0f1b3cd84ee3d65779c7003aae3fc060dee60524d10a57f05a9 -size 126131 diff --git a/waitress-1.2.1.tar.gz b/waitress-1.2.1.tar.gz new file mode 100644 index 0000000..53dcdb3 --- /dev/null +++ b/waitress-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c369e238bd81ef7d61f04825f06f107c42094de60d13d8de8e71952c7c683dfe +size 162588