commit 40a3cd12d143faff7190ef7d9e284e93d79c61dc7e40f75ae3a0af8fffad44a8 Author: Daniel Garcia Date: Thu Dec 22 10:10:54 2022 +0000 Accepting request 1044053 from home:bnavigator:branches:devel:languages:python required by py7zr OBS-URL: https://build.opensuse.org/request/show/1044053 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multivolumefile?expand=0&rev=1 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/multivolumefile-0.2.3.tar.gz b/multivolumefile-0.2.3.tar.gz new file mode 100644 index 0000000..0302c07 --- /dev/null +++ b/multivolumefile-0.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0648d0aafbc96e59198d5c17e9acad7eb531abea51035d08ce8060dcad709d6 +size 77984 diff --git a/python-multivolumefile.changes b/python-multivolumefile.changes new file mode 100644 index 0000000..3eea9f3 --- /dev/null +++ b/python-multivolumefile.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Dec 21 10:45:53 UTC 2022 - Ben Greiner + +- Initial specfile for v0.2.3 +- Required by py7zr diff --git a/python-multivolumefile.spec b/python-multivolumefile.spec new file mode 100644 index 0000000..acee453 --- /dev/null +++ b/python-multivolumefile.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-multivolumefile +# +# 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/ +# + + +Name: python-multivolumefile +Version: 0.2.3 +Release: 0 +Summary: Multi volume file wrapper library +License: LGPL-2.1-or-later +URL: https://codeberg.org/miurahr/multivolume +Source: https://files.pythonhosted.org/packages/source/m/multivolumefile/multivolumefile-%{version}.tar.gz +BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pyannotate} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools >= 42.0} +BuildRequires: %{python_module setuptools_scm >= 3.5.0} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +A python library to provide a file-object wrapping multiple files as virtually like as +a single file. It inherit io.RawIOBase class and support some of its standard methods. + +%prep +%setup -q -n multivolumefile-%{version} +# remove shebang +sed -i '1{/env python/d}' multivolumefile/__init__.py + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc Changelog.rst README.rst +%license LICENSE +%{python_sitelib}/multivolumefile +%{python_sitelib}/multivolumefile-%{version}.dist-info + +%changelog