From 556907402172a70fdf6dd7435c93edb489c474cfd83736dccdd07bc794957f2c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 10 Nov 2024 21:42:31 +0000 Subject: [PATCH] - update to 0.2.3.post1: * Added wheels for Python 3.13. No other code changes since v0.2.3. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zopfli?expand=0&rev=11 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + python-zopfli.changes | 56 +++++++++++++++++++++++++++++++++++ python-zopfli.spec | 61 +++++++++++++++++++++++++++++++++++++++ zopfli-0.2.3.post1.tar.gz | 3 ++ zopfli-0.2.3.zip | 3 ++ 6 files changed, 147 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-zopfli.changes create mode 100644 python-zopfli.spec create mode 100644 zopfli-0.2.3.post1.tar.gz create mode 100644 zopfli-0.2.3.zip 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-zopfli.changes b/python-zopfli.changes new file mode 100644 index 0000000..b6226ca --- /dev/null +++ b/python-zopfli.changes @@ -0,0 +1,56 @@ +------------------------------------------------------------------- +Sun Nov 10 21:42:18 UTC 2024 - Dirk Müller + +- update to 0.2.3.post1: + * Added wheels for Python 3.13. No other code changes since + v0.2.3. + +------------------------------------------------------------------- +Thu Oct 5 09:11:36 UTC 2023 - Dirk Müller + +- update to 0.2.3: + * Dropped support for Python 3.7, added support for Python + 3.12. No other code changes. + +------------------------------------------------------------------- +Fri Apr 21 12:39:23 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:46:09 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Thu Dec 15 00:13:46 UTC 2022 - Torsten Gruner + +- update to 0.2.2 + * Added pyproject.toml to source distribution + * Published precompiled wheels for Python 3.11 + +- version 0.2.1 + * [zopfli.png] Only print debug info to console output when -v/--verbose flag is used. + +- version 0.2.0 + * Dropped support for EOL Python 2.7 and 3.6, require Python 3.7+ (#16). + * Added support for compressing PNGs via zopfli.png.optimize method. Also available from + the command line as python -m zopfli.png; mimics the upstream's zopflipng c++ executable (#17). + +- version 0.1.9 + * Allow to link against system installed zopfli library by setting + USE_SYSTEM_ZOPFLI environment variable (#9). + * Added wheels for Python 3.10, universal2 macos "fat" (x86_64 + arm64) + architecture, Linux aarch64 and pypy3 (#10, #11). + * Determine package version automatically from latest git tag using setuptools_scm. + +------------------------------------------------------------------- +Mon Jul 12 11:54:56 UTC 2021 - Markéta Machová + +- update to 0.1.8 + * add Python 3.9, remove 3.5 (EOL) + +------------------------------------------------------------------- +Wed May 20 12:25:13 UTC 2020 - Antonio Larrosa + +- Initial release of python-zopfli diff --git a/python-zopfli.spec b/python-zopfli.spec new file mode 100644 index 0000000..a13977b --- /dev/null +++ b/python-zopfli.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-zopfli +# +# Copyright (c) 2024 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-zopfli +Version: 0.2.3.post1 +Release: 0 +Summary: Zopfli module for python +License: Apache-2.0 +URL: https://github.com/obp/py-zopfli +Source: https://files.pythonhosted.org/packages/source/z/zopfli/zopfli-%{version}.tar.gz +BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: libzopfli-devel >= 1.0.3 +BuildRequires: python-rpm-macros +%python_subpackages + +%description +Zopfli module for python + +%prep +%setup -q -n zopfli-%{version} + +%build +export USE_SYSTEM_ZOPFLI=1 +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%pytest_arch + +%files %{python_files} +%doc README.rst +%license COPYING +%{python_sitearch}/zopfli +%{python_sitearch}/zopfli-%{version}*-info + +%changelog diff --git a/zopfli-0.2.3.post1.tar.gz b/zopfli-0.2.3.post1.tar.gz new file mode 100644 index 0000000..bf2c73e --- /dev/null +++ b/zopfli-0.2.3.post1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96484dc0f48be1c5d7ae9f38ed1ce41e3675fd506b27c11a6607f14b49101e99 +size 175629 diff --git a/zopfli-0.2.3.zip b/zopfli-0.2.3.zip new file mode 100644 index 0000000..e7aaa02 --- /dev/null +++ b/zopfli-0.2.3.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbc9841bedd736041eb5e6982cd92da93bee145745f5422f3795f6f258cdc6ef +size 205354