forked from pool/python-waitress
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:
parent
3ce770c533
commit
b05cbc7b1e
@ -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
|
Tue Nov 15 14:49:27 UTC 2016 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-waitress
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: python-waitress
|
||||||
Version: 1.0.1
|
Version: 1.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Waitress WSGI server
|
Summary: Waitress WSGI server
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/Pylons/waitress
|
Url: https://github.com/Pylons/waitress
|
||||||
Source: https://pypi.io/packages/source/w/waitress/waitress-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/w/waitress/waitress-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
%if %{with tests}
|
||||||
# Test requirements:
|
# Test requirements:
|
||||||
BuildRequires: python-nose
|
BuildRequires: %{python_module 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
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Waitress is meant to be a production-quality pure-Python WSGI server with very
|
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}
|
%setup -q -n waitress-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
#python setup.py build_sphinx
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
## %check
|
%if %{with tests}
|
||||||
## python setup.py test
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYRIGHT.txt LICENSE.txt README.rst
|
%doc COPYRIGHT.txt LICENSE.txt README.rst
|
||||||
%{_bindir}/waitress-serve
|
%python3_only %{_bindir}/waitress-serve
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -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
3
waitress-1.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c74fa1b92cb183d5a3684210b1bf0a0845fe8eb378fa816f17199111bbf7865f
|
||||||
|
size 124685
|
Loading…
Reference in New Issue
Block a user