commit python-Routes for openSUSE:Factory
Hello community, here is the log from the commit of package python-Routes for openSUSE:Factory checked in at 2015-04-23 08:04:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Routes (Old) and /work/SRC/openSUSE:Factory/.python-Routes.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Routes" Changes: -------- --- /work/SRC/openSUSE:Factory/python-Routes/python-Routes.changes 2013-10-25 11:31:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-Routes.new/python-Routes.changes 2015-04-23 08:04:34.000000000 +0200 @@ -1,0 +2,24 @@ +Mon Apr 20 12:57:47 UTC 2015 - tbechtold@suse.com + +- update to 2.1: + * Fix 3 other route matching groups in route.py to use anonymous groups for + optional sections to avoid exceeding regex limits. Fixes #15. + * Printing a mapper now includes the Controller/action parameters from the + route. Fixes #11. + * Fix regression that didn't allow passing in params 'host', 'protocol', or + 'anchor'. They can now be passed in with a trailing '_' as was possible + before commit d1d1742903fa5ca24ef848a6ae895303f2661b2a. Fixes #7. + * URL generation with/without SCRIPT_NAME was resulting in the URL cache + failing to return the appropriate cached URL generation. The URL cache + should always include the SCRIPT_NAME, even if its empty, in the cache + to avoid this, and now does. Fixes #6. + * Extract Route creation into separate method in Mapper. Subclasses of Route + can be created by Mappers now. + * Use the first X_FORWARDED_FOR value if there are multiple proxies in the + path. Fixes #5. + * Python 3.2/3.3 Support. Fixes Issue #2. Thanks to Alejandro Sánchez for + the pull request! +- Enable testrun during build and adjust BuildRequires for that. +- Adjust documentation links. + +------------------------------------------------------------------- Old: ---- Routes-1.13.tar.gz New: ---- Routes-2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Routes.spec ++++++ --- /var/tmp/diff_new_pack.ofPo2T/_old 2015-04-23 08:04:34.000000000 +0200 +++ /var/tmp/diff_new_pack.ofPo2T/_new 2015-04-23 08:04:34.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Routes # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: python-Routes -Version: 1.13 +Version: 2.1 Release: 0 Url: http://routes.groovie.org/ Summary: Routing Recognition and Generation Tools @@ -27,7 +27,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools -Requires: python-repoze.lru +# for testing +BuildRequires: python-coverage +BuildRequires: python-nose +BuildRequires: python-repoze.lru >= 0.3 +BuildRequires: python-webob +BuildRequires: python-webtest + +Requires: python-repoze.lru >= 0.3 Provides: python-routes = %{version} Obsoletes: python-routes < %{version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -41,7 +48,6 @@ %prep %setup -q -n Routes-%{version} -rm docs/_build/html/.buildinfo # Remove junk %build python setup.py build @@ -49,9 +55,12 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +nosetests + %files %defattr(-,root,root,-) -%doc CHANGELOG LICENSE README docs/_build/html +%doc CHANGELOG.rst LICENSE.txt README.rst %{python_sitelib}/* %changelog ++++++ Routes-1.13.tar.gz -> Routes-2.1.tar.gz ++++++ ++++ 19954 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de