Sync from SUSE:SLFO:Main python-kmodpy revision 1c7471d9e7f0da9ac07fbf3b80ce5b16

This commit is contained in:
Adrian Schröter 2024-12-13 11:41:46 +01:00
commit 975f66357f
4 changed files with 86 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
kmodpy-0.1.13.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

4
python-kmodpy.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Mar 8 05:04:54 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Initial release of 0.1.13

56
python-kmodpy.spec Normal file
View File

@ -0,0 +1,56 @@
#
# spec file for package python-kmodpy
#
# Copyright (c) 2024 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/
#
Name: python-kmodpy
Version: 0.1.13
Release: 0
Summary: Python binding for kmod
License: GPL-3.0-or-later
URL: https://github.com/cnanakos/kmodpy
Source: https://files.pythonhosted.org/packages/source/k/kmodpy/kmodpy-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: libkmod2
BuildArch: noarch
%python_subpackages
%description
Python binding for kmod
%prep
%autosetup -p1 -n kmodpy-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# No tests upstream
%files %{python_files}
%doc AUTHORS README
%license COPYING
%{python_sitelib}/kmodpy
%{python_sitelib}/kmodpy-%{version}.dist-info
%changelog