Sync from SUSE:SLFO:Main python-k5test revision fd70e9f92a5348298eb6d2da50115b06

This commit is contained in:
Adrian Schröter 2024-05-03 21:20:36 +02:00
commit d9706ec6fd
4 changed files with 116 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

BIN
k5test-0.10.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

31
python-k5test.changes Normal file
View File

@ -0,0 +1,31 @@
-------------------------------------------------------------------
Fri Apr 21 12:27:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:42:22 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Tue Nov 8 17:14:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to v0.10.3
* Remove no longer valid reference by @stanislavlevin in #23
- Update to v0.10.2
* Remove redundant wheel dep from pyproject.toml by @mgorny in #19
* Use built-in shutil.which() instead of which(1) tool by @mgorny in #20
* Update CI to use new action versions by @jborean93 in #21
-------------------------------------------------------------------
Sat Sep 17 12:57:07 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Update to v0.10.1
- Add dependency krb5-server to be able to invoke /usr/sbin/kdb5_util
and krb5-client to be able to invoke /usr/bin/kinit
-------------------------------------------------------------------
Fri Mar 15 13:07:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial commit, needed by gssapi

59
python-k5test.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package python-k5test
#
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-k5test
Version: 0.10.3
Release: 0
Summary: A library for testing Python applications in krb5 environments
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pythongssapi/k5test
Source: https://files.pythonhosted.org/packages/source/k/k5test/k5test-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: krb5-client
Requires: krb5-server
BuildArch: noarch
%python_subpackages
%description
k5test is a library for setting up self-contained Kerberos 5 environments,
and running Python unit tests inside those environments. It is based on
the file of the same name found alongside the MIT Kerberos 5 unit tests.
%prep
%setup -q -n k5test-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# no testsuite found
%files %{python_files}
%license *LICENSE*
%doc README.md
%{python_sitelib}/k5test*
%changelog