Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyheif for openSUSE:Factory 
checked in at 2023-05-20 17:24:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyheif (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyheif.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyheif"

Sat May 20 17:24:09 2023 rev:3 rq:1088039 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyheif/python-pyheif.changes      
2022-12-15 19:25:00.971991786 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyheif.new.1533/python-pyheif.changes    
2023-05-20 17:24:12.781747044 +0200
@@ -1,0 +2,6 @@
+Sat May 20 09:17:52 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Add pyheif-pr85-update-heif-h.patch gh#carsales/pyheif#85
+- Use PEP517 macros
+
+-------------------------------------------------------------------

New:
----
  pyheif-pr85-update-heif-h.patch

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

Other differences:
------------------
++++++ python-pyheif.spec ++++++
--- /var/tmp/diff_new_pack.k7AUyk/_old  2023-05-20 17:24:13.429750733 +0200
+++ /var/tmp/diff_new_pack.k7AUyk/_new  2023-05-20 17:24:13.433750755 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyheif
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
 #
 
 
-%define modname pyheif
-%define skip_python2 1
 %bcond_with x265
 Name:           python-pyheif
 Version:        0.7.1
@@ -26,36 +24,42 @@
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://pypi.org/project/pyheif/
-Source:         
https://github.com/carsales/%{modname}/archive/refs/tags/release-%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+Source:         
https://github.com/carsales/pyheif/archive/refs/tags/release-%{version}.tar.gz#/pyheif-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM pyheif-pr85-update-heif-h.patch gh#carsales/pyheif#85
+Patch0:         pyheif-pr85-update-heif-h.patch
 # PATCH-FIX-OPENSUSE remove-piexif.patch -- don't check exif tags with piexif, 
we don't have it, c...@bnavigator.de
-Patch0:         remove-piexif.patch
+Patch1:         remove-piexif.patch
 # PATCH-FIX-OPENSUSE dont-test-x265-files.patch c...@bnavigator.de
-Patch1:         dont-test-x265-files.patch
+Patch2:         dont-test-x265-files.patch
 BuildRequires:  %{python_module Pillow >= 7.1}
-BuildRequires:  %{python_module cffi}
+BuildRequires:  %{python_module cffi >= 1.0.0}
 BuildRequires:  %{python_module devel >= 3.6}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
-BuildRequires:  libheif-devel
+BuildRequires:  libheif-devel >= 1.16
 BuildRequires:  python-rpm-macros
+Requires:       python-cffi >= 1.0.0
 %python_subpackages
 
 %description
 libheif allows conversion of HEIC format images to other formats such as JPEG. 
pyheif is a python wrapper for libheif
 
 %prep
-%setup -q -n %{modname}-release-%{version}
+%setup -q -n pyheif-release-%{version}
 %patch0 -p1
-%if !%{with x265}
 %patch1 -p1
+%if !%{with x265}
+%patch2 -p1
 %endif
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
@@ -64,7 +68,7 @@
 %files %{python_files}
 %doc README.md
 %{python_sitearch}/_libheif_cffi.*.so
-%{python_sitearch}/%{modname}
-%{python_sitearch}/%{modname}-%{version}*-info
+%{python_sitearch}/pyheif
+%{python_sitearch}/pyheif-%{version}.dist-info
 
 %changelog

++++++ pyheif-pr85-update-heif-h.patch ++++++
++++ 1833 lines (skipped)

Reply via email to