Compare commits

..

1 Commits

Author SHA1 Message Date
AlmaLinux RelEng Bot
45869742ef import CS python-requests-gssapi-1.4.0-1.el9 2026-03-30 10:56:29 -04:00
6 changed files with 138 additions and 81 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
requests-gssapi-1.4.0.tar.gz SOURCES/requests-gssapi-1.4.0.tar.gz

View File

@ -0,0 +1 @@
de3d140a7ddca9c293dc3cf1e9f793acd12b7e49 SOURCES/requests-gssapi-1.4.0.tar.gz

View File

@ -1,42 +0,0 @@
From 7e82d2fee28d4179ea898b88e0479e4eff0c3d77 Mon Sep 17 00:00:00 2001
From: Julien Rische <jrische@redhat.com>
Date: Thu, 13 Nov 2025 14:34:22 +0100
Subject: [PATCH] [downsteam] Fix build config for setuptools 69
setuptools v69 (current version on c9s) does not support the
"project.license" attribute. Classifiers must be used instead.
---
pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index d72e47f..8b17974 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
requires = [
- "setuptools >= 77.0.0", # Support for SPDX license expressions
+ "setuptools >= 69.0.0",
]
build-backend = "setuptools.build_meta"
@@ -9,7 +9,6 @@ name = "requests-gssapi"
description = "A GSSAPI authentication handler for python-requests"
readme = "README.rst"
requires-python = ">=3.8"
-license = "ISC"
authors = [
{ name = "Robbie Harwood", email = "rharwood@redhat.com" },
{ name = "Ian Cordasco" },
@@ -18,6 +17,7 @@ authors = [
]
keywords = ["gssapi", "requests", "auth"]
classifiers = [
+ "License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
--
2.51.1

View File

@ -0,0 +1,129 @@
From 128c76a07591c158dfbef359b70a6d23693a5392 Mon Sep 17 00:00:00 2001
From: Julien Rische <jrische@redhat.com>
Date: Thu, 13 Nov 2025 14:34:22 +0100
Subject: [PATCH] [downstream] Fix build config for setuptools 53
setuptools v53 (current version on c9s) does not support the
"project.license" attribute. Classifiers must be used instead.
A setup.cfg file is added to contain metadata not supported for
pyproject.toml with this setuptools version.
---
pyproject.toml | 51 +-------------------------------------------------
setup.cfg | 40 +++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 50 deletions(-)
create mode 100644 setup.cfg
diff --git a/pyproject.toml b/pyproject.toml
index d72e47f..e4b1493 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,58 +1,9 @@
[build-system]
requires = [
- "setuptools >= 77.0.0", # Support for SPDX license expressions
+ "setuptools >= 53.0.0",
]
build-backend = "setuptools.build_meta"
-[project]
-name = "requests-gssapi"
-description = "A GSSAPI authentication handler for python-requests"
-readme = "README.rst"
-requires-python = ">=3.8"
-license = "ISC"
-authors = [
- { name = "Robbie Harwood", email = "rharwood@redhat.com" },
- { name = "Ian Cordasco" },
- { name = "Cory Benfield" },
- { name = "Michael Komitee" },
-]
-keywords = ["gssapi", "requests", "auth"]
-classifiers = [
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Programming Language :: Python :: 3.11",
- "Programming Language :: Python :: 3.12",
- "Programming Language :: Python :: 3.13",
- "Programming Language :: Python :: 3.14",
-]
-dependencies = [
- "requests >= 1.1.0",
- "gssapi",
-]
-dynamic = ["version"]
-
-[project.urls]
-homepage = "https://github.com/pythongssapi/requests-gssapi"
-
-[project.optional-dependencies]
-dev = [
- "black == 24.2.0",
- "isort == 5.13.2",
- "pytest",
- "tox >= 4.0.0",
-]
-
-[tool.setuptools]
-include-package-data = true
-
-[tool.setuptools.dynamic]
-version = { attr = "requests_gssapi.__version__" }
-
-[tool.setuptools.packages.find]
-where = ["src"]
-
[tool.black]
line-length = 120
include = '\.pyi?$'
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..c19e9ad
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,40 @@
+[metadata]
+name = requests-gssapi
+description = A GSSAPI authentication handler for python-requests
+long_description = file: README.rst
+long_description_content_type = text/x-rst
+url = https://github.com/pythongssapi/requests-gssapi
+author = Robbie Harwood, Ian Cordasco, Cory Benfield, Michael Komitee
+author_email = rharwood@redhat.com
+keywords = gssapi, requests, auth
+classifiers =
+ License :: OSI Approved :: ISC License (ISCL)
+ Programming Language :: Python :: 3
+ Programming Language :: Python :: 3.8
+ Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
+ Programming Language :: Python :: 3.12
+ Programming Language :: Python :: 3.13
+ Programming Language :: Python :: 3.14
+python_requires = >=3.8
+version = attr: requests_gssapi.__version__
+
+[options]
+packages = find:
+package_dir =
+ = src
+install_requires =
+ requests >= 1.1.0
+ gssapi
+include_package_data = True
+
+[options.packages.find]
+where = src
+
+[options.extras_require]
+dev =
+ black == 24.2.0
+ isort == 5.13.2
+ pytest
+ tox >= 4.0.0
--
2.51.1

View File

@ -12,7 +12,7 @@ Source0: https://github.com/pythongssapi/%{sname}/archive/v%{version}/%{s
BuildArch: noarch BuildArch: noarch
# Patches # Patches
Patch0001: 0001-downsteam-Fix-build-config-for-setuptools-69.patch Patch0001: 0001-downstream-Fix-build-config-for-setuptools-53.patch
BuildRequires: git-core BuildRequires: git-core
BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest)
@ -57,44 +57,14 @@ Requires: python3-requests
%changelog %changelog
* Thu Nov 13 2025 Julien Rische <jrische@redhat.com> - 1.4.0-1 * Thu Nov 13 2025 Julien Rische <jrische@redhat.com> - 1.4.0-1
- New upstream release (1.4.0) - New upstream release (1.4.0)
Resolves: RHEL-103408 Resolves: RHEL-103416
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.3-13 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.3-3
- Bump release for October 2024 mass rebuild: - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: RHEL-64018 Related: rhbz#1991688
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.3-12 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.3-2
- Bump release for June 2024 mass rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.2.3-8
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.3-5
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.3-2
- Rebuilt for Python 3.10
* Mon Feb 08 2021 Robbie Harwood <rharwood@redhat.com> - 1.2.3-1 * Mon Feb 08 2021 Robbie Harwood <rharwood@redhat.com> - 1.2.3-1
- New upstream release (1.2.3) - New upstream release (1.2.3)

View File

@ -1 +0,0 @@
SHA512 (requests-gssapi-1.4.0.tar.gz) = 7ac3f467de888fd75e9dbc1533ab75ff2690ed236425999a1bdee82ee799b256f14ecb0dd661d8d655b10bbdac4a68f0faeffc5468dcef758fa5220694c59080