[packages/python3-gssapi] - updated to 1.11.1

qboosh qboosh at pld-linux.org
Sat Apr 18 21:10:53 CEST 2026


commit f9e1b1d277a099dac57d063f29022ae906e7d38f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 18 21:11:30 2026 +0200

    - updated to 1.11.1

 python3-gssapi.spec | 47 ++++++++++++++++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 17 deletions(-)
---
diff --git a/python3-gssapi.spec b/python3-gssapi.spec
index 466b3b0..4fcc981 100644
--- a/python3-gssapi.spec
+++ b/python3-gssapi.spec
@@ -1,29 +1,38 @@
+#
 # Conditional build:
+%bcond_with	krb5	# MIT Kerberos instead of Heimdal
 %bcond_with	tests	# unit tests
 
 %define		module	gssapi
 Summary:	Python GSSAPI Wrapper
+Summary(pl.UTF-8):	Pythonowy interfejs do GSSAPI
 Name:		python3-%{module}
-Version:	1.9.0
+Version:	1.11.1
 Release:	1
-License:	ISCL
+License:	ISC
 Group:		Libraries/Python
-Source0:	https://pypi.debian.net/gssapi/gssapi-%{version}.tar.gz
-# Source0-md5:	866fe5e21dcde16eb115d4e6ac526f06
+#Source0Download: https://pypi.org/simple/gssapi/
+Source0:	https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz
+# Source0-md5:	70a141343b95b3e7d97a174b9ab52488
 URL:		https://pypi.org/project/gssapi/
+%if %{with krb5}
+BuildRequires:	krb5-devel
+%else
+BuildRequires:	heimdal-devel
+%endif
+BuildRequires:	python3-Cython = 3.2.4
 BuildRequires:	python3-build
-BuildRequires:	python3-devel >= 1:3.2
+BuildRequires:	python3-devel >= 1:3.9
 BuildRequires:	python3-installer
+BuildRequires:	python3-setuptools >= 1:40.6.0
 %if %{with tests}
 BuildRequires:	python3-decorator
-BuildRequires:	python3-flake8
 BuildRequires:	python3-k5test
-BuildRequires:	python3-mypy
-BuildRequires:	python3-parametrized
+BuildRequires:	python3-parameterized
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.2
+Requires:	python3-modules >= 1:3.9
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,6 +40,11 @@ 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 useable with other GSSAPI mechanisms.
 
+%description -l pl.UTF-8
+Python-GSSAPI udostępnia zarówno niskopoziomowe, jak i wysokopoziomowe
+opakowanie bibliotek C GSSAPI. O ile skupia się na mechanizmie
+Kerberos, powinien dać się używać także z innymi mechanizmami GSSAPI.
+
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -39,10 +53,10 @@ should also be useable with other GSSAPI mechanisms.
 
 %if %{with tests}
 %{__python3} -m zipfile -e build-3/*.whl build-3-test
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
+# avoid having .so-less gssapi dir in PWD
+cd build-3-test
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS= \
-%{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
+%{__python3} -m pytest -o pythonpath="$PWD" gssapi/tests
 %endif
 
 %install
@@ -50,6 +64,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %py3_install_pyproject
 
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/gssapi/tests
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -63,13 +79,10 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py3_sitedir}/%{module}/raw
 %{py3_sitedir}/%{module}/raw/*.py
 %{py3_sitedir}/%{module}/raw/*.pyi
-%attr(755,root,root) %{py3_sitedir}/%{module}/raw/*.so
+%{py3_sitedir}/%{module}/raw/*.abi3.so
 %{py3_sitedir}/%{module}/raw/__pycache__
 %dir %{py3_sitedir}/%{module}/raw/_enum_extensions
 %{py3_sitedir}/%{module}/raw/_enum_extensions/*.py
-%attr(755,root,root) %{py3_sitedir}/%{module}/raw/_enum_extensions/*.so
+%{py3_sitedir}/%{module}/raw/_enum_extensions/*.abi3.so
 %{py3_sitedir}/%{module}/raw/_enum_extensions/__pycache__
-%dir %{py3_sitedir}/%{module}/tests
-%{py3_sitedir}/%{module}/tests/*.py
-%{py3_sitedir}/%{module}/tests/__pycache__
 %{py3_sitedir}/%{module}-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-gssapi.git/commitdiff/f9e1b1d277a099dac57d063f29022ae906e7d38f



More information about the pld-cvs-commit mailing list