Skip to content

Commit

Permalink
graphics/py-wand: Update to 0.6.7
Browse files Browse the repository at this point in the history
- Allow graphics/ImageMagick{6,7}*
- Change the default ImageMagick from 6 to 7

Changes:	https://github.com/emcconville/wand/releases
  • Loading branch information
sunpoet committed Sep 19, 2021
1 parent 04c3d71 commit f12567a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
29 changes: 23 additions & 6 deletions graphics/py-wand/Makefile
@@ -1,5 +1,5 @@
PORTNAME= Wand
PORTVERSION= 0.4.5
PORTVERSION= 0.6.7
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -10,15 +10,32 @@ COMMENT= MagickWand Python binding
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6

USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

.include <bsd.port.pre.mk>
OPTIONS_DEFINE= X11
OPTIONS_SINGLE= IMAGEMAGICK
OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7
OPTIONS_DEFAULT=IMAGEMAGICK7 X11
IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick6*)
IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7*)

PYDISTUTILS_INSTALLARGS+= --install-data ${DATADIR}
.include <bsd.port.options.mk>

.include <bsd.port.post.mk>
.if ${PORT_OPTIONS:MX11}
.if ${PORT_OPTIONS:MIMAGEMAGICK7}
LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7
.else
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6
.endif
.else
.if ${PORT_OPTIONS:MIMAGEMAGICK7}
LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7-nox11
.else
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6-nox11
.endif
.endif

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions graphics/py-wand/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1542296080
SHA256 (Wand-0.4.5.tar.gz) = b40a2215545e8c7193b3fccd6e7251dc556ec9b878a4f67d992b056ff396bc65
SIZE (Wand-0.4.5.tar.gz) = 65854
TIMESTAMP = 1629364766
SHA256 (Wand-0.6.7.tar.gz) = ebc01bccc25dba68414ab55b482341f9ad2b197d7f49d5e724f339bbf63fb6db
SIZE (Wand-0.6.7.tar.gz) = 11686093
10 changes: 0 additions & 10 deletions graphics/py-wand/files/patch-setup.py

This file was deleted.

0 comments on commit f12567a

Please sign in to comment.