pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/py-pillow_heif



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Mar 16 12:58:12 UTC 2025

Modified Files:
        pkgsrc/graphics/py-pillow_heif: Makefile distinfo
        pkgsrc/graphics/py-pillow_heif/patches:
            patch-libheif_linux__build__libs.py

Log Message:
py-pillow_heif: update to 0.22.0.

## [0.22.0 - 2025-03-15]

### Added

- Boolean `pillow_heif.options.DISABLE_SECURITY_LIMITS` to bypass security limit of libheif for the image size. #328

### Changed

- `libx265` library was updated to the latest `4.1` version.
- `libheif` was updated from the `1.19.5` to `1.19.7` version.
- `AVIF` format marked as deprecated and pending for the removal.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/graphics/py-pillow_heif/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/graphics/py-pillow_heif/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/graphics/py-pillow_heif/patches/patch-libheif_linux__build__libs.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-pillow_heif/Makefile
diff -u pkgsrc/graphics/py-pillow_heif/Makefile:1.23 pkgsrc/graphics/py-pillow_heif/Makefile:1.24
--- pkgsrc/graphics/py-pillow_heif/Makefile:1.23        Tue Feb 18 10:33:21 2025
+++ pkgsrc/graphics/py-pillow_heif/Makefile     Sun Mar 16 12:58:12 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2025/02/18 10:33:21 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2025/03/16 12:58:12 wiz Exp $
 
-DISTNAME=      pillow_heif-0.21.0
+DISTNAME=      pillow_heif-0.22.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pillow_heif/}
 
@@ -14,8 +13,8 @@ LICENSE=      gnu-gpl-v2
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=67.8:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-Pillow>=10.1.0:../../graphics/py-Pillow
 
-# as of 0.21.0
-# 1 failed, 608 passed, 12 skipped, 69 warnings
+# as of 0.22.0
+# 610 passed, 12 skipped, 69 warnings
 
 .include "../../lang/python/wheel.mk"
 BUILDLINK_API_DEPENDS.libheif+=        libheif>=1.17.6

Index: pkgsrc/graphics/py-pillow_heif/distinfo
diff -u pkgsrc/graphics/py-pillow_heif/distinfo:1.14 pkgsrc/graphics/py-pillow_heif/distinfo:1.15
--- pkgsrc/graphics/py-pillow_heif/distinfo:1.14        Fri Dec  6 21:35:32 2024
+++ pkgsrc/graphics/py-pillow_heif/distinfo     Sun Mar 16 12:58:12 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2024/12/06 21:35:32 wiz Exp $
+$NetBSD: distinfo,v 1.15 2025/03/16 12:58:12 wiz Exp $
 
-BLAKE2s (pillow_heif-0.21.0.tar.gz) = 2346268a375fd84e54e0afc61c116ea136580e199f52261c6f0515658db35d37
-SHA512 (pillow_heif-0.21.0.tar.gz) = 9683b3eea9ea4dc0730bfab2e1163545ea31719b62cfd90a4f58aaf7ab401aef27afb7b9458c93daf9e5fa445b8f7f1ec3b3174fa9ae44513d9baaa10e777913
-Size (pillow_heif-0.21.0.tar.gz) = 16178019 bytes
-SHA1 (patch-libheif_linux__build__libs.py) = 27a9b7e53305fd8a9e77307416349fd9f0c834f4
+BLAKE2s (pillow_heif-0.22.0.tar.gz) = b67f210b03df722c8ab012a0ce47cc24e210539f7931beea9ac9c0f5399c0491
+SHA512 (pillow_heif-0.22.0.tar.gz) = 072de5e3afbfb373e36b51898f67e12d1abcd9a391e33b2dafe19372bb0f3ffca20ab1a7f7f8dcd0dc163a7c8aee27040613deb5d2adba0fd3b6c774cbff8c85
+Size (pillow_heif-0.22.0.tar.gz) = 18551571 bytes
+SHA1 (patch-libheif_linux__build__libs.py) = 507dfa875b23e2d05df884699c488e3113791e6c

Index: pkgsrc/graphics/py-pillow_heif/patches/patch-libheif_linux__build__libs.py
diff -u pkgsrc/graphics/py-pillow_heif/patches/patch-libheif_linux__build__libs.py:1.1 pkgsrc/graphics/py-pillow_heif/patches/patch-libheif_linux__build__libs.py:1.2
--- pkgsrc/graphics/py-pillow_heif/patches/patch-libheif_linux__build__libs.py:1.1      Thu Mar  9 06:55:30 2023
+++ pkgsrc/graphics/py-pillow_heif/patches/patch-libheif_linux__build__libs.py  Sun Mar 16 12:58:12 2025
@@ -1,22 +1,22 @@
-$NetBSD: patch-libheif_linux__build__libs.py,v 1.1 2023/03/09 06:55:30 wiz Exp $
+$NetBSD: patch-libheif_linux__build__libs.py,v 1.2 2025/03/16 12:58:12 wiz Exp $
 
 Skip detection and build of libraries - provided by pkgsrc.
 
---- libheif/linux_build_libs.py.orig   2023-02-24 09:04:12.000000000 +0000
+--- libheif/linux_build_libs.py.orig   2025-03-15 12:49:10.000000000 +0000
 +++ libheif/linux_build_libs.py
 @@ -77,6 +77,7 @@ def tool_check_version(name: str, min_ve
  
  
  def check_install_nasm(version: str):
 +    return True
-     if not match("(i[3-6]86|x86_64)$", machine()):
+     if not match(r"(i[3-6]86|x86_64)$", machine()):
          return True
      if tool_check_version("nasm", version):
-@@ -105,6 +106,7 @@ def is_musllinux() -> bool:
+@@ -103,6 +104,7 @@ def is_musllinux() -> bool:
  
  
  def is_library_installed(name: str) -> bool:
 +    return True
      if name.find("main") != -1 and name.find("reference") != -1:
          raise Exception("`name` param can not contain `main` and `reference` substrings.")
-     _r = run(f"gcc -l{name}".split(), stdout=PIPE, stderr=STDOUT, check=False)
+     result = run(f"gcc -l{name}".split(), stdout=PIPE, stderr=STDOUT, check=False)



Home | Main Index | Thread Index | Old Index