1
0

Accepting request 492325 from home:TheBlackCat:branches:devel:languages:python

- Update to 1.0.2
- Implement single-spec version.
- Fix source URL.

OBS-URL: https://build.opensuse.org/request/show/492325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=19
This commit is contained in:
Todd R 2017-05-06 12:20:37 +00:00 committed by Git OBS Bridge
parent 3ce770c533
commit b05cbc7b1e
4 changed files with 43 additions and 24 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon May 1 16:38:04 UTC 2017 - toddrme2178@gmail.com
- Update to 1.0.2
* Python 3.6 is now officially supported in Waitress
* Add a work-around for libc issue on Linux not following the
documented standards. If getnameinfo() fails because of DNS not
being available it should return the IP address instead of the
reverse DNS entry, however instead getnameinfo() raises. We
catch this, and ask getnameinfo() for the same information
again, explicitly asking for IP address instead of reverse
DNS hostname.
- Implement single-spec version.
- Fix source URL.
-------------------------------------------------------------------
Tue Nov 15 14:49:27 UTC 2016 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-waitress
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -16,27 +16,29 @@
#
# Tests require a network connection
%bcond_with tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-waitress
Version: 1.0.1
Version: 1.0.2
Release: 0
Summary: Waitress WSGI server
License: ZPL-2.1
Group: Development/Languages/Python
Url: https://github.com/Pylons/waitress
Source: https://pypi.io/packages/source/w/waitress/waitress-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
Source: https://files.pythonhosted.org/packages/source/w/waitress/waitress-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
%if %{with tests}
# Test requirements:
BuildRequires: python-nose
# Documentation requirements:
#BuildRequires: python-Sphinx
#BuildRequires: python-docutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
BuildRequires: %{python_module nose}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
Waitress is meant to be a production-quality pure-Python WSGI server with very
@ -52,19 +54,21 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
%setup -q -n waitress-%{version}
%build
python setup.py build
#python setup.py build_sphinx
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
## %check
## python setup.py test
%if %{with tests}
%check
%python_exec setup.py test
%endif
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt README.rst
%{_bindir}/waitress-serve
%python3_only %{_bindir}/waitress-serve
%{python_sitelib}/*
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2daacaece189ede6a23440afe03bda58089a6207f1d80a1e9497f979dfb741fc
size 123934

3
waitress-1.0.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c74fa1b92cb183d5a3684210b1bf0a0845fe8eb378fa816f17199111bbf7865f
size 124685