Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2023 08:08:23 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4c3774bb6369 - main - graphics/py-hsluv: New port: Human-friendly HSL
Message-ID:  <202309090808.38988NfP019903@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c3774bb636983edce732a8e255fcfd249853fa7

commit 4c3774bb636983edce732a8e255fcfd249853fa7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-09-09 07:24:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-09-09 08:08:20 +0000

    graphics/py-hsluv: New port: Human-friendly HSL
---
 graphics/Makefile           |  1 +
 graphics/py-hsluv/Makefile  | 19 +++++++++++++++++++
 graphics/py-hsluv/distinfo  |  3 +++
 graphics/py-hsluv/pkg-descr |  3 +++
 4 files changed, 26 insertions(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309090808.38988NfP019903>