From 4e44bf324b9b90611dfe091e2413c087e34a58cbc40a9a4f7a42bccb63031039 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 25 Oct 2024 15:03:22 +0000 Subject: [PATCH] - Update to 1.9.0 * Bump Python 3.13 test version OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gssapi?expand=0&rev=31 --- .gitattributes | 23 +++++++ .gitignore | 1 + gssapi-1.8.3.tar.gz | 3 + gssapi-1.9.0.tar.gz | 3 + python-gssapi.changes | 140 ++++++++++++++++++++++++++++++++++++++++++ python-gssapi.spec | 73 ++++++++++++++++++++++ 6 files changed, 243 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gssapi-1.8.3.tar.gz create mode 100644 gssapi-1.9.0.tar.gz create mode 100644 python-gssapi.changes create mode 100644 python-gssapi.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/gssapi-1.8.3.tar.gz b/gssapi-1.8.3.tar.gz new file mode 100644 index 0000000..6e2cd27 --- /dev/null +++ b/gssapi-1.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa3c8d0b1526f52559552bb2c9d2d6be013d76a8e5db00b39a1db5727e93b0b0 +size 94190 diff --git a/gssapi-1.9.0.tar.gz b/gssapi-1.9.0.tar.gz new file mode 100644 index 0000000..46d5b5b --- /dev/null +++ b/gssapi-1.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f468fac8f3f5fca8f4d1ca19e3cd4d2e10bd91074e7285464b22715d13548afe +size 94285 diff --git a/python-gssapi.changes b/python-gssapi.changes new file mode 100644 index 0000000..7e70c91 --- /dev/null +++ b/python-gssapi.changes @@ -0,0 +1,140 @@ +------------------------------------------------------------------- +Fri Oct 25 10:12:09 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 1.9.0 + * Bump Python 3.13 test version + +------------------------------------------------------------------- +Fri Oct 20 21:30:09 UTC 2023 - Matej Cepl + +- Update to 1.8.3: + - Added Python 3.12 wheel + - Fix Cython 3 compatibility +- Remove upstreamed patch + d9200d1018ac916b30433da23898c8c5fbde0f28.patch + +------------------------------------------------------------------- +Mon Aug 14 06:41:06 UTC 2023 - Dirk Müller + +- add d9200d1018ac916b30433da23898c8c5fbde0f28.patch to + improve cython 3.x interoperability + +------------------------------------------------------------------- +Fri Apr 21 12:25:54 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:41:40 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Tue Nov 8 16:59:19 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version to 1.8.2 + * Added Python 3.11 wheel - #303 + * Fix up doc link in README + * Use just major version + * Bump GHA actions to latest version + +------------------------------------------------------------------- +Wed Sep 28 23:31:47 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version to 1.8.1 with Python 3.7 requires + * Fix up build problems with latest change + * Change sdist and build to use PEP517 + * Fix up doc references + * More fixes for the release process + +------------------------------------------------------------------- +Sat Sep 17 13:50:48 UTC 2022 - John Vandenberg + +- Move tests out of runtime package +- Enable test suite + +------------------------------------------------------------------- +Tue Feb 22 21:53:06 UTC 2022 - Matej Cepl + +- Update to 1.7.3 + - Fix up sha512sum file generation in the GitHub release asset + - Added Python type annotation to classes and functions +- Update to 1.7.2: + - Fix distutil deprecation on Python 3.10 by using setuptools + instead +- Update to 1.7.0: + - Add Kerberos specific GSS-API Extensions + - Tidy up docs and turn warnings into errors +- Update to 1.6.14: + - Enable specification of krb5-config via environment variable + - Support for GSS_C_CHANNEL_BOUND_FLAG + - Support for docs build with sphinx 4 + - Fix undefined variable in get_all_statuses() + - Add support for str objects in the cred store dict + +------------------------------------------------------------------- +Mon Feb 1 12:46:00 UTC 2021 - Antonio Larrosa + +- Update to 1.6.12: + * Fix GSSAPI detection for macOS Big Sur (#235, #236) + * Clarify how to disable detection (#234) +- Update to 1.6.11: + * Fix build on FreeBSD (#232, #228) + * On FreeBSD, prefer GSSAPI from ports if available (#232) + * Support python >= 3.8 in test suite by dropping dependency on + should_be (#215, #229) + * Fix malformed S4U tests (#220, #229) +- Update to 1.6.10: + * Provide python 3.9 Windows wheels (#226, #227) + * Fix shlex.split on Windows (#223) + * Removed six package and other older py cleanup values + (#221, #222) +- Update to 1.6.9: + * Raise exception on unknown usage (#202, #203) + * Update tutorial to make server_name equal FQDN (#209) + * Handle missing locale.LC_MESSAGES on Windows (#211) +- Update to 1.6.5: + * There were no releases between 1.6.5 and 1.6.9 due to release + pipeline issues with Github Actions. + * Fix python_requires so that python-3.5 users hopefully + don't get a version they can't use (#199, #198) +- Update to 1.6.4: + * There was no v1.6.3 due to an incompatible sphinx extension + change. + * Fix missing substitution in inquire_property (#195, #196) + * Fix DLL handling on Windows with workarounds (#193, #194, #197) + +------------------------------------------------------------------- +Mon Mar 16 10:36:51 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +------------------------------------------------------------------- +Wed Mar 4 11:32:53 UTC 2020 - Ondřej Súkup + +- update to 1.6.2 + * docu update + +------------------------------------------------------------------- +Tue Aug 13 12:49:42 UTC 2019 - Ondřej Súkup + +- update to 1.6.1 + * GSSAPI extension rfc4178 (set_neg_mechs) support + * Expose mechanisms in the high-level API + +------------------------------------------------------------------- +Wed Aug 7 14:23:45 UTC 2019 - Ondřej Súkup + +- update to 1.6.0 + * no upstream changelog + +------------------------------------------------------------------- +Fri May 10 09:50:34 UTC 2019 - pgajdos@suse.com + +- version update to 1.5.1 + * Remove warning about collections.abc usage for Python 3.7+ (#154) + +------------------------------------------------------------------- +Mon May 7 15:54:57 UTC 2018 - mimi.vx@gmail.com + +- initial package diff --git a/python-gssapi.spec b/python-gssapi.spec new file mode 100644 index 0000000..a896452 --- /dev/null +++ b/python-gssapi.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-gssapi +# +# Copyright (c) 2023 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/ +# + + +%define skip_python2 1 +%{?sle15_python_module_pythons} +Name: python-gssapi +Version: 1.9.0 +Release: 0 +Summary: A Python interface to RFC 2743/2744 (plus common extensions) +License: ISC +URL: https://github.com/pythongssapi/python-gssapi +Source: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module decorator} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module k5test} +BuildRequires: %{python_module parameterized} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: krb5-devel +BuildRequires: python-rpm-macros +Requires: python-decorator +%python_subpackages + +%description +Python-GSSAPI provides both low-level and high level wrappers around the GSSAPI +C libraries. While it focuses on the Kerberos mechanism, it should also be +usable with other GSSAPI mechanisms. + +%prep +%autosetup -p1 -n gssapi-%{version} +sed -i "s/'gssapi.tests'//" setup.py + +mv gssapi/tests . + +%build +export CFLAGS="%{optflags} -DHAS_GSSAPI_EXT_H -fno-strict-aliasing" +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +mv gssapi gssapi_temp +%pytest_arch tests +mv gssapi_temp gssapi + +%files %{python_files} +%{python_sitearch}/gssapi +%{python_sitearch}/gssapi-%{version}*-info +%doc README.rst +%license LICENSE.txt + +%changelog