git: 276bf16b5afd - main - www/py-nicegui-highcharts: New port: NiceGUI extension providing highcharts elements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Nov 2024 02:40:01 UTC
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=276bf16b5afde58a70a79a84e3f722feab0eb56a commit 276bf16b5afde58a70a79a84e3f722feab0eb56a Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2024-11-08 02:38:59 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2024-11-08 02:38:59 +0000 www/py-nicegui-highcharts: New port: NiceGUI extension providing highcharts elements NiceGUI Highcharts is an extension for NiceGUI, an easy-to-use, Python-based UI framework. It provides a 'highchart' element based on Highcharts, the popular JavaScript charting library. Due to Highcharts' restrictive license, this element is not part of the NiceGUI package anymore, but can be install separately. WWW: https://github.com/zauberzeug/nicegui-highcharts PR: 282461 --- www/Makefile | 1 + www/py-nicegui-highcharts/Makefile | 33 ++++++++++++++++++++++ www/py-nicegui-highcharts/distinfo | 3 ++ .../files/patch-pyproject.toml | 11 ++++++++ www/py-nicegui-highcharts/pkg-descr | 5 ++++ 5 files changed, 53 insertions(+) diff --git a/www/Makefile b/www/Makefile index 062d5d135650..9a849b8b0d85 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1768,6 +1768,7 @@ SUBDIR += py-nevow SUBDIR += py-nh3 SUBDIR += py-nicegui + SUBDIR += py-nicegui-highcharts SUBDIR += py-nicegui-nogui SUBDIR += py-notebook SUBDIR += py-onetimepass diff --git a/www/py-nicegui-highcharts/Makefile b/www/py-nicegui-highcharts/Makefile new file mode 100644 index 000000000000..a46de4a7d83f --- /dev/null +++ b/www/py-nicegui-highcharts/Makefile @@ -0,0 +1,33 @@ +PORTNAME= nicegui-highcharts +DISTVERSION= 2.0.2 +CATEGORIES= www graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= nicegui_highcharts-${PORTVERSION} + +MAINTAINER= DtxdF@disroot.org +COMMENT= NiceGUI extension providing highcharts elements +WWW= https://github.com/zauberzeug/nicegui-highcharts + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +OPTIONS_DEFAULT= NICEGUI_GUI +OPTIONS_SINGLE= NICEGUI +OPTIONS_SINGLE_NICEGUI= NICEGUI_GUI NICEGUI_NOGUI + +NICEGUI_GUI_DESC= Use www/py-nicegui +NICEGUI_NOGUI_DESC= Use www/py-nicegui-nogui + +NICEGUI_GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nicegui>=0:www/py-nicegui@${PY_FLAVOR} +NICEGUI_NOGUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nicegui-nogui>=0:www/py-nicegui-nogui@${PY_FLAVOR} + +.include <bsd.port.mk> diff --git a/www/py-nicegui-highcharts/distinfo b/www/py-nicegui-highcharts/distinfo new file mode 100644 index 000000000000..188e66ce6358 --- /dev/null +++ b/www/py-nicegui-highcharts/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730328047 +SHA256 (nicegui_highcharts-2.0.2.tar.gz) = 3240790086ce7c87171e8ab1e4e59bb2496ad0028b2b6df8da9961f5f428b5af +SIZE (nicegui_highcharts-2.0.2.tar.gz) = 2098919 diff --git a/www/py-nicegui-highcharts/files/patch-pyproject.toml b/www/py-nicegui-highcharts/files/patch-pyproject.toml new file mode 100644 index 000000000000..7d8281f31426 --- /dev/null +++ b/www/py-nicegui-highcharts/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2024-10-30 23:29:16 UTC ++++ pyproject.toml +@@ -15,7 +15,7 @@ requires = [ + + [build-system] + requires = [ +- "setuptools>=30.3.0,<50", ++ "setuptools>=0", + "poetry-core>=1.0.0" + ] + build-backend = "poetry.core.masonry.api" diff --git a/www/py-nicegui-highcharts/pkg-descr b/www/py-nicegui-highcharts/pkg-descr new file mode 100644 index 000000000000..271e2627b051 --- /dev/null +++ b/www/py-nicegui-highcharts/pkg-descr @@ -0,0 +1,5 @@ +NiceGUI Highcharts is an extension for NiceGUI, an easy-to-use, +Python-based UI framework. It provides a 'highchart' element based +on Highcharts, the popular JavaScript charting library. Due to +Highcharts' restrictive license, this element is not part of the +NiceGUI package anymore, but can be install separately.