Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zopfli for openSUSE:Factory 
checked in at 2022-12-16 17:51:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zopfli (Old)
 and      /work/SRC/openSUSE:Factory/.python-zopfli.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zopfli"

Fri Dec 16 17:51:00 2022 rev:3 rq:1043091 version:0.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zopfli/python-zopfli.changes      
2021-07-12 21:41:12.207651628 +0200
+++ /work/SRC/openSUSE:Factory/.python-zopfli.new.1835/python-zopfli.changes    
2022-12-16 17:51:03.131819677 +0100
@@ -1,0 +2,22 @@
+Thu Dec 15 00:13:46 UTC 2022 - Torsten Gruner <simmpho...@opensuse.org>
+
+- 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.
+
+-------------------------------------------------------------------

Old:
----
  zopfli-0.1.8.zip

New:
----
  zopfli-0.2.2.zip

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-zopfli.spec ++++++
--- /var/tmp/diff_new_pack.0ry9YT/_old  2022-12-16 17:51:03.915823992 +0100
+++ /var/tmp/diff_new_pack.0ry9YT/_new  2022-12-16 17:51:03.919824014 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-zopfli
 #
-# Copyright (c) 2021 SUSE LLC
+# 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
@@ -16,17 +16,21 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-zopfli
-Version:        0.1.8
+Version:        0.2.2
 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}.zip
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module devel >= 3.7}
+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
 BuildRequires:  unzip
 %python_subpackages
@@ -38,19 +42,20 @@
 %setup -q -n zopfli-%{version}
 
 %build
-export CFLAGS="%{optflags}"
-%python_build
+export USE_SYSTEM_ZOPFLI=1
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-%pyunittest_arch
+%pytest_arch
 
 %files %{python_files}
 %doc README.rst
 %license COPYING
-%{python_sitearch}/*
+%{python_sitearch}/zopfli
+%{python_sitearch}/zopfli-%{version}*-info
 
 %changelog

Reply via email to