pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-kaleido: Cross-platform library for generating static images for Plotly
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Sat Apr 26 12:34:15 2025 -0500
Changeset: fbefe63eb087c723440182878d0592afcab3f64d
Added Files:
py-kaleido/DESCR
py-kaleido/Makefile
py-kaleido/PLIST
py-kaleido/distinfo
py-kaleido/patches/patch-pyproject.toml
Log Message:
py-kaleido: Cross-platform library for generating static images for Plotly
Replaces psutils and orca to greatly reduce dep count
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fbefe63eb087c723440182878d0592afcab3f64d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-kaleido/DESCR | 3 +++
py-kaleido/Makefile | 38 +++++++++++++++++++++++++++++++++
py-kaleido/PLIST | 35 ++++++++++++++++++++++++++++++
py-kaleido/distinfo | 6 ++++++
py-kaleido/patches/patch-pyproject.toml | 11 ++++++++++
5 files changed, 93 insertions(+)
diffs:
diff --git a/py-kaleido/DESCR b/py-kaleido/DESCR
new file mode 100644
index 0000000000..7680d27e45
--- /dev/null
+++ b/py-kaleido/DESCR
@@ -0,0 +1,3 @@
+Kaleido is a cross-platform library for generating static images for
+Plotly's visualization library. After installing it, you can use
+fig.write_image("filename.png") to save a plot to a file.
diff --git a/py-kaleido/Makefile b/py-kaleido/Makefile
new file mode 100644
index 0000000000..a37ef04d3d
--- /dev/null
+++ b/py-kaleido/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD$
+#
+###########################################################
+# Generated by fbsd2pkg #
+# Sat Apr 26 12:29:34 CDT 2025 #
+###########################################################
+
+###########################################################
+# Unconverted and partially converted FreeBSD port syntax:
+
+#LICENSE_FILE= ${WRKSRC}/LICENSE.md
+## TODO: Add py-choreographer dep. Only works with chrome as of 2024-11-21
+# BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+# ${PYPKGPREFIX}-setuptools-git-versioning>=0:devel/py-setuptools-git-versioning@${PY_FLAVOR} \
+# ${PYPKGPREFIX}-async_timeout>=0:devel/py-async_timeout@${PY_FLAVOR}
+
+DISTNAME= kaleido-1.0.0rc11
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= graphics python
+MASTER_SITES= ${MASTER_SITE_PYPI:=k/kaleido/}
+
+OWNER= bacon%NetBSD.org@localhost
+# Replace PYPI pages with upstream
+HOMEPAGE= https://pypi.python.org/project/kaleido/
+COMMENT= Cross-platform library for generating static images for Plotly
+LICENSE= mit
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+# Convert any _DEPENDS above that have a buildlink3.mk
+# .include "../..///buildlink3.mk"
+# Based on USES=python. Check this.
+.include "../../lang/python/wheel.mk"
+# CentOS doesn't have zlib in the base, so uncomment if needed.
+# .include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-kaleido/PLIST b/py-kaleido/PLIST
new file mode 100644
index 0000000000..38d4640b1f
--- /dev/null
+++ b/py-kaleido/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD$
+bin/kaleido_get_chrome
+bin/kaleido_mocker
+${PYSITELIB}/kaleido-0.0.0.dist-info/LICENSE.md
+${PYSITELIB}/kaleido-0.0.0.dist-info/METADATA
+${PYSITELIB}/kaleido-0.0.0.dist-info/RECORD
+${PYSITELIB}/kaleido-0.0.0.dist-info/WHEEL
+${PYSITELIB}/kaleido-0.0.0.dist-info/entry_points.txt
+${PYSITELIB}/kaleido-0.0.0.dist-info/top_level.txt
+${PYSITELIB}/kaleido/__init__.py
+${PYSITELIB}/kaleido/__init__.pyc
+${PYSITELIB}/kaleido/__init__.pyo
+${PYSITELIB}/kaleido/_fig_tools.py
+${PYSITELIB}/kaleido/_fig_tools.pyc
+${PYSITELIB}/kaleido/_fig_tools.pyo
+${PYSITELIB}/kaleido/_kaleido_tab.py
+${PYSITELIB}/kaleido/_kaleido_tab.pyc
+${PYSITELIB}/kaleido/_kaleido_tab.pyo
+${PYSITELIB}/kaleido/_mocker.py
+${PYSITELIB}/kaleido/_mocker.pyc
+${PYSITELIB}/kaleido/_mocker.pyo
+${PYSITELIB}/kaleido/_page_generator.py
+${PYSITELIB}/kaleido/_page_generator.pyc
+${PYSITELIB}/kaleido/_page_generator.pyo
+${PYSITELIB}/kaleido/_utils.py
+${PYSITELIB}/kaleido/_utils.pyc
+${PYSITELIB}/kaleido/_utils.pyo
+${PYSITELIB}/kaleido/errors.py
+${PYSITELIB}/kaleido/errors.pyc
+${PYSITELIB}/kaleido/errors.pyo
+${PYSITELIB}/kaleido/kaleido.py
+${PYSITELIB}/kaleido/kaleido.pyc
+${PYSITELIB}/kaleido/kaleido.pyo
+${PYSITELIB}/kaleido/vendor/index.html
+${PYSITELIB}/kaleido/vendor/kaleido_scopes.js
diff --git a/py-kaleido/distinfo b/py-kaleido/distinfo
new file mode 100644
index 0000000000..ad2c0f1a0f
--- /dev/null
+++ b/py-kaleido/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (kaleido-1.0.0rc11.tar.gz) = d4cf4c22b64d33e07cfe48d24db19ca567cd6c53c83d1c0d35dde2ac535dcc6f
+SHA512 (kaleido-1.0.0rc11.tar.gz) = 6b45f3b712581be0a33952339e59fb7638b749812bc03f51be309aa353d5c806dcb4bf76ad4d55fbf71c40949154fd13440d38bb6e403f19c7a54cfb8b7d6283
+Size (kaleido-1.0.0rc11.tar.gz) = 45951 bytes
+SHA1 (patch-pyproject.toml) = 0144984420e812d1b8f46a3c57f15ae84be39164
diff --git a/py-kaleido/patches/patch-pyproject.toml b/py-kaleido/patches/patch-pyproject.toml
new file mode 100644
index 0000000000..81514309f2
--- /dev/null
+++ b/py-kaleido/patches/patch-pyproject.toml
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- pyproject.toml.orig 2024-11-21 21:37:56 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=65.0.0", "wheel", "setuptools-git-versioning"]
++requires = ["setuptools>=63.0.0", "wheel", "setuptools-git-versioning"]
+ build-backend = "setuptools.build_meta"
+
+ [tool.setuptools.packages]
Home |
Main Index |
Thread Index |
Old Index