forked from pool/python-falcon
Fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=23
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user