Hello community, here is the log from the commit of package python-falcon for openSUSE:Factory checked in at 2019-06-12 13:17:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-falcon (Old) and /work/SRC/openSUSE:Factory/.python-falcon.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-falcon" Wed Jun 12 13:17:15 2019 rev:12 rq:709105 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-falcon/python-falcon.changes 2018-04-20 17:34:01.316634784 +0200 +++ /work/SRC/openSUSE:Factory/.python-falcon.new.4811/python-falcon.changes 2019-06-12 13:17:17.524628377 +0200 @@ -1,0 +2,30 @@ +Tue Jun 11 10:02:39 UTC 2019 - Thomas Bechtold <[email protected]> + +- Drop python-mujson BuildRequires + +------------------------------------------------------------------- +Tue Jun 11 09:19:27 UTC 2019 - Thomas Bechtold <[email protected]> + +- Drop %patch1 which is no longer available +- Drop python-rapidjson dependency again + +------------------------------------------------------------------- +Thu Jun 6 09:26:50 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add dependency over the rapidjson and remove patch: + * python-falcon-no-rapidjson.patch + +------------------------------------------------------------------- +Wed May 22 12:23:42 UTC 2019 - [email protected] + +- version update to 2.0.0 + * many changes, see CHANGES.rst +- deleted patches + - remove_failing_test.patch (not needed) +- added patches + rapidjson implementation python binding not available. + + python-falcon-no-rapidjson.patch + github pygments style is not available + + python-falcon-sphinx-pygments-style.patch + +------------------------------------------------------------------- Old: ---- falcon-1.4.1.tar.gz remove_failing_test.patch New: ---- falcon-2.0.0.tar.gz python-falcon-sphinx-pygments-style.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-falcon.spec ++++++ --- /var/tmp/diff_new_pack.kac1Gy/_old 2019-06-12 13:17:18.580627270 +0200 +++ /var/tmp/diff_new_pack.kac1Gy/_new 2019-06-12 13:17:18.584627266 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-falcon # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,61 +12,58 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-falcon -Version: 1.4.1 +Version: 2.0.0 Release: 0 Summary: A web framework for building APIs and app backends License: Apache-2.0 Group: Development/Languages/Python -Url: http://falconframework.org +URL: http://falconframework.org 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 [email protected] -- removes a broken test -Patch0: remove_failing_test.patch +# github pygments style is not available +Patch0: python-falcon-sphinx-pygments-style.patch +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module ddt} # TODO: Cython support #BuildRequires: %%{python_module Cython} BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-rpm-macros -# SECTION test requirements -%if %{with test} -BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module ddt} BuildRequires: %{python_module fixtures >= 1.3.0} BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module msgpack-python} +BuildRequires: %{python_module pecan} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-mimeparse >= 1.5.2} BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.4.0} BuildRequires: %{python_module testtools} -%endif +BuildRequires: %{python_module ujson} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx BuildRequires: python3-pygments-style-railscasts #Requires: python-Cython Requires: python-python-mimeparse Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Suggests: %{name}-doc %endif -Requires(post): update-alternatives -Requires(postun): update-alternatives - %python_subpackages %package -n %{name}-doc -Summary: Documentation files for %name +Summary: Documentation files for %{name} Group: Documentation/HTML -Provides: %{python_module falcon-doc = %version} +Provides: %{python_module falcon-doc = %{version}} %description Falcon is a Python framework for building cloud @@ -74,7 +71,7 @@ as little as possible while remaining effective. %description -n %{name}-doc -HTML documentation including API documentation and changelog for %name. +HTML documentation including API documentation and changelog for %{name}. %prep %setup -q -n falcon-%{version} @@ -82,6 +79,8 @@ # remove unwanted shebang 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 +# we don't want to require rapidjson just for testing +rm tests/test_media_handlers.py %build export CFLAGS="%{optflags} -fno-strict-aliasing" @@ -92,14 +91,14 @@ popd %install -%{python_install} +%python_install %python_clone -a %{buildroot}%{_bindir}/falcon-bench %python_clone -a %{buildroot}%{_bindir}/falcon-print-routes -%{python_expand %fdupes %{buildroot}%{$python_sitelib}/falcon/} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF8 -%{python_exec setup.py -q test} +%pytest %post %{python_install_alternative falcon-bench falcon-print-routes} @@ -108,7 +107,7 @@ %{python_uninstall_alternative falcon-bench falcon-print-routes} %files %{python_files} -%doc README.rst +%doc README.rst CHANGES.rst %license LICENSE %python_alternative %{_bindir}/falcon-bench %python_alternative %{_bindir}/falcon-print-routes ++++++ falcon-1.4.1.tar.gz -> falcon-2.0.0.tar.gz ++++++ ++++ 14060 lines of diff (skipped) ++++++ python-falcon-sphinx-pygments-style.patch ++++++ Index: falcon-2.0.0/docs/conf.py =================================================================== --- falcon-2.0.0.orig/docs/conf.py 2019-04-26 20:19:32.000000000 +0200 +++ falcon-2.0.0/docs/conf.py 2019-05-21 16:42:08.910523827 +0200 @@ -121,7 +121,7 @@ exclude_patterns = ['_build'] #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'github' +pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = []
