2018-05-07 15:57:20 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-gssapi
|
|
|
|
#
|
2023-04-21 13:19:17 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2018-05-07 15:57:20 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-05-10 09:53:31 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-05-07 15:57:20 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
Accepting request 868360 from home:alarrosa:branches:devel:languages:python
- 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)
OBS-URL: https://build.opensuse.org/request/show/868360
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gssapi?expand=0&rev=16
2021-02-01 17:26:24 +00:00
|
|
|
%define skip_python2 1
|
2023-04-21 13:19:17 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2018-05-07 15:57:20 +00:00
|
|
|
Name: python-gssapi
|
2023-10-20 21:41:19 +00:00
|
|
|
Version: 1.8.3
|
2018-05-07 15:57:20 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A Python interface to RFC 2743/2744 (plus common extensions)
|
|
|
|
License: ISC
|
2023-08-14 06:41:42 +00:00
|
|
|
URL: https://github.com/pythongssapi/python-gssapi
|
2018-05-07 15:57:20 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz
|
2019-08-07 14:27:02 +00:00
|
|
|
BuildRequires: %{python_module Cython}
|
2018-05-07 15:57:20 +00:00
|
|
|
BuildRequires: %{python_module decorator}
|
|
|
|
BuildRequires: %{python_module devel}
|
2022-09-19 11:15:17 +00:00
|
|
|
BuildRequires: %{python_module k5test}
|
|
|
|
BuildRequires: %{python_module parameterized}
|
2022-02-22 22:08:18 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2022-09-19 11:15:17 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2018-05-07 15:57:20 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2022-02-22 22:08:18 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2018-05-07 15:57:20 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: krb5-devel
|
2018-05-07 17:38:38 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2018-05-07 15:57:20 +00:00
|
|
|
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
|
2023-08-14 06:41:42 +00:00
|
|
|
%autosetup -p1 -n gssapi-%{version}
|
2022-09-19 11:15:17 +00:00
|
|
|
sed -i "s/'gssapi.tests'//" setup.py
|
|
|
|
|
|
|
|
mv gssapi/tests .
|
2018-05-07 15:57:20 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags} -DHAS_GSSAPI_EXT_H -fno-strict-aliasing"
|
2022-02-22 22:08:18 +00:00
|
|
|
%pyproject_wheel
|
2018-05-07 15:57:20 +00:00
|
|
|
|
|
|
|
%install
|
2022-02-22 22:08:18 +00:00
|
|
|
%pyproject_install
|
2018-05-07 15:57:20 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
|
|
|
|
2019-05-10 09:53:31 +00:00
|
|
|
%check
|
2022-09-19 11:15:17 +00:00
|
|
|
mv gssapi gssapi_temp
|
|
|
|
%pytest_arch tests
|
|
|
|
mv gssapi_temp gssapi
|
2019-05-10 09:53:31 +00:00
|
|
|
|
2018-05-07 15:57:20 +00:00
|
|
|
%files %{python_files}
|
2023-10-20 21:41:19 +00:00
|
|
|
%{python_sitearch}/gssapi
|
|
|
|
%{python_sitearch}/gssapi-%{version}*-info
|
2018-05-07 16:08:43 +00:00
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE.txt
|
2018-05-07 15:57:20 +00:00
|
|
|
|
|
|
|
%changelog
|