From d169264cbc91d30aeca2cf5f0988cdc016d92c17237212c176a96722289116f6 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Wed, 19 Feb 2025 15:45:01 +0000 Subject: [PATCH] This package is a dependency of https://build.opensuse.org/package/show/games:tools/sc-controller in version 0.5.0 (update blocked by this missing package) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ioctl-opt?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + ioctl-opt-1.3.tar.gz | 3 +++ python-ioctl-opt.changes | 4 ++++ python-ioctl-opt.spec | 51 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 82 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ioctl-opt-1.3.tar.gz create mode 100644 python-ioctl-opt.changes create mode 100644 python-ioctl-opt.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ioctl-opt-1.3.tar.gz b/ioctl-opt-1.3.tar.gz new file mode 100644 index 0000000..eb3cbeb --- /dev/null +++ b/ioctl-opt-1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ed4f9a80d2e02e152a43d3648d7ed8821a0aac5ea88ecc5fcc14460ff7cf2f9 +size 10519 diff --git a/python-ioctl-opt.changes b/python-ioctl-opt.changes new file mode 100644 index 0000000..86e2482 --- /dev/null +++ b/python-ioctl-opt.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Feb 18 22:03:31 UTC 2025 - Jannik Seiler + +- initial package build diff --git a/python-ioctl-opt.spec b/python-ioctl-opt.spec new file mode 100644 index 0000000..d6c0125 --- /dev/null +++ b/python-ioctl-opt.spec @@ -0,0 +1,51 @@ +# +# spec file for package python-ioctl-opt +# +# Copyright (c) 2025 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-ioctl-opt +Version: 1.3 +Release: 0 +Summary: Pythonified linux asm-generic/ioctl.h +License: GPL-2.0-only +URL: https://github.com/vpelletier/python-ioctl-opt +Source: https://pypi.org/packages/source/i/ioctl-opt/ioctl-opt-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +Functions to compute fnctl.ioctl's opt argument. + +%prep +%autosetup -p1 -n ioctl-opt-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.rst +%license COPYING +%{python_sitelib}/ioctl_opt +%{python_sitelib}/ioctl_opt-%{version}-*.egg-info + +%changelog