Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2019 19:56:04 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491381 - in head/graphics: . py-willow
Message-ID:  <201901271956.x0RJu46l012354@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan 27 19:56:04 2019
New Revision: 491381
URL: https://svnweb.freebsd.org/changeset/ports/491381

Log:
  Add py-willow 1.1
  
  Willow is a simple image library that combines the APIs of Pillow, Wand and
  OpenCV. It converts the image between the libraries when necessary.
  
  Willow currently has basic resize and crop operations, face and feature
  detection and animated GIF support. New operations and library integrations can
  also be easily implemented.
  
  It is written in pure-Python.
  
  WWW: https://github.com/wagtail/Willow

Added:
  head/graphics/py-willow/
  head/graphics/py-willow/Makefile   (contents, props changed)
  head/graphics/py-willow/distinfo   (contents, props changed)
  head/graphics/py-willow/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Jan 27 19:32:27 2019	(r491380)
+++ head/graphics/Makefile	Sun Jan 27 19:56:04 2019	(r491381)
@@ -890,6 +890,7 @@
     SUBDIR += py-traitsui
     SUBDIR += py-wand
     SUBDIR += py-webcolors
+    SUBDIR += py-willow
     SUBDIR += py-yaswfp
     SUBDIR += pygts
     SUBDIR += pymorph

Added: head/graphics/py-willow/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-willow/Makefile	Sun Jan 27 19:56:04 2019	(r491381)
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	willow
+PORTVERSION=	1.1
+CATEGORIES=	graphics python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	Willow-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Wrapper that combines multiple Python image libraries into one API
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+OPTIONS_MULTI=	BACKEND
+OPTIONS_MULTI_BACKEND=	PILLOW WAND OPENCV
+OPTIONS_DEFAULT=PILLOW
+OPENCV_DESC=	Use OpenCV as backend
+PILLOW_DESC=	Use Pillow as backend
+WAND_DESC=	Use Wand as backend
+
+OPENCV_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}opencv>=0:graphics/py-opencv@${PY_FLAVOR}
+PILLOW_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR}
+WAND_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wand>=0:graphics/py-wand@${PY_FLAVOR}
+
+.include <bsd.port.mk>

Added: head/graphics/py-willow/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-willow/distinfo	Sun Jan 27 19:56:04 2019	(r491381)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1548503185
+SHA256 (Willow-1.1.tar.gz) = 818ee11803c90a0a6d49c94b0453d6266be1ef83ae00de72731c45fae4d3e78c
+SIZE (Willow-1.1.tar.gz) = 101827

Added: head/graphics/py-willow/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-willow/pkg-descr	Sun Jan 27 19:56:04 2019	(r491381)
@@ -0,0 +1,10 @@
+Willow is a simple image library that combines the APIs of Pillow, Wand and
+OpenCV. It converts the image between the libraries when necessary.
+
+Willow currently has basic resize and crop operations, face and feature
+detection and animated GIF support. New operations and library integrations can
+also be easily implemented.
+
+It is written in pure-Python.
+
+WWW: https://github.com/wagtail/Willow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901271956.x0RJu46l012354>