14
0

- Switch to pyproject macros.

- Explicitly list files and directories in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyECLib?expand=0&rev=16
This commit is contained in:
2025-06-11 06:17:57 +00:00
committed by Git OBS Bridge
commit 90422c67c6
7 changed files with 207 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

23
LICENSE Normal file
View File

@@ -0,0 +1,23 @@
Copyright (c) 2013-2015, Kevin Greenan (kmgreen2@gmail.com)
Copyright (c) 2013-2015, Tushar Gohad (tusharsg@gmail.com)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY
THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

3
pyeclib-1.6.1.tar.gz Normal file
View File

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

3
pyeclib-1.6.4.tar.gz Normal file
View File

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

86
python-PyECLib.changes Normal file
View File

@@ -0,0 +1,86 @@
-------------------------------------------------------------------
Wed Jun 11 05:53:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Explicitly list files and directories in %files.
-------------------------------------------------------------------
Mon Apr 28 16:46:48 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.6.4:
* Binary wheels support a broader range of processors.
* Only destroy liberasurecode descriptors on liberasurecode
versions where it should be safe to do so.
-------------------------------------------------------------------
Thu May 5 04:58:38 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.6.1:
* Deprecate Jerasure support
* Use Py_ssize_t when calling PyArg_Parse
* Test against Python 3.8 - 3.10
* Use the Python Stable ABI
* Various other minor bugs fixes and improvements
- Stop skipping Python 3.10
- Update the license file location
-------------------------------------------------------------------
Tue Jan 11 10:14:08 UTC 2022 - Dirk Müller <dmueller@suse.com>
- skip python 3.10 for now
-------------------------------------------------------------------
Mon Nov 8 10:40:16 UTC 2021 - Dirk Müller <dmueller@suse.com>
- six is needed by testsuite
-------------------------------------------------------------------
Thu Jun 3 10:34:02 UTC 2021 - pgajdos@suse.com
- use %pyunittest_arch rpm macro
-------------------------------------------------------------------
Tue Jun 18 08:45:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.6.0:
* Find liberasurecode in more environments
* Test against Python 3.7
* Test with more backends
- Switch to singlespec
-------------------------------------------------------------------
Tue Oct 24 10:15:34 UTC 2017 - dmueller@suse.com
- update to 1.5.0:
* bugfixes
* add support for Phazr.IO's erasure code library with built-in privacy
-------------------------------------------------------------------
Sat Jan 7 15:09:25 UTC 2017 - dmueller@suse.com
- update to 1.4.0
-------------------------------------------------------------------
Sun Oct 9 14:05:25 UTC 2016 - dmueller@suse.com
- update to 1.3.1:
* no changelog available
- enable tests
-------------------------------------------------------------------
Mon Feb 29 13:41:42 UTC 2016 - dmueller@suse.com
- update to 1.2.0:
* no changelog available
-------------------------------------------------------------------
Wed Aug 5 07:38:13 UTC 2015 - tbechtold@suse.com
- Add missing BuildRequires and Requires for jerasure
and gf-complete libs
-------------------------------------------------------------------
Wed Jul 29 18:35:52 UTC 2015 - tbechtold@suse.com
- Initial packaging

68
python-PyECLib.spec Normal file
View File

@@ -0,0 +1,68 @@
#
# spec file for package python-PyECLib
#
# 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-PyECLib
Version: 1.6.4
Release: 0
Summary: Simple interface for implementing erasure codes
License: BSD-3-Clause
URL: https://opendev.org/openstack/pyeclib/
Source: https://files.pythonhosted.org/packages/source/p/pyeclib/pyeclib-%{version}.tar.gz
Source99: https://opendev.org/openstack/pyeclib/raw/branch/master/LICENSE
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: liberasurecode-devel >= 1.4.0
BuildRequires: python-rpm-macros
%python_subpackages
%description
This library makes use of Jesasure for Reed-Solomon as implemented by the
liberasurecode library and provides its' own flat XOR-based erasure code
encoder and decoder. Currently, it implements a specific class of HD
Combination Codes (see "Flat XOR-based erasure codes in storage systems:
Constructions, efficient recovery, and tradeoffs" in IEEE MSST 2010). These
codes are well-suited to archival use-cases, have a simple construction and
require a minimum number of participating disks during single-disk
reconstruction (think XOR-based LRC code).
%prep
%setup -q -n pyeclib-%{version}
cp %{SOURCE99} .
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pyunittest_arch discover -v
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitearch}/pyeclib
%{python_sitearch}/pyeclib_c.abi3.so
%{python_sitearch}/[Pp]y[Ee][Cc][Ll]ib-%{version}.dist-info
%changelog