From 9b268d8704e8bb7e75267b43bb6658aa74a13447310dce1151ea85f2884234df Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 29 Oct 2024 08:17:17 +0000 Subject: [PATCH] - skip build on 3.13 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.who?expand=0&rev=22 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + python-repoze.who.changes | 83 +++++++++++++++++++++++++++++++++++++++ python-repoze.who.spec | 70 +++++++++++++++++++++++++++++++++ repoze.who-3.0.0.tar.gz | 3 ++ 5 files changed, 180 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-repoze.who.changes create mode 100644 python-repoze.who.spec create mode 100644 repoze.who-3.0.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-repoze.who.changes b/python-repoze.who.changes new file mode 100644 index 0000000..104ffad --- /dev/null +++ b/python-repoze.who.changes @@ -0,0 +1,83 @@ +------------------------------------------------------------------- +Tue Oct 29 08:17:10 UTC 2024 - Dirk Müller + +- skip build on 3.13 + +------------------------------------------------------------------- +Fri Dec 8 13:40:57 UTC 2023 - Dirk Müller + +- update to 3.0.0: + * Add support for Python 3.9, 3.10 and 3.11. + * Drop support for Python 2.7, 3.4, 3.5, and 3.6. + * Add Github Actions workflow to exercise unit tests / + coverage. + +------------------------------------------------------------------- +Sun Jun 11 13:24:49 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Sat Dec 3 00:21:39 UTC 2022 - Yogalakshmi Arunachalam + +- Update to v2.4.1 + * Disallow separators in AuthTicket component values. Closes #37. + * Handle bytes / string correctly in ‘repoze.who.plugins.htpasswd.sha1_check’. Closes #28. + * Switch to use pytest as the testrunner. Closes #34. + +------------------------------------------------------------------- +Mon Aug 3 11:09:47 UTC 2020 - Marketa Calabkova + +- update to 2.4 + * Add support for Python 3.6, 3.7, and 3.8. + * Drop support for Python 3.3. + * Fix travis configuration. + * Add ``samesite`` option to AuthTktCookiePlugin constructor. + If this is passed, it should be a string, and it will be used + to compose the Set-Cookie header's "SameSite" value, e.g. + if you pass ``samesite="Strict"`` into the constructor, + the cookie value for the auth tkt cooke will contain + ``SameSite=Strict``. + +------------------------------------------------------------------- +Mon Apr 6 07:12:52 UTC 2020 - Tomáš Chvátal + +- Skip failing test as it the zope.interface now raises different + assert + +------------------------------------------------------------------- +Tue Dec 4 12:53:41 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Fri Feb 9 05:28:37 UTC 2018 - tbechtold@suse.com + +- Add missing BuildRequires for doc build + +------------------------------------------------------------------- +Mon Jul 10 07:55:45 UTC 2017 - okurz@suse.com + +- Convert to singlespec + +------------------------------------------------------------------- +Tue Oct 6 16:27:59 UTC 2015 - dmueller@suse.com + +- fix license (SUSE-Repoze) +- update to 2.2: + Parse INI-file configuration using ``SafeConfigParser``: allows + escaping the ``'%'`` so that e.g. a query template using for a DB-API + connection using ``pyformat`` preserves the template. + Added support for Python 3.3, PyPy. + - ``_compat`` module: tolerate missing ``CONTENT_TYPE`` key in the WSGI + environment. Thanks to Dag Hoidal for the patch. + - ``htpasswd`` plugin: add a ``sha1_check`` checker function (the ``crypt`` + module is not available on Windows). Thanks to Chandrashekar Jayaraman + for the patch. + - Documentation typo fixes from Carlos de la Guardia and Atsushi Odagiri. + +------------------------------------------------------------------- +Wed Feb 1 14:27:43 UTC 2012 - saschpe@suse.de + +- Initial version + diff --git a/python-repoze.who.spec b/python-repoze.who.spec new file mode 100644 index 0000000..7fe439b --- /dev/null +++ b/python-repoze.who.spec @@ -0,0 +1,70 @@ +# +# spec file for package python-repoze.who +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global modname repoze.who +%{?sle15_python_module_pythons} +%global skip_python313 1 +Name: python-repoze.who +Version: 3.0.0 +Release: 0 +Summary: Identification and authentication framework for WSGI +License: SUSE-Repoze +URL: http://www.repoze.org +Source: https://files.pythonhosted.org/packages/source/r/repoze.who/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module WebOb} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module zope.interface} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-WebOb +Requires: python-zope.interface +BuildArch: noarch +%python_subpackages + +%description +repoze.who is an identification and authentication framework +for arbitrary WSGI applications. repoze.who can be configured +either as WSGI middleware or as an API for use by an application. + +repoze.who is inspired by Zope 2's Pluggable Authentication +Service (PAS) (but repoze.who is not dependent on Zope in any +way; it is useful for any WSGI application). It provides no facility +for authorization (ensuring whether a user can or cannot perform the +operation implied by the request). This is considered to be the +domain of the WSGI application. + +%prep +%setup -q -n %{modname}-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib}/ + +%check +%pytest + +%files %{python_files} +%license LICENSE.txt +%doc *.txt +%{python_sitelib}/* + +%changelog diff --git a/repoze.who-3.0.0.tar.gz b/repoze.who-3.0.0.tar.gz new file mode 100644 index 0000000..c2bd08c --- /dev/null +++ b/repoze.who-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e955adf00c1f0b0c715e828979a237ec4bf7ee70827bd97f5e17bf82760dcb30 +size 315628