From e30a918475008bcbdc0fb8f14edee99e9b38909c Mon Sep 17 00:00:00 2001 From: nia Date: Thu, 5 Mar 2020 20:36:44 +0000 Subject: graphics: Add py-blurhash Pure-Python implementation of the blurhash algorithm. BlurHash is a compact representation of a placeholder for an image. --- graphics/py-blurhash/DESCR | 2 ++ graphics/py-blurhash/Makefile | 20 ++++++++++++++++++++ graphics/py-blurhash/PLIST | 12 ++++++++++++ graphics/py-blurhash/distinfo | 6 ++++++ 4 files changed, 40 insertions(+) create mode 100644 graphics/py-blurhash/DESCR create mode 100644 graphics/py-blurhash/Makefile create mode 100644 graphics/py-blurhash/PLIST create mode 100644 graphics/py-blurhash/distinfo (limited to 'graphics/py-blurhash') diff --git a/graphics/py-blurhash/DESCR b/graphics/py-blurhash/DESCR new file mode 100644 index 00000000000..562e83ccdf5 --- /dev/null +++ b/graphics/py-blurhash/DESCR @@ -0,0 +1,2 @@ +Pure-Python implementation of the blurhash algorithm. BlurHash is a compact +representation of a placeholder for an image. diff --git a/graphics/py-blurhash/Makefile b/graphics/py-blurhash/Makefile new file mode 100644 index 00000000000..c79fb6b393f --- /dev/null +++ b/graphics/py-blurhash/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2020/03/05 20:36:44 nia Exp $ + +DISTNAME= blurhash-1.1.4 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= graphics python +MASTER_SITES= ${MASTER_SITE_PYPI:=b/blurhash/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/halcy/blurhash-python +COMMENT= Implementation of the blurhash algorithm in pure python +LICENSE= mit + +USE_LANGUAGES= # none + +TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy +TEST_DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/py-blurhash/PLIST b/graphics/py-blurhash/PLIST new file mode 100644 index 00000000000..984279b56f1 --- /dev/null +++ b/graphics/py-blurhash/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1 2020/03/05 20:36:44 nia Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/blurhash/__init__.py +${PYSITELIB}/blurhash/__init__.pyo +${PYSITELIB}/blurhash/__init__.pyc +${PYSITELIB}/blurhash/blurhash.pyo +${PYSITELIB}/blurhash/blurhash.pyc +${PYSITELIB}/blurhash/blurhash.py diff --git a/graphics/py-blurhash/distinfo b/graphics/py-blurhash/distinfo new file mode 100644 index 00000000000..b09a5a28383 --- /dev/null +++ b/graphics/py-blurhash/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/03/05 20:36:44 nia Exp $ + +SHA1 (blurhash-1.1.4.tar.gz) = 46206172af27f670ee22f5340b27dcc1d0d93076 +RMD160 (blurhash-1.1.4.tar.gz) = 86b25009f4aaba52c43a7f0b97adf50b134fb55a +SHA512 (blurhash-1.1.4.tar.gz) = eacef78927a1299bec19f73709435b1be55797273888e7856bbfd46d2aa1afa02f54505c15b76dcd6bd15a6817da0171aa412570c33c7ad487bfe10940ef3fd6 +Size (blurhash-1.1.4.tar.gz) = 4738 bytes -- cgit v1.2.3