Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2023 14:37:33 GMT
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7640ea1e701f - main - graphics/py-tkcolorpicker: Add new port
Message-ID:  <202304191437.33JEbXeZ008835@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=7640ea1e701f9daa5eef8032469f8686d4e649fd

commit 7640ea1e701f9daa5eef8032469f8686d4e649fd
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2023-04-19 14:36:11 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2023-04-19 14:36:11 +0000

    graphics/py-tkcolorpicker: Add new port
    
    Color picker dialog for Tkinter.
    
    This module contains a ColorPicker class which implements the color picker and
    an askcolor function that displays the color picker and returns the chosen
    color in RGB and HTML formats.
    
    https://github.com/j4321/tkColorPicker
---
 graphics/Makefile                   |  1 +
 graphics/py-tkcolorpicker/Makefile  | 17 +++++++++++++++++
 graphics/py-tkcolorpicker/distinfo  |  3 +++
 graphics/py-tkcolorpicker/pkg-descr |  5 +++++
 4 files changed, 26 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index a8cd9d248fe2..b9770a4933a6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -951,6 +951,7 @@
     SUBDIR += py-svgwrite
     SUBDIR += py-termtosvg
     SUBDIR += py-tifffile
+    SUBDIR += py-tkcolorpicker
     SUBDIR += py-toyplot
     SUBDIR += py-traitsui
     SUBDIR += py-ueberzug
diff --git a/graphics/py-tkcolorpicker/Makefile b/graphics/py-tkcolorpicker/Makefile
new file mode 100644
index 000000000000..74b3364d11fe
--- /dev/null
+++ b/graphics/py-tkcolorpicker/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	tkcolorpicker
+DISTVERSION=	2.1.3
+CATEGORIES=	graphics python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Color picker dialog for Tkinter
+WWW=		https://github.com/j4321/tkColorPicker
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/graphics/py-tkcolorpicker/distinfo b/graphics/py-tkcolorpicker/distinfo
new file mode 100644
index 000000000000..1ab03a9ce643
--- /dev/null
+++ b/graphics/py-tkcolorpicker/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681828732
+SHA256 (tkcolorpicker-2.1.3.tar.gz) = 2933f9781ced0a2b4d31f462dfd6883292a2a72c4dcb4f460026455a7644de99
+SIZE (tkcolorpicker-2.1.3.tar.gz) = 25908
diff --git a/graphics/py-tkcolorpicker/pkg-descr b/graphics/py-tkcolorpicker/pkg-descr
new file mode 100644
index 000000000000..d8ffc6258ae3
--- /dev/null
+++ b/graphics/py-tkcolorpicker/pkg-descr
@@ -0,0 +1,5 @@
+Color picker dialog for Tkinter.
+
+This module contains a ColorPicker class which implements the color picker and
+an askcolor function that displays the color picker and returns the chosen
+color in RGB and HTML formats.



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