pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/py-Pillow



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug  1 14:51:15 UTC 2022

Modified Files:
        pkgsrc/graphics/py-Pillow: distinfo
        pkgsrc/graphics/py-Pillow/patches: patch-setup.py

Log Message:
py-Pillow: improve zlib detection workaround

It started failing for me, I don't understand why - improve the existing
workaround.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/graphics/py-Pillow/distinfo
cvs rdiff -u -r1.23 -r1.24 pkgsrc/graphics/py-Pillow/patches/patch-setup.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/distinfo
diff -u pkgsrc/graphics/py-Pillow/distinfo:1.53 pkgsrc/graphics/py-Pillow/distinfo:1.54
--- pkgsrc/graphics/py-Pillow/distinfo:1.53     Tue Jul 12 09:20:40 2022
+++ pkgsrc/graphics/py-Pillow/distinfo  Mon Aug  1 14:51:15 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.53 2022/07/12 09:20:40 adam Exp $
+$NetBSD: distinfo,v 1.54 2022/08/01 14:51:15 wiz Exp $
 
 BLAKE2s (Pillow-9.2.0.tar.gz) = 293324645e1578d6087cc467cd5770c5a34a9761d42bb6c140cfa397b31d73d7
 SHA512 (Pillow-9.2.0.tar.gz) = 79d48a932d1b8e0cb7ff528a3fee0291e1dfad1af58eb1efdad75ff6103611a48924adccd30c9e4ff325c4a3df8c621b56c87b65988e4c894b9abe55ff42eb34
 Size (Pillow-9.2.0.tar.gz) = 50017840 bytes
-SHA1 (patch-setup.py) = 11d48f7a21088eeb304fb88571d6c0f6eccffdb6
+SHA1 (patch-setup.py) = 9e95214579d45b1a3230ea342ae8be82ed2d61c9

Index: pkgsrc/graphics/py-Pillow/patches/patch-setup.py
diff -u pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.23 pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.24
--- pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.23       Wed Mar 10 18:43:30 2021
+++ pkgsrc/graphics/py-Pillow/patches/patch-setup.py    Mon Aug  1 14:51:15 2022
@@ -1,15 +1,17 @@
-$NetBSD: patch-setup.py,v 1.23 2021/03/10 18:43:30 adam Exp $
+$NetBSD: patch-setup.py,v 1.24 2022/08/01 14:51:15 wiz Exp $
 
 Fix finding zlib.h.
 
---- setup.py.orig      2021-03-06 05:17:25.000000000 +0000
+--- setup.py.orig      2022-07-01 13:14:51.000000000 +0000
 +++ setup.py
-@@ -561,7 +561,7 @@ class pil_build_ext(build_ext):
+@@ -636,7 +636,9 @@ class pil_build_ext(build_ext):
  
          if feature.want("zlib"):
              _dbg("Looking for zlib")
 -            if _find_include_file(self, "zlib.h"):
-+            if True or _find_include_file(self, "zlib.h"):
++            if True:
++                feature.zlib = "z"
++            elif _find_include_file(self, "zlib.h"):
                  if _find_library_file(self, "z"):
                      feature.zlib = "z"
                  elif sys.platform == "win32" and _find_library_file(self, "zlib"):



Home | Main Index | Thread Index | Old Index