From e0066c8d85a0856974274072387d5a804275fcb213b0073e8eeb6862bbd10be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Jun 2025 12:38:00 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pure-sasl?expand=0&rev=14 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + pure-sasl-0.6.2.tar.gz | 3 ++ python-pure-sasl.changes | 57 ++++++++++++++++++++++++++++++++++++++ python-pure-sasl.spec | 59 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 143 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pure-sasl-0.6.2.tar.gz create mode 100644 python-pure-sasl.changes create mode 100644 python-pure-sasl.spec 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/pure-sasl-0.6.2.tar.gz b/pure-sasl-0.6.2.tar.gz new file mode 100644 index 0000000..8924583 --- /dev/null +++ b/pure-sasl-0.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53c1355f5da95e2b85b2cc9a6af435518edc20c81193faa0eea65fdc835138f4 +size 11617 diff --git a/python-pure-sasl.changes b/python-pure-sasl.changes new file mode 100644 index 0000000..539b60b --- /dev/null +++ b/python-pure-sasl.changes @@ -0,0 +1,57 @@ +------------------------------------------------------------------- +Tue Jun 3 12:37:06 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Mon Oct 21 23:24:32 UTC 2019 - Martin Herkt <9+suse@cirno.systems> + +- Update to 0.6.2 + * Fix GSSAPI wrapping using in Python 3 + +------------------------------------------------------------------- +Fri Feb 22 04:57:47 UTC 2019 - Martin Herkt <9+suse@cirno.systems> + +- Update to 0.6.1 (no relevant changes in changelog) + +------------------------------------------------------------------- +Thu Dec 6 10:21:35 UTC 2018 - Michał Rostecki + +- Switch from python-pykerberos to python-kerberos. Pykerberos as + a fork is no longer developed and the work on upstream has + resumed. + +------------------------------------------------------------------- +Tue Dec 4 12:51:50 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Sat May 19 11:34:20 UTC 2018 - 9+suse@cirno.systems + +- Update to 0.5.1 + * Fixes for DIGEST-MD5, server auth has been completed and is now + tested + * Both DIGEST-MD5 and CRAM-MD5 properly set the complete flag now + +------------------------------------------------------------------- +Fri Mar 9 06:19:20 UTC 2018 - 9+suse@cirno.systems + +- Update to 0.5.0 + * Added EXTERNAL mechanism + * Fix QOP checks in python3 + * Improved error handling when the kerberos module is not + installed + * Fix python3 bug using auth-conf with GSSAPI + * Add GSSAPI "extra" with kerberos dependency +- Use %license macro + +------------------------------------------------------------------- +Sat Dec 2 17:26:27 UTC 2017 - 9@cirno.systems + +- Package doc files + +------------------------------------------------------------------- +Fri Dec 1 21:57:01 UTC 2017 - 9@cirno.systems + +- Init, v0.4.0 diff --git a/python-pure-sasl.spec b/python-pure-sasl.spec new file mode 100644 index 0000000..358046e --- /dev/null +++ b/python-pure-sasl.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-pure-sasl +# +# Copyright (c) 2025 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/ +# + + +%bcond_without test +Name: python-pure-sasl +Version: 0.6.2 +Release: 0 +Summary: Pure Python client SASL implementation +License: MIT +Group: Development/Languages/Python +URL: https://github.com/thobbs/pure-sasl +Source: https://files.pythonhosted.org/packages/source/p/pure-sasl/pure-sasl-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-kerberos +BuildArch: noarch +%python_subpackages + +%description +This package provides a reasonably high-level SASL client written +in pure Python. New mechanisms may be integrated easily, but by default, +support for PLAIN, ANONYMOUS, CRAM-MD5, DIGEST-MD5, and GSSAPI are +provided. + +%prep +%setup -q -n pure-sasl-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license LICENSE +%doc CHANGES.rst README.rst +%{python_sitelib}/puresasl +%{python_sitelib}/pure[-_]sasl-%{version}*-info + +%changelog