pamela 3478840ab4 Import py-blurhash, a python implementation of the blurhash algorithm,
used by the mastodon software to hide sensitive images using compact
placeholders.

OK kmos phessler
2020-09-13 03:15:53 +00:00

31 lines
610 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/09/13 03:15:53 pamela Exp $
COMMENT = python implementation of the blurhash algorithm
MODPY_EGG_VERSION = 1.1.4
DISTNAME = blurhash-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = graphics
HOMEPAGE = https://github.com/halcy/blurhash-python
MAINTAINER = Pamela Mosiejczuk <pamela@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
TEST_DEPENDS = graphics/py-Pillow${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR = python3
.include <bsd.port.mk>