pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics graphics: Add py-blurhash
details: https://anonhg.NetBSD.org/pkgsrc/rev/eaa2a1c781e0
branches: trunk
changeset: 412395:eaa2a1c781e0
user: nia <nia%pkgsrc.org@localhost>
date: Thu Mar 05 20:36:44 2020 +0000
description:
graphics: Add py-blurhash
Pure-Python implementation of the blurhash algorithm. BlurHash is a compact
representation of a placeholder for an image.
diffstat:
graphics/Makefile | 3 ++-
graphics/py-blurhash/DESCR | 2 ++
graphics/py-blurhash/Makefile | 20 ++++++++++++++++++++
graphics/py-blurhash/PLIST | 12 ++++++++++++
graphics/py-blurhash/distinfo | 6 ++++++
5 files changed, 42 insertions(+), 1 deletions(-)
diffs (73 lines):
diff -r cb8a45efd140 -r eaa2a1c781e0 graphics/Makefile
--- a/graphics/Makefile Thu Mar 05 20:24:41 2020 +0000
+++ b/graphics/Makefile Thu Mar 05 20:36:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.882 2020/03/05 13:21:53 nia Exp $
+# $NetBSD: Makefile,v 1.883 2020/03/05 20:36:44 nia Exp $
#
COMMENT= Graphics tools and libraries
@@ -455,6 +455,7 @@
SUBDIR+= py-altgraph
SUBDIR+= py-biggles
SUBDIR+= py-blockdiag
+SUBDIR+= py-blurhash
SUBDIR+= py-brewer2mpl
SUBDIR+= py-cairo
SUBDIR+= py-cairocffi
diff -r cb8a45efd140 -r eaa2a1c781e0 graphics/py-blurhash/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-blurhash/DESCR Thu Mar 05 20:36:44 2020 +0000
@@ -0,0 +1,2 @@
+Pure-Python implementation of the blurhash algorithm. BlurHash is a compact
+representation of a placeholder for an image.
diff -r cb8a45efd140 -r eaa2a1c781e0 graphics/py-blurhash/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-blurhash/Makefile Thu Mar 05 20:36:44 2020 +0000
@@ -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@localhost
+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 -r cb8a45efd140 -r eaa2a1c781e0 graphics/py-blurhash/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-blurhash/PLIST Thu Mar 05 20:36:44 2020 +0000
@@ -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 -r cb8a45efd140 -r eaa2a1c781e0 graphics/py-blurhash/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-blurhash/distinfo Thu Mar 05 20:36:44 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index