From a8040ce149c29bf9df4483895a638735bc9d4313 Mon Sep 17 00:00:00 2001
From: bnavigator <>
Date: Dec 24 2022 14:02:28 +0000
Subject: Update python-pyzstd to version 0.15.3 / rev 1 via SR 1044220
https://build.opensuse.org/request/show/1044220
by user bnavigator + dimstar_suse
required by py7zr update
---
diff --git a/packages/p/python-pyzstd/.files b/packages/p/python-pyzstd/.files
new file mode 100644
index 0000000..3d97272
Binary files /dev/null and b/packages/p/python-pyzstd/.files differ
diff --git a/packages/p/python-pyzstd/.meta b/packages/p/python-pyzstd/.meta
new file mode 100644
index 0000000..8836327
--- /dev/null
+++ b/packages/p/python-pyzstd/.meta
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/packages/p/python-pyzstd/.rev b/packages/p/python-pyzstd/.rev
new file mode 100644
index 0000000..83e73c5
--- /dev/null
+++ b/packages/p/python-pyzstd/.rev
@@ -0,0 +1,10 @@
+
+
+ 6d98ea07cef9c30def043559ca1050f2
+ 0.15.3
+
+ dimstar_suse
+ required by py7zr update
+ 1044220
+
+
diff --git a/packages/p/python-pyzstd/python-pyzstd.changes b/packages/p/python-pyzstd/python-pyzstd.changes
new file mode 100644
index 0000000..c197c18
--- /dev/null
+++ b/packages/p/python-pyzstd/python-pyzstd.changes
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Wed Dec 21 11:14:08 UTC 2022 - Ben Greiner
+
+- Initial specfile for v0.15.3
+- Required by py7zr
diff --git a/packages/p/python-pyzstd/python-pyzstd.spec b/packages/p/python-pyzstd/python-pyzstd.spec
new file mode 100644
index 0000000..fc932ed
--- /dev/null
+++ b/packages/p/python-pyzstd/python-pyzstd.spec
@@ -0,0 +1,66 @@
+#
+# spec file for package python-pyzstd
+#
+# 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/
+#
+
+
+%define skip_python2 1
+Name: python-pyzstd
+Version: 0.15.3
+Release: 0
+Summary: Python bindings to Zstandard (zstd) compression library
+License: BSD-3-Clause
+URL: https://github.com/animalize/pyzstd
+Source: https://files.pythonhosted.org/packages/source/p/pyzstd/pyzstd-%{version}.tar.gz
+BuildRequires: %{python_module devel >= 3.5}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
+BuildRequires: fdupes
+BuildRequires: libzstd-devel >= 1.4.0
+BuildRequires: python-rpm-macros
+%python_subpackages
+
+%description
+Pyzstd module provides classes and functions for compressing and decompressing data,
+using Facebook's Zstandard (or zstd as short name) algorithm.
+
+The API is similar to Python's bz2/lzma/zlib modules.
+
+%prep
+%setup -q -n pyzstd-%{version}
+# make sure we link dynamically, cannot use command line argument to pip wheel
+# gh#animalize/pyzstd#18
+rm -r zstd
+sed -i "s/has_option('--dynamic-link-zstd')/True/" setup.py
+
+%build
+export CFLAGS="%{optflags}"
+%pyproject_wheel
+
+%install
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+
+%check
+%pyunittest_arch discover -v tests
+
+%files %{python_files}
+%doc README.rst
+%license LICENSE
+%{python_sitearch}/pyzstd
+%{python_sitearch}/pyzstd-%{version}.dist-info
+
+%changelog
diff --git a/packages/p/python-pyzstd/pyzstd-0.15.3.tar.gz b/packages/p/python-pyzstd/pyzstd-0.15.3.tar.gz
new file mode 120000
index 0000000..7ed3056
--- /dev/null
+++ b/packages/p/python-pyzstd/pyzstd-0.15.3.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafybeidrlwlimi3g2lvddvwky5urellwdervmjhsuaqwgvz6yuumvwo3bm
\ No newline at end of file