commit a24bc9676d6854383d02e74fa41b3c5bcd94252a41e7e95dc25f187633b89ecc Author: Matej Cepl Date: Wed Dec 6 14:43:15 2023 +0000 Accepting request 1131310 from system:homeautomation:home-assistant Initial package OBS-URL: https://build.opensuse.org/request/show/1131310 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zlib-ng?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/python-zlib-ng.changes b/python-zlib-ng.changes new file mode 100644 index 0000000..828d8f3 --- /dev/null +++ b/python-zlib-ng.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Dec 6 10:25:00 UTC 2023 - Adrian Schröter + +- initial package of version 0.2.0 + diff --git a/python-zlib-ng.spec b/python-zlib-ng.spec new file mode 100644 index 0000000..fcded84 --- /dev/null +++ b/python-zlib-ng.spec @@ -0,0 +1,58 @@ +# +# spec file for package python-zlib-ng +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-zlib-ng +Version: 0.2.0 +Release: 0 +License: MIT +Summary: Faster zlib and gzip compatible compression and decompression +Group: Development/Languages/Python +Url: https://github.com/pycompression/python-zlib-ng +Source: https://files.pythonhosted.org/packages/source/z/zlib-ng/zlib-ng-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module poetry} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module pip} +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: zlib-ng-devel +BuildRequires: python-rpm-macros +%python_subpackages + +%description +Faster zlib and gzip compatible compression and decompression by providing Python bindings for the zlib-ng library. + +This package provides Python bindings for the zlib-ng library. + + +%prep +%setup -q -n zlib-ng-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license LICENSE +%doc README.rst +%{python_sitearch}/* + +%changelog diff --git a/zlib-ng-0.2.0.tar.gz b/zlib-ng-0.2.0.tar.gz new file mode 100644 index 0000000..c7359de --- /dev/null +++ b/zlib-ng-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b23707cb7e5bf27afd8422d290f68e82185af69741bde60914f18d16fb66e9b +size 905929