/[packages]/cauldron/python-waitress/current/SPECS/python-waitress.spec
ViewVC logotype

Contents of /cauldron/python-waitress/current/SPECS/python-waitress.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 688411 - (show annotations) (download)
Tue Sep 16 20:20:33 2014 UTC (9 years, 7 months ago) by umeabot
File size: 1106 byte(s)
Mageia 5 Mass Rebuild
1 %define module waitress
2
3 Name: python-%module
4 Version: 0.8.5
5 Release: %mkrel 5
6 Summary: Waitress WSGI server
7 License: BSD
8 Group: Development/Python
9 URL: https://github.com/Pylons/waitress
10 Source0: https://pypi.python.org/packages/source/w/%{module}/%{module}-%{version}.tar.gz
11 BuildRequires: python-devel
12 Buildrequires: python-setuptools
13 BuildArch: noarch
14
15 %description
16 Waitress is meant to be a production-quality pure-Python WSGI server
17 with very acceptable performance. It has no dependencies except ones
18 which live in the Python standard library. It runs on CPython on Unix
19 and Windows under Python 2.6+ and Python 3.2+. It is also known to run
20 on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1.
21
22 %files
23 %_bindir/waitress-serve
24 %{python_sitelib}/%{module}*
25
26 #--------------------------------------------------------------------
27
28 %prep
29 %setup -q -n %{module}-%{version}
30
31 %build
32 CFLAGS="%{optflags}" python setup.py build
33
34 %install
35 %{__python} setup.py install --root $RPM_BUILD_ROOT --install-purelib=%{python_sitelib}
36

  ViewVC Help
Powered by ViewVC 1.1.30