forked from pool/python-pyramid
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
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d80ccb8cfa550139b50801591d4ca8a5575334adb493c402fce2312f55d07d66
|
|
||||||
size 2677952
|
|
3
pyramid-2.0.tar.gz
Normal file
3
pyramid-2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:45431b387587ed0fac6213b54d6e9f0936f0cc85238a8f5af7852fc9484c5c77
|
||||||
|
size 2631528
|
@@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 2 11:21:49 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- 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 <tchvatal@suse.com>
|
Tue Aug 31 10:02:12 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyramid
|
# spec file for package python-pyramid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2014-2017 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2014-2017 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: python-pyramid
|
Name: python-pyramid
|
||||||
Version: 1.10.4
|
Version: 2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Pyramid web application development framework
|
Summary: The Pyramid web application development framework
|
||||||
License: BSD-4-Clause AND ZPL-2.1 AND MIT
|
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.deprecation >= 3.5.0
|
||||||
Requires: python-zope.interface >= 3.8.0
|
Requires: python-zope.interface >= 3.8.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
BuildRequires: python-repoze.lru >= 0.4
|
BuildRequires: python-repoze.lru >= 0.4
|
||||||
@@ -80,7 +80,7 @@ It was previously known as repoze.bfg (http://bfg.repoze.org).
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%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
|
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -89,15 +89,14 @@ export LANG=en_US.UTF-8
|
|||||||
%pytest tests/
|
%pytest tests/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative pcreate pdistreport prequest proutes pserve pshell ptweens pviews
|
%python_install_alternative pdistreport prequest proutes pserve pshell ptweens pviews
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pcreate
|
%python_uninstall_alternative pdistreport
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc *.rst
|
%doc *.rst
|
||||||
%python_alternative %{_bindir}/pcreate
|
|
||||||
%python_alternative %{_bindir}/pdistreport
|
%python_alternative %{_bindir}/pdistreport
|
||||||
%python_alternative %{_bindir}/prequest
|
%python_alternative %{_bindir}/prequest
|
||||||
%python_alternative %{_bindir}/proutes
|
%python_alternative %{_bindir}/proutes
|
||||||
|
Reference in New Issue
Block a user