15
0

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
This commit is contained in:
2022-12-22 10:10:54 +00:00
committed by Git OBS Bridge
commit 40a3cd12d1
5 changed files with 95 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0648d0aafbc96e59198d5c17e9acad7eb531abea51035d08ce8060dcad709d6
size 77984

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Dec 21 10:45:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v0.2.3
- Required by py7zr

View File

@@ -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