1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/graphics/py-willow/Makefile
Sunpoet Po-Chuan Hsieh 2e34e84ff6 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
2019-01-27 19:56:04 +00:00

34 lines
920 B
Makefile

# 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>