15
0
forked from pool/python-falcon
2018-01-29 00:33:44 +00:00
committed by Git OBS Bridge
parent b2d8f9f379
commit bc2db47c7d
2 changed files with 8 additions and 9 deletions
-7
View File
@@ -4,7 +4,6 @@ Wed Jan 17 03:58:52 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
* require pygments-style-railscasts to build documentation
* switched back to pypi for source tar-ball
- update to version 1.4.1:
* Fixed
@@ -15,12 +14,6 @@ Wed Jan 17 03:58:52 UTC 2018 - arun@gmx.de
and a validation step was added to the build process.
- changes from version 1.4.0:
* Changes to Supported Platforms
+ Python 3 is now supported on PyPy as of PyPy3.5 v5.10.
+ Support for CPython 3.3 is now deprecated and will be removed in
Falcon 2.0.
+ As with the previous release, Python 2.6 and Jython 2.7 remain
deprecated and will no longer be supported in Falcon 2.0.
* New & Improved
+ We added a new method, API.add_static_route(), that makes it
easy to serve files from a local directory. This feature
+8 -2
View File
@@ -25,9 +25,13 @@ Summary: A web framework for building APIs and app backends
License: Apache-2.0
Group: Development/Languages/Python
Url: http://falconframework.org
Source: https://files.pythonhosted.org/packages/source/f/falcon/falcon-%{version}.tar.gz
Source: https://github.com/falconry/falcon/archive/%{version}.tar.gz#./falcon-%{version}.tar.gz
# The file on pypi misses docs/ext, should be fixed in next version
# Source: https://files.pythonhosted.org/packages/source/f/falcon/falcon-%%{version}.tar.gz
# PATCH-FIX-UPSTREAM remove_failing_test.patch sebix+novell.com@sebix.at -- removes a broken test
Patch0: remove_failing_test.patch
# TODO: Cython support
# BuildRequires: %%{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -51,6 +55,7 @@ BuildRequires: %{python_module testtools}
BuildRequires: python3-Sphinx
BuildRequires: python3-pygments-style-railscasts
# /SECTION
# Requires: python-Cython
Requires: python-python-mimeparse
Requires: python-six
Suggests: %{name}-doc
@@ -76,7 +81,8 @@ HTML documentation including API documentation and changelog for %name.
%setup -q -n falcon-%{version}
%patch0 -p1
# remove unwanted shebang
sed -i '1s/^#!.*//' falcon/bench/bench.py falcon/cmd/print_routes.py
sed -i '1s/^#!.*//' falcon/bench/bench.py falcon/cmd/print_routes.py falcon/bench/dj/manage.py
chmod a-x falcon/bench/dj/manage.py
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"