pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/py-Willow



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr 11 06:30:41 UTC 2023

Modified Files:
        pkgsrc/graphics/py-Willow: Makefile PLIST distinfo

Log Message:
py-Willow: updated to 1.5

1.5

Drop support for Python versions below 3.7
Drop support for Pillow versions below 9.1 and fix Pillow 10 deprecation warnings (Alex Tomkins)
Replace deprecated imghdr with filetype. This allows detecting newer image formats such as HEIC (Herbert Poul)
Add SVG support (Joshua Munn)
Add HEIF support via the pillow-heif library (Alexander Piskun)


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/graphics/py-Willow/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/py-Willow/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/py-Willow/distinfo

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-Willow/Makefile
diff -u pkgsrc/graphics/py-Willow/Makefile:1.11 pkgsrc/graphics/py-Willow/Makefile:1.12
--- pkgsrc/graphics/py-Willow/Makefile:1.11     Wed Mar 15 13:57:08 2023
+++ pkgsrc/graphics/py-Willow/Makefile  Tue Apr 11 06:30:41 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2023/03/15 13:57:08 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2023/04/11 06:30:41 adam Exp $
 
-DISTNAME=      Willow-1.4.1
+DISTNAME=      Willow-1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=W/Willow/}
 
@@ -11,12 +10,17 @@ HOMEPAGE=   https://github.com/wagtail/Wil
 COMMENT=       Wrapper library for Pillow, OpenCV and Wand
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-wand-[0-9]*:../../graphics/py-wand
-DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-Pillow>=9.1.0:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-defusedxml>=0.7:../../textproc/py-defusedxml
+DEPENDS+=      ${PYPKGPREFIX}-filetype>=1.1.1:../../sysutils/py-filetype
+DEPENDS+=      ${PYPKGPREFIX}-wand>=0.6:../../graphics/py-wand
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.0:../../devel/py-mock
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest tests/*.py
+
 .include "../../graphics/opencv/buildlink3.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/graphics/py-Willow/PLIST
diff -u pkgsrc/graphics/py-Willow/PLIST:1.2 pkgsrc/graphics/py-Willow/PLIST:1.3
--- pkgsrc/graphics/py-Willow/PLIST:1.2 Mon May  2 08:43:30 2022
+++ pkgsrc/graphics/py-Willow/PLIST     Tue Apr 11 06:30:41 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2022/05/02 08:43:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/04/11 06:30:41 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -27,6 +27,9 @@ ${PYSITELIB}/willow/plugins/wand.pyo
 ${PYSITELIB}/willow/registry.py
 ${PYSITELIB}/willow/registry.pyc
 ${PYSITELIB}/willow/registry.pyo
+${PYSITELIB}/willow/svg.py
+${PYSITELIB}/willow/svg.pyc
+${PYSITELIB}/willow/svg.pyo
 ${PYSITELIB}/willow/utils/__init__.py
 ${PYSITELIB}/willow/utils/__init__.pyc
 ${PYSITELIB}/willow/utils/__init__.pyo

Index: pkgsrc/graphics/py-Willow/distinfo
diff -u pkgsrc/graphics/py-Willow/distinfo:1.4 pkgsrc/graphics/py-Willow/distinfo:1.5
--- pkgsrc/graphics/py-Willow/distinfo:1.4      Mon May  2 08:43:30 2022
+++ pkgsrc/graphics/py-Willow/distinfo  Tue Apr 11 06:30:41 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2022/05/02 08:43:30 adam Exp $
+$NetBSD: distinfo,v 1.5 2023/04/11 06:30:41 adam Exp $
 
-BLAKE2s (Willow-1.4.1.tar.gz) = 9e609cd906e5f17f2d4d67dfc73c46bde854a0d588c8091356613023f8e87f84
-SHA512 (Willow-1.4.1.tar.gz) = d02ec92342af16b5ac4c501316974146ba628818422ddb9236b73c69464b52489b2a41834acbe97e0670ce5a6499b386d78a401d7957ff462645de244876abb4
-Size (Willow-1.4.1.tar.gz) = 103868 bytes
+BLAKE2s (Willow-1.5.tar.gz) = 6a74398e73cca0ad3863d1692867ac3c87f5b20c9091c406bbb85557e2179599
+SHA512 (Willow-1.5.tar.gz) = 729d50084c991bd6c815da3b1aeb425e7ce75dabc83890f642fe715ca7ea817453fdcbd2661509fdf126e3c54c1d0a57b40dd6f02a4337ca95bcfcaf305428d6
+Size (Willow-1.5.tar.gz) = 119748 bytes



Home | Main Index | Thread Index | Old Index