diff options
author | Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> | 2024-11-08 02:38:59 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2024-11-08 02:38:59 +0000 |
commit | 276bf16b5afde58a70a79a84e3f722feab0eb56a (patch) | |
tree | 05de49b5317d6d404cebd823a5bc118f1b1f5e47 | |
parent | f41ce1390abf970bc4abee2b806b6abab0009213 (diff) | |
download | ports-276bf16b5afde58a70a79a84e3f722feab0eb56a.tar.gz ports-276bf16b5afde58a70a79a84e3f722feab0eb56a.zip |
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
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-nicegui-highcharts/Makefile | 33 | ||||
-rw-r--r-- | www/py-nicegui-highcharts/distinfo | 3 | ||||
-rw-r--r-- | www/py-nicegui-highcharts/files/patch-pyproject.toml | 11 | ||||
-rw-r--r-- | www/py-nicegui-highcharts/pkg-descr | 5 |
5 files changed, 53 insertions, 0 deletions
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. |