Date: Wed, 04 Feb 2026 15:09:33 +0000 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: 827f537cfbf7 - main - devel/py-darkdetect: Add new port Message-ID: <6983612d.3e1e4.1b441a10@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=827f537cfbf70937b904532d6eb5acf6103a81ab commit 827f537cfbf70937b904532d6eb5acf6103a81ab Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2026-02-04 10:52:00 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2026-02-04 15:09:07 +0000 devel/py-darkdetect: Add new port The main application of this Python package is to detect the Dark mode from your GUI Python application (Tkinter/wx/pyqt/qt for python (pyside)/...) and apply the needed adjustments to your interface. Darkdetect is particularly useful if your GUI library does not provide a public API for this detection. In addition, this package does not depend on other modules or packages that are not already included in standard Python distributions. https://pypi.org/project/darkdetect/ --- devel/Makefile | 1 + devel/py-darkdetect/Makefile | 20 ++++++++++++++++++++ devel/py-darkdetect/distinfo | 3 +++ devel/py-darkdetect/pkg-descr | 6 ++++++ 4 files changed, 30 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a8e71e86333f..e04a6968400b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4784,6 +4784,7 @@ SUBDIR += py-daemons SUBDIR += py-daiquiri SUBDIR += py-dal + SUBDIR += py-darkdetect SUBDIR += py-darts.util.lru SUBDIR += py-dask SUBDIR += py-dask-awkward diff --git a/devel/py-darkdetect/Makefile b/devel/py-darkdetect/Makefile new file mode 100644 index 000000000000..8a56e51e93bc --- /dev/null +++ b/devel/py-darkdetect/Makefile @@ -0,0 +1,20 @@ +PORTNAME= darkdetect +DISTVERSION= 0.8.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= This Python package allows to detect if the user is using Dark Mode +WWW= https://pypi.org/project/darkdetect/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +.include <bsd.port.mk> diff --git a/devel/py-darkdetect/distinfo b/devel/py-darkdetect/distinfo new file mode 100644 index 000000000000..3156fa3df492 --- /dev/null +++ b/devel/py-darkdetect/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1770201734 +SHA256 (darkdetect-0.8.0.tar.gz) = b5428e1170263eb5dea44c25dc3895edd75e6f52300986353cd63533fe7df8b1 +SIZE (darkdetect-0.8.0.tar.gz) = 7681 diff --git a/devel/py-darkdetect/pkg-descr b/devel/py-darkdetect/pkg-descr new file mode 100644 index 000000000000..195f314b537c --- /dev/null +++ b/devel/py-darkdetect/pkg-descr @@ -0,0 +1,6 @@ +The main application of this Python package is to detect the Dark mode from +your GUI Python application (Tkinter/wx/pyqt/qt for python (pyside)/...) and +apply the needed adjustments to your interface. Darkdetect is particularly +useful if your GUI library does not provide a public API for this detection. +In addition, this package does not depend on other modules or packages that are +not already included in standard Python distributions.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6983612d.3e1e4.1b441a10>
