pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics
Module Name: pkgsrc
Committed By: adam
Date: Wed Mar 10 18:40:04 UTC 2021
Modified Files:
pkgsrc/graphics: Makefile
Added Files:
pkgsrc/graphics/py-Pillow6: DESCR Makefile PLIST distinfo
pkgsrc/graphics/py-Pillow6/patches: patch-setup.py
Log Message:
py-Pillow6: added version 6.2.2
Last version to support Python 2.7.
To generate a diff of this commit:
cvs rdiff -u -r1.926 -r1.927 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/py-Pillow6/DESCR \
pkgsrc/graphics/py-Pillow6/Makefile pkgsrc/graphics/py-Pillow6/PLIST \
pkgsrc/graphics/py-Pillow6/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/py-Pillow6/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/Makefile
diff -u pkgsrc/graphics/Makefile:1.926 pkgsrc/graphics/Makefile:1.927
--- pkgsrc/graphics/Makefile:1.926 Wed Feb 24 19:56:15 2021
+++ pkgsrc/graphics/Makefile Wed Mar 10 18:40:04 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.926 2021/02/24 19:56:15 markd Exp $
+# $NetBSD: Makefile,v 1.927 2021/03/10 18:40:04 adam Exp $
#
COMMENT= Graphics tools and libraries
@@ -469,6 +469,7 @@ SUBDIR+= ptex
SUBDIR+= py-OpenGL
SUBDIR+= py-OpenGL-accelerate
SUBDIR+= py-Pillow
+SUBDIR+= py-Pillow6
SUBDIR+= py-Willow
SUBDIR+= py-aafigure
SUBDIR+= py-actdiag
Added files:
Index: pkgsrc/graphics/py-Pillow6/DESCR
diff -u /dev/null pkgsrc/graphics/py-Pillow6/DESCR:1.1
--- /dev/null Wed Mar 10 18:40:04 2021
+++ pkgsrc/graphics/py-Pillow6/DESCR Wed Mar 10 18:40:04 2021
@@ -0,0 +1,4 @@
+Pillow is the "friendly" PIL fork.
+The Python Imaging Library (PIL) adds image processing capabilities to your
+Python environment. This library provides extensive file format support, an
+efficient internal representation, and powerful image processing capabilities.
Index: pkgsrc/graphics/py-Pillow6/Makefile
diff -u /dev/null pkgsrc/graphics/py-Pillow6/Makefile:1.1
--- /dev/null Wed Mar 10 18:40:04 2021
+++ pkgsrc/graphics/py-Pillow6/Makefile Wed Mar 10 18:40:04 2021
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2021/03/10 18:40:04 adam Exp $
+
+DISTNAME= Pillow-6.2.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= graphics python
+MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://python-pillow.org/
+COMMENT= Python Imaging Library (Fork)
+LICENSE= hpnd
+
+USE_TOOLS+= pkg-config
+
+CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]*
+
+DEPENDS+= ${PYPKGPREFIX}-olefile-[0-9]*:../../devel/py-olefile
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/lcms2/buildlink3.mk"
+.include "../../graphics/libimagequant/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../graphics/openjpeg/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/py-Pillow6/PLIST
diff -u /dev/null pkgsrc/graphics/py-Pillow6/PLIST:1.1
--- /dev/null Wed Mar 10 18:40:04 2021
+++ pkgsrc/graphics/py-Pillow6/PLIST Wed Mar 10 18:40:04 2021
@@ -0,0 +1,289 @@
+@comment $NetBSD: PLIST,v 1.1 2021/03/10 18:40:04 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/PIL/BdfFontFile.py
+${PYSITELIB}/PIL/BdfFontFile.pyc
+${PYSITELIB}/PIL/BdfFontFile.pyo
+${PYSITELIB}/PIL/BlpImagePlugin.py
+${PYSITELIB}/PIL/BlpImagePlugin.pyc
+${PYSITELIB}/PIL/BlpImagePlugin.pyo
+${PYSITELIB}/PIL/BmpImagePlugin.py
+${PYSITELIB}/PIL/BmpImagePlugin.pyc
+${PYSITELIB}/PIL/BmpImagePlugin.pyo
+${PYSITELIB}/PIL/BufrStubImagePlugin.py
+${PYSITELIB}/PIL/BufrStubImagePlugin.pyc
+${PYSITELIB}/PIL/BufrStubImagePlugin.pyo
+${PYSITELIB}/PIL/ContainerIO.py
+${PYSITELIB}/PIL/ContainerIO.pyc
+${PYSITELIB}/PIL/ContainerIO.pyo
+${PYSITELIB}/PIL/CurImagePlugin.py
+${PYSITELIB}/PIL/CurImagePlugin.pyc
+${PYSITELIB}/PIL/CurImagePlugin.pyo
+${PYSITELIB}/PIL/DcxImagePlugin.py
+${PYSITELIB}/PIL/DcxImagePlugin.pyc
+${PYSITELIB}/PIL/DcxImagePlugin.pyo
+${PYSITELIB}/PIL/DdsImagePlugin.py
+${PYSITELIB}/PIL/DdsImagePlugin.pyc
+${PYSITELIB}/PIL/DdsImagePlugin.pyo
+${PYSITELIB}/PIL/EpsImagePlugin.py
+${PYSITELIB}/PIL/EpsImagePlugin.pyc
+${PYSITELIB}/PIL/EpsImagePlugin.pyo
+${PYSITELIB}/PIL/ExifTags.py
+${PYSITELIB}/PIL/ExifTags.pyc
+${PYSITELIB}/PIL/ExifTags.pyo
+${PYSITELIB}/PIL/FitsStubImagePlugin.py
+${PYSITELIB}/PIL/FitsStubImagePlugin.pyc
+${PYSITELIB}/PIL/FitsStubImagePlugin.pyo
+${PYSITELIB}/PIL/FliImagePlugin.py
+${PYSITELIB}/PIL/FliImagePlugin.pyc
+${PYSITELIB}/PIL/FliImagePlugin.pyo
+${PYSITELIB}/PIL/FontFile.py
+${PYSITELIB}/PIL/FontFile.pyc
+${PYSITELIB}/PIL/FontFile.pyo
+${PYSITELIB}/PIL/FpxImagePlugin.py
+${PYSITELIB}/PIL/FpxImagePlugin.pyc
+${PYSITELIB}/PIL/FpxImagePlugin.pyo
+${PYSITELIB}/PIL/FtexImagePlugin.py
+${PYSITELIB}/PIL/FtexImagePlugin.pyc
+${PYSITELIB}/PIL/FtexImagePlugin.pyo
+${PYSITELIB}/PIL/GbrImagePlugin.py
+${PYSITELIB}/PIL/GbrImagePlugin.pyc
+${PYSITELIB}/PIL/GbrImagePlugin.pyo
+${PYSITELIB}/PIL/GdImageFile.py
+${PYSITELIB}/PIL/GdImageFile.pyc
+${PYSITELIB}/PIL/GdImageFile.pyo
+${PYSITELIB}/PIL/GifImagePlugin.py
+${PYSITELIB}/PIL/GifImagePlugin.pyc
+${PYSITELIB}/PIL/GifImagePlugin.pyo
+${PYSITELIB}/PIL/GimpGradientFile.py
+${PYSITELIB}/PIL/GimpGradientFile.pyc
+${PYSITELIB}/PIL/GimpGradientFile.pyo
+${PYSITELIB}/PIL/GimpPaletteFile.py
+${PYSITELIB}/PIL/GimpPaletteFile.pyc
+${PYSITELIB}/PIL/GimpPaletteFile.pyo
+${PYSITELIB}/PIL/GribStubImagePlugin.py
+${PYSITELIB}/PIL/GribStubImagePlugin.pyc
+${PYSITELIB}/PIL/GribStubImagePlugin.pyo
+${PYSITELIB}/PIL/Hdf5StubImagePlugin.py
+${PYSITELIB}/PIL/Hdf5StubImagePlugin.pyc
+${PYSITELIB}/PIL/Hdf5StubImagePlugin.pyo
+${PYSITELIB}/PIL/IcnsImagePlugin.py
+${PYSITELIB}/PIL/IcnsImagePlugin.pyc
+${PYSITELIB}/PIL/IcnsImagePlugin.pyo
+${PYSITELIB}/PIL/IcoImagePlugin.py
+${PYSITELIB}/PIL/IcoImagePlugin.pyc
+${PYSITELIB}/PIL/IcoImagePlugin.pyo
+${PYSITELIB}/PIL/ImImagePlugin.py
+${PYSITELIB}/PIL/ImImagePlugin.pyc
+${PYSITELIB}/PIL/ImImagePlugin.pyo
+${PYSITELIB}/PIL/Image.py
+${PYSITELIB}/PIL/Image.pyc
+${PYSITELIB}/PIL/Image.pyo
+${PYSITELIB}/PIL/ImageChops.py
+${PYSITELIB}/PIL/ImageChops.pyc
+${PYSITELIB}/PIL/ImageChops.pyo
+${PYSITELIB}/PIL/ImageCms.py
+${PYSITELIB}/PIL/ImageCms.pyc
+${PYSITELIB}/PIL/ImageCms.pyo
+${PYSITELIB}/PIL/ImageColor.py
+${PYSITELIB}/PIL/ImageColor.pyc
+${PYSITELIB}/PIL/ImageColor.pyo
+${PYSITELIB}/PIL/ImageDraw.py
+${PYSITELIB}/PIL/ImageDraw.pyc
+${PYSITELIB}/PIL/ImageDraw.pyo
+${PYSITELIB}/PIL/ImageDraw2.py
+${PYSITELIB}/PIL/ImageDraw2.pyc
+${PYSITELIB}/PIL/ImageDraw2.pyo
+${PYSITELIB}/PIL/ImageEnhance.py
+${PYSITELIB}/PIL/ImageEnhance.pyc
+${PYSITELIB}/PIL/ImageEnhance.pyo
+${PYSITELIB}/PIL/ImageFile.py
+${PYSITELIB}/PIL/ImageFile.pyc
+${PYSITELIB}/PIL/ImageFile.pyo
+${PYSITELIB}/PIL/ImageFilter.py
+${PYSITELIB}/PIL/ImageFilter.pyc
+${PYSITELIB}/PIL/ImageFilter.pyo
+${PYSITELIB}/PIL/ImageFont.py
+${PYSITELIB}/PIL/ImageFont.pyc
+${PYSITELIB}/PIL/ImageFont.pyo
+${PYSITELIB}/PIL/ImageGrab.py
+${PYSITELIB}/PIL/ImageGrab.pyc
+${PYSITELIB}/PIL/ImageGrab.pyo
+${PYSITELIB}/PIL/ImageMath.py
+${PYSITELIB}/PIL/ImageMath.pyc
+${PYSITELIB}/PIL/ImageMath.pyo
+${PYSITELIB}/PIL/ImageMode.py
+${PYSITELIB}/PIL/ImageMode.pyc
+${PYSITELIB}/PIL/ImageMode.pyo
+${PYSITELIB}/PIL/ImageMorph.py
+${PYSITELIB}/PIL/ImageMorph.pyc
+${PYSITELIB}/PIL/ImageMorph.pyo
+${PYSITELIB}/PIL/ImageOps.py
+${PYSITELIB}/PIL/ImageOps.pyc
+${PYSITELIB}/PIL/ImageOps.pyo
+${PYSITELIB}/PIL/ImagePalette.py
+${PYSITELIB}/PIL/ImagePalette.pyc
+${PYSITELIB}/PIL/ImagePalette.pyo
+${PYSITELIB}/PIL/ImagePath.py
+${PYSITELIB}/PIL/ImagePath.pyc
+${PYSITELIB}/PIL/ImagePath.pyo
+${PYSITELIB}/PIL/ImageQt.py
+${PYSITELIB}/PIL/ImageQt.pyc
+${PYSITELIB}/PIL/ImageQt.pyo
+${PYSITELIB}/PIL/ImageSequence.py
+${PYSITELIB}/PIL/ImageSequence.pyc
+${PYSITELIB}/PIL/ImageSequence.pyo
+${PYSITELIB}/PIL/ImageShow.py
+${PYSITELIB}/PIL/ImageShow.pyc
+${PYSITELIB}/PIL/ImageShow.pyo
+${PYSITELIB}/PIL/ImageStat.py
+${PYSITELIB}/PIL/ImageStat.pyc
+${PYSITELIB}/PIL/ImageStat.pyo
+${PYSITELIB}/PIL/ImageTk.py
+${PYSITELIB}/PIL/ImageTk.pyc
+${PYSITELIB}/PIL/ImageTk.pyo
+${PYSITELIB}/PIL/ImageTransform.py
+${PYSITELIB}/PIL/ImageTransform.pyc
+${PYSITELIB}/PIL/ImageTransform.pyo
+${PYSITELIB}/PIL/ImageWin.py
+${PYSITELIB}/PIL/ImageWin.pyc
+${PYSITELIB}/PIL/ImageWin.pyo
+${PYSITELIB}/PIL/ImtImagePlugin.py
+${PYSITELIB}/PIL/ImtImagePlugin.pyc
+${PYSITELIB}/PIL/ImtImagePlugin.pyo
+${PYSITELIB}/PIL/IptcImagePlugin.py
+${PYSITELIB}/PIL/IptcImagePlugin.pyc
+${PYSITELIB}/PIL/IptcImagePlugin.pyo
+${PYSITELIB}/PIL/Jpeg2KImagePlugin.py
+${PYSITELIB}/PIL/Jpeg2KImagePlugin.pyc
+${PYSITELIB}/PIL/Jpeg2KImagePlugin.pyo
+${PYSITELIB}/PIL/JpegImagePlugin.py
+${PYSITELIB}/PIL/JpegImagePlugin.pyc
+${PYSITELIB}/PIL/JpegImagePlugin.pyo
+${PYSITELIB}/PIL/JpegPresets.py
+${PYSITELIB}/PIL/JpegPresets.pyc
+${PYSITELIB}/PIL/JpegPresets.pyo
+${PYSITELIB}/PIL/McIdasImagePlugin.py
+${PYSITELIB}/PIL/McIdasImagePlugin.pyc
+${PYSITELIB}/PIL/McIdasImagePlugin.pyo
+${PYSITELIB}/PIL/MicImagePlugin.py
+${PYSITELIB}/PIL/MicImagePlugin.pyc
+${PYSITELIB}/PIL/MicImagePlugin.pyo
+${PYSITELIB}/PIL/MpegImagePlugin.py
+${PYSITELIB}/PIL/MpegImagePlugin.pyc
+${PYSITELIB}/PIL/MpegImagePlugin.pyo
+${PYSITELIB}/PIL/MpoImagePlugin.py
+${PYSITELIB}/PIL/MpoImagePlugin.pyc
+${PYSITELIB}/PIL/MpoImagePlugin.pyo
+${PYSITELIB}/PIL/MspImagePlugin.py
+${PYSITELIB}/PIL/MspImagePlugin.pyc
+${PYSITELIB}/PIL/MspImagePlugin.pyo
+${PYSITELIB}/PIL/PSDraw.py
+${PYSITELIB}/PIL/PSDraw.pyc
+${PYSITELIB}/PIL/PSDraw.pyo
+${PYSITELIB}/PIL/PaletteFile.py
+${PYSITELIB}/PIL/PaletteFile.pyc
+${PYSITELIB}/PIL/PaletteFile.pyo
+${PYSITELIB}/PIL/PalmImagePlugin.py
+${PYSITELIB}/PIL/PalmImagePlugin.pyc
+${PYSITELIB}/PIL/PalmImagePlugin.pyo
+${PYSITELIB}/PIL/PcdImagePlugin.py
+${PYSITELIB}/PIL/PcdImagePlugin.pyc
+${PYSITELIB}/PIL/PcdImagePlugin.pyo
+${PYSITELIB}/PIL/PcfFontFile.py
+${PYSITELIB}/PIL/PcfFontFile.pyc
+${PYSITELIB}/PIL/PcfFontFile.pyo
+${PYSITELIB}/PIL/PcxImagePlugin.py
+${PYSITELIB}/PIL/PcxImagePlugin.pyc
+${PYSITELIB}/PIL/PcxImagePlugin.pyo
+${PYSITELIB}/PIL/PdfImagePlugin.py
+${PYSITELIB}/PIL/PdfImagePlugin.pyc
+${PYSITELIB}/PIL/PdfImagePlugin.pyo
+${PYSITELIB}/PIL/PdfParser.py
+${PYSITELIB}/PIL/PdfParser.pyc
+${PYSITELIB}/PIL/PdfParser.pyo
+${PYSITELIB}/PIL/PixarImagePlugin.py
+${PYSITELIB}/PIL/PixarImagePlugin.pyc
+${PYSITELIB}/PIL/PixarImagePlugin.pyo
+${PYSITELIB}/PIL/PngImagePlugin.py
+${PYSITELIB}/PIL/PngImagePlugin.pyc
+${PYSITELIB}/PIL/PngImagePlugin.pyo
+${PYSITELIB}/PIL/PpmImagePlugin.py
+${PYSITELIB}/PIL/PpmImagePlugin.pyc
+${PYSITELIB}/PIL/PpmImagePlugin.pyo
+${PYSITELIB}/PIL/PsdImagePlugin.py
+${PYSITELIB}/PIL/PsdImagePlugin.pyc
+${PYSITELIB}/PIL/PsdImagePlugin.pyo
+${PYSITELIB}/PIL/PyAccess.py
+${PYSITELIB}/PIL/PyAccess.pyc
+${PYSITELIB}/PIL/PyAccess.pyo
+${PYSITELIB}/PIL/SgiImagePlugin.py
+${PYSITELIB}/PIL/SgiImagePlugin.pyc
+${PYSITELIB}/PIL/SgiImagePlugin.pyo
+${PYSITELIB}/PIL/SpiderImagePlugin.py
+${PYSITELIB}/PIL/SpiderImagePlugin.pyc
+${PYSITELIB}/PIL/SpiderImagePlugin.pyo
+${PYSITELIB}/PIL/SunImagePlugin.py
+${PYSITELIB}/PIL/SunImagePlugin.pyc
+${PYSITELIB}/PIL/SunImagePlugin.pyo
+${PYSITELIB}/PIL/TarIO.py
+${PYSITELIB}/PIL/TarIO.pyc
+${PYSITELIB}/PIL/TarIO.pyo
+${PYSITELIB}/PIL/TgaImagePlugin.py
+${PYSITELIB}/PIL/TgaImagePlugin.pyc
+${PYSITELIB}/PIL/TgaImagePlugin.pyo
+${PYSITELIB}/PIL/TiffImagePlugin.py
+${PYSITELIB}/PIL/TiffImagePlugin.pyc
+${PYSITELIB}/PIL/TiffImagePlugin.pyo
+${PYSITELIB}/PIL/TiffTags.py
+${PYSITELIB}/PIL/TiffTags.pyc
+${PYSITELIB}/PIL/TiffTags.pyo
+${PYSITELIB}/PIL/WalImageFile.py
+${PYSITELIB}/PIL/WalImageFile.pyc
+${PYSITELIB}/PIL/WalImageFile.pyo
+${PYSITELIB}/PIL/WebPImagePlugin.py
+${PYSITELIB}/PIL/WebPImagePlugin.pyc
+${PYSITELIB}/PIL/WebPImagePlugin.pyo
+${PYSITELIB}/PIL/WmfImagePlugin.py
+${PYSITELIB}/PIL/WmfImagePlugin.pyc
+${PYSITELIB}/PIL/WmfImagePlugin.pyo
+${PYSITELIB}/PIL/XVThumbImagePlugin.py
+${PYSITELIB}/PIL/XVThumbImagePlugin.pyc
+${PYSITELIB}/PIL/XVThumbImagePlugin.pyo
+${PYSITELIB}/PIL/XbmImagePlugin.py
+${PYSITELIB}/PIL/XbmImagePlugin.pyc
+${PYSITELIB}/PIL/XbmImagePlugin.pyo
+${PYSITELIB}/PIL/XpmImagePlugin.py
+${PYSITELIB}/PIL/XpmImagePlugin.pyc
+${PYSITELIB}/PIL/XpmImagePlugin.pyo
+${PYSITELIB}/PIL/__init__.py
+${PYSITELIB}/PIL/__init__.pyc
+${PYSITELIB}/PIL/__init__.pyo
+${PYSITELIB}/PIL/__main__.py
+${PYSITELIB}/PIL/__main__.pyc
+${PYSITELIB}/PIL/__main__.pyo
+${PYSITELIB}/PIL/_binary.py
+${PYSITELIB}/PIL/_binary.pyc
+${PYSITELIB}/PIL/_binary.pyo
+${PYSITELIB}/PIL/_imaging.so
+${PYSITELIB}/PIL/_imagingcms.so
+${PYSITELIB}/PIL/_imagingft.so
+${PYSITELIB}/PIL/_imagingmath.so
+${PYSITELIB}/PIL/_imagingmorph.so
+${PYSITELIB}/PIL/_imagingtk.so
+${PYSITELIB}/PIL/_tkinter_finder.py
+${PYSITELIB}/PIL/_tkinter_finder.pyc
+${PYSITELIB}/PIL/_tkinter_finder.pyo
+${PYSITELIB}/PIL/_util.py
+${PYSITELIB}/PIL/_util.pyc
+${PYSITELIB}/PIL/_util.pyo
+${PYSITELIB}/PIL/_version.py
+${PYSITELIB}/PIL/_version.pyc
+${PYSITELIB}/PIL/_version.pyo
+${PYSITELIB}/PIL/_webp.so
+${PYSITELIB}/PIL/features.py
+${PYSITELIB}/PIL/features.pyc
+${PYSITELIB}/PIL/features.pyo
Index: pkgsrc/graphics/py-Pillow6/distinfo
diff -u /dev/null pkgsrc/graphics/py-Pillow6/distinfo:1.1
--- /dev/null Wed Mar 10 18:40:04 2021
+++ pkgsrc/graphics/py-Pillow6/distinfo Wed Mar 10 18:40:04 2021
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/03/10 18:40:04 adam Exp $
+
+SHA1 (Pillow-6.2.2.tar.gz) = ed3cbafdb982cd55ca8bb726a3a76e7be89ea61c
+RMD160 (Pillow-6.2.2.tar.gz) = 22b39d6d4dff18415340df080e1b598ee204a97e
+SHA512 (Pillow-6.2.2.tar.gz) = 517c971d4fb23a47466a7e8326c8c29291f7832d4521001c1898d6223ea25d4b0a8b7c8f7e78dd706f421229a8261b558b9fbdc43e47a0a2a7b2b4bbc1a21eff
+Size (Pillow-6.2.2.tar.gz) = 37811273 bytes
+SHA1 (patch-setup.py) = 5a7b2d56532e6688bfe1a0349d4c3136a7c26d2a
Index: pkgsrc/graphics/py-Pillow6/patches/patch-setup.py
diff -u /dev/null pkgsrc/graphics/py-Pillow6/patches/patch-setup.py:1.1
--- /dev/null Wed Mar 10 18:40:04 2021
+++ pkgsrc/graphics/py-Pillow6/patches/patch-setup.py Wed Mar 10 18:40:04 2021
@@ -0,0 +1,36 @@
+$NetBSD: patch-setup.py,v 1.1 2021/03/10 18:40:04 adam Exp $
+
+Disable mp_compile hack; it has problems with native parallel building.
+
+--- setup.py.orig 2019-10-20 09:47:22.000000000 +0000
++++ setup.py
+@@ -22,7 +22,6 @@ from setuptools import Extension, setup
+
+ # monkey patch import hook. Even though flake8 says it's not used, it is.
+ # comment this out to disable multi threaded builds.
+-import mp_compile
+
+ if sys.platform == "win32" and sys.version_info >= (3, 9):
+ warnings.warn(
+@@ -332,12 +331,6 @@ class pil_build_ext(build_ext):
+ if self.debug:
+ global DEBUG
+ DEBUG = True
+- if sys.version_info.major >= 3 and not self.parallel:
+- # For Python 2.7, we monkeypatch distutils to have parallel
+- # builds. If --parallel (or -j) wasn't specified, we want to
+- # reproduce the same behavior as before, that is, auto-detect the
+- # number of jobs.
+- self.parallel = mp_compile.MAX_PROCS
+ for x in self.feature:
+ if getattr(self, "disable_%s" % x):
+ setattr(self.feature, x, False)
+@@ -539,7 +532,7 @@ 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 _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