aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-09-09 07:24:06 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-09-09 08:08:20 +0000
commit4c3774bb636983edce732a8e255fcfd249853fa7 (patch)
tree650e7b27350bf266c8861a473d2bab101d8ed5e1
parenteb52db563d8ad4522eddefd4e951814e82cf57f2 (diff)
downloadports-4c3774bb636983edce732a8e255fcfd249853fa7.tar.gz
ports-4c3774bb636983edce732a8e255fcfd249853fa7.zip
graphics/py-hsluv: New port: Human-friendly HSL
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-hsluv/Makefile19
-rw-r--r--graphics/py-hsluv/distinfo3
-rw-r--r--graphics/py-hsluv/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index c1910b63b806..861c16cd33d4 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -889,6 +889,7 @@
SUBDIR += py-h3
SUBDIR += py-haishoku
SUBDIR += py-hiplot
+ SUBDIR += py-hsluv
SUBDIR += py-imageio
SUBDIR += py-imageio-ffmpeg
SUBDIR += py-imagesize
diff --git a/graphics/py-hsluv/Makefile b/graphics/py-hsluv/Makefile
new file mode 100644
index 000000000000..3e8f8c146746
--- /dev/null
+++ b/graphics/py-hsluv/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= hsluv
+DISTVERSION= 5.0.3
+CATEGORIES= graphics python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Human-friendly HSL
+WWW= https://www.hsluv.org/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/hsluv/hsluv/issues/87
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-hsluv/distinfo b/graphics/py-hsluv/distinfo
new file mode 100644
index 000000000000..42ded651f29f
--- /dev/null
+++ b/graphics/py-hsluv/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1694243659
+SHA256 (hsluv-5.0.3.tar.gz) = 2586bcb61d29d76e89e563a6836df24d86939961c9657f129a59f7617de45377
+SIZE (hsluv-5.0.3.tar.gz) = 541164
diff --git a/graphics/py-hsluv/pkg-descr b/graphics/py-hsluv/pkg-descr
new file mode 100644
index 000000000000..6f7710cfdf3f
--- /dev/null
+++ b/graphics/py-hsluv/pkg-descr
@@ -0,0 +1,3 @@
+Python implementation of HSLuv.
+
+HSLuv is a human-friendly alternative to HSL.