From de05eecbcdd280c224a09943e1bd15dc58a3e9987530b60269a90ec5bf531369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 30 Apr 2024 12:04:18 +0000 Subject: [PATCH] Accepting request 1170666 from home:smolsheep:upgrades I would like to maintain this in factory and devel:languages:python. This is required for a new update of magic-wormhole. OBS-URL: https://build.opensuse.org/request/show/1170666 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iterable-io?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + iterable-io-1.0.0.tar.gz | 3 ++ python-iterable-io.changes | 4 +++ python-iterable-io.spec | 56 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 87 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 iterable-io-1.0.0.tar.gz create mode 100644 python-iterable-io.changes create mode 100644 python-iterable-io.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/iterable-io-1.0.0.tar.gz b/iterable-io-1.0.0.tar.gz new file mode 100644 index 0000000..becb75f --- /dev/null +++ b/iterable-io-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb9e1b739587a9ba0d5c60a3e1eb71246761583bc9f18b3c35bb112b44b18c3c +size 6050 diff --git a/python-iterable-io.changes b/python-iterable-io.changes new file mode 100644 index 0000000..4e47744 --- /dev/null +++ b/python-iterable-io.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Apr 29 06:32:19 UTC 2024 - Joshua Smith + +- Initial package of iterable-io diff --git a/python-iterable-io.spec b/python-iterable-io.spec new file mode 100644 index 0000000..9761744 --- /dev/null +++ b/python-iterable-io.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-iterableio +# +# 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-iterable-io +Version: 1.0.0 +Release: 0 +Summary: Adapt generators and other iterables to a file-like interface +License: LGPL-3.0 +URL: https://github.com/pR0Ps/iterable-io +Source: https://files.pythonhosted.org/packages/source/i/iterable-io/iterable-io-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module pytest} +BuildRequires: fdupes +BuildArch: noarch +%python_subpackages + +%description +Adapt generators and other iterables to a file-like interface + +%prep +%autosetup -p1 -n iterable-io-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%pycache_only %{python_sitelib}/__pycache__/* +%{python_sitelib}/iterableio.py +%{python_sitelib}/iterable_io-%{version}.dist-info + +%changelog