Sync from SUSE:SLFO:Main python-requests-gssapi revision f51d9c098e39074e28789e2950c668d0

This commit is contained in:
Adrian Schröter 2024-05-03 22:48:21 +02:00
commit 2d7cf3d1a8
4 changed files with 117 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

View File

@ -0,0 +1,29 @@
-------------------------------------------------------------------
Tue Feb 22 21:45:48 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to 1.2.3:
- Drop python2 compat glue
- Drop external mock dependency
- Use USER_NAME instead of HOSTBASED_SERVICE for user
principals
- Remove unused imports in example code
- Fix typo in explicit mech example
-------------------------------------------------------------------
Mon Aug 3 10:24:08 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.2.1
* Include tests in sdist tarball
* Don't limit contexts to a single server name
-------------------------------------------------------------------
Mon Mar 30 15:20:56 UTC 2020 - pgajdos@suse.com
- test package
- added sources
+ test_requests_gssapi.py
-------------------------------------------------------------------
Mon Mar 9 11:18:19 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v1.2.0

View File

@ -0,0 +1,62 @@
#
# spec file for package python-requests-gssapi
#
# Copyright (c) 2022 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-gssapi
Version: 1.2.3
Release: 0
Summary: A GSSAPI authentication handler for python-requests
License: ISC
Group: Development/Languages/Python
URL: https://github.com/pythongssapi/requests-gssapi
Source: https://files.pythonhosted.org/packages/source/r/requests-gssapi/requests-gssapi-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-gssapi
Requires: python-requests >= 1.1.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module gssapi}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 1.1.0}
# /SECTION
%python_subpackages
%description
A GSSAPI authentication handler for python-requests
%prep
%setup -q -n requests-gssapi-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc AUTHORS README.rst
%license LICENSE
%{python_sitelib}/*
%changelog

BIN
requests-gssapi-1.2.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.