From 818d6a3fd95dd4c71a731aaa2e5252770e7302331772c7ee542cba6c8a5febcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Aug 2021 10:07:47 +0000 Subject: [PATCH] Accepting request 909944 from home:mcalabkova:branches:devel:languages:python - Update to 2.0 * Add Python 3.8 and 3.9 * Drop Python 2.7, 3.4 and 3.5 * The authentication and authorization policies of Pyramid 1.x have been merged into a single security policy in Pyramid 2.0. New security APIs have been added. * It is now possible to control whether a route pattern contains a trailing slash. * pcreate and the builtin scaffolds have been removed in favor of using the cookiecutter tool and the pyramid-cookiecutter-starter cookiecutter. * Deprecated the authentication and authorization interfaces and principal-based support. * Deprecated several ACL-related aspects of pyramid.security. Equivalent objects should now be imported from the pyramid.authorization module. OBS-URL: https://build.opensuse.org/request/show/909944 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyramid?expand=0&rev=44 --- pyramid-1.10.4.tar.gz | 3 --- pyramid-2.0.tar.gz | 3 +++ python-pyramid.changes | 19 +++++++++++++++++++ python-pyramid.spec | 13 ++++++------- 4 files changed, 28 insertions(+), 10 deletions(-) delete mode 100644 pyramid-1.10.4.tar.gz create mode 100644 pyramid-2.0.tar.gz diff --git a/pyramid-1.10.4.tar.gz b/pyramid-1.10.4.tar.gz deleted file mode 100644 index def6902..0000000 --- a/pyramid-1.10.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d80ccb8cfa550139b50801591d4ca8a5575334adb493c402fce2312f55d07d66 -size 2677952 diff --git a/pyramid-2.0.tar.gz b/pyramid-2.0.tar.gz new file mode 100644 index 0000000..2ec380b --- /dev/null +++ b/pyramid-2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45431b387587ed0fac6213b54d6e9f0936f0cc85238a8f5af7852fc9484c5c77 +size 2631528 diff --git a/python-pyramid.changes b/python-pyramid.changes index a292b10..48cd0a2 100644 --- a/python-pyramid.changes +++ b/python-pyramid.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Aug 2 11:21:49 UTC 2021 - Markéta Machová + +- Update to 2.0 + * Add Python 3.8 and 3.9 + * Drop Python 2.7, 3.4 and 3.5 + * The authentication and authorization policies of Pyramid 1.x have been + merged into a single security policy in Pyramid 2.0. New security APIs + have been added. + * It is now possible to control whether a route pattern contains + a trailing slash. + * pcreate and the builtin scaffolds have been removed in favor of + using the cookiecutter tool and the pyramid-cookiecutter-starter + cookiecutter. + * Deprecated the authentication and authorization interfaces and + principal-based support. + * Deprecated several ACL-related aspects of pyramid.security. Equivalent + objects should now be imported from the pyramid.authorization module. + ------------------------------------------------------------------- Tue Aug 31 10:02:12 UTC 2020 - Tomáš Chvátal diff --git a/python-pyramid.spec b/python-pyramid.spec index 74baecb..350c9e6 100644 --- a/python-pyramid.spec +++ b/python-pyramid.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyramid # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2014-2017 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-pyramid -Version: 1.10.4 +Version: 2.0 Release: 0 Summary: The Pyramid web application development framework License: BSD-4-Clause AND ZPL-2.1 AND MIT @@ -52,7 +52,7 @@ Requires: python-venusian >= 1.0 Requires: python-zope.deprecation >= 3.5.0 Requires: python-zope.interface >= 3.8.0 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %if %{with python2} BuildRequires: python-repoze.lru >= 0.4 @@ -80,7 +80,7 @@ It was previously known as repoze.bfg (http://bfg.repoze.org). %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -for p in pcreate pdistreport prequest proutes pserve pshell ptweens pviews; do +for p in pdistreport prequest proutes pserve pshell ptweens pviews; do %python_clone -a %{buildroot}%{_bindir}/$p done @@ -89,15 +89,14 @@ export LANG=en_US.UTF-8 %pytest tests/ %post -%python_install_alternative pcreate pdistreport prequest proutes pserve pshell ptweens pviews +%python_install_alternative pdistreport prequest proutes pserve pshell ptweens pviews %postun -%python_uninstall_alternative pcreate +%python_uninstall_alternative pdistreport %files %{python_files} %license LICENSE.txt %doc *.rst -%python_alternative %{_bindir}/pcreate %python_alternative %{_bindir}/pdistreport %python_alternative %{_bindir}/prequest %python_alternative %{_bindir}/proutes