aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <DtxdF@disroot.org>2023-04-29 14:06:46 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-05-06 08:58:37 +0000
commit3a3eb53b1efdd087af317e02be2b6ef4d7a62468 (patch)
tree76710d1f395661dcccee2c5dd5f02a3b4e91e0c3
parent89085c5bff839847a4a1f567da8464fed37be44b (diff)
downloadports-3a3eb53b1efdd087af317e02be2b6ef4d7a62468.tar.gz
ports-3a3eb53b1efdd087af317e02be2b6ef4d7a62468.zip
graphics/py-haishoku: Tool for grabbing the representative color palette from an image
Haishoku is a development tool for grabbing the dominant color or representative color palette from an image, it depends on Python3 and Pillow. WWW: https://github.com/LanceGin/haishoku/ PR: 266119
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-haishoku/Makefile19
-rw-r--r--graphics/py-haishoku/distinfo3
-rw-r--r--graphics/py-haishoku/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 35749c612821..1c9d125b2e1b 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -878,6 +878,7 @@
SUBDIR += py-graphy
SUBDIR += py-gvgen
SUBDIR += py-h3
+ SUBDIR += py-haishoku
SUBDIR += py-hiplot
SUBDIR += py-imageio
SUBDIR += py-imageio-ffmpeg
diff --git a/graphics/py-haishoku/Makefile b/graphics/py-haishoku/Makefile
new file mode 100644
index 000000000000..27623e0d0e7f
--- /dev/null
+++ b/graphics/py-haishoku/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= haishoku
+DISTVERSION= 1.1.8
+CATEGORIES= graphics python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Tool for grabbing the representative color palette from an image
+WWW= https://github.com/LanceGin/haishoku/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/graphics/py-haishoku/distinfo b/graphics/py-haishoku/distinfo
new file mode 100644
index 000000000000..72ad42ed5d28
--- /dev/null
+++ b/graphics/py-haishoku/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661847167
+SHA256 (haishoku-1.1.8.tar.gz) = e4b9a14c03586081b18abcf04b4320168fea93ff611e81b2bccd5d5269ffcbd4
+SIZE (haishoku-1.1.8.tar.gz) = 5628
diff --git a/graphics/py-haishoku/pkg-descr b/graphics/py-haishoku/pkg-descr
new file mode 100644
index 000000000000..d0ea07d75289
--- /dev/null
+++ b/graphics/py-haishoku/pkg-descr
@@ -0,0 +1,3 @@
+Haishoku is a development tool for grabbing the dominant color or
+representative color palette from an image, it depends on Python3
+and Pillow.