forked from pool/python-zopfli
Accepting request 1043024 from home:Simmphonie:branches:devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/1043024 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zopfli?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 00:13:46 UTC 2022 - Torsten Gruner <simmphonie@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 12 11:54:56 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@@ -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 @@ Zopfli module for python
|
||||
%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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b977dc07e3797907ab59e08096583bcd0b7e6c739849fbbeec09263f6356623
|
||||
size 75707
|
BIN
zopfli-0.2.2.zip
(Stored with Git LFS)
Normal file
BIN
zopfli-0.2.2.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user