git: dea8701c8108 - main - math/py-proplot: Add py-proplot 0.9.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 17:21:49 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=dea8701c810835f84f6677bfbfde5d8f25e53171 commit dea8701c810835f84f6677bfbfde5d8f25e53171 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-08-04 16:44:10 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-08-04 17:13:52 +0000 math/py-proplot: Add py-proplot 0.9.7 Proplot is a succinct matplotlib wrapper for making beautiful, publication-quality graphics. --- graphics/py-proplot/Makefile | 29 +++++++++++++++++++++++++++++ graphics/py-proplot/distinfo | 3 +++ graphics/py-proplot/files/patch-setup.cfg | 13 +++++++++++++ graphics/py-proplot/pkg-descr | 2 ++ 4 files changed, 47 insertions(+) diff --git a/graphics/py-proplot/Makefile b/graphics/py-proplot/Makefile new file mode 100644 index 000000000000..fbbe34dcbf34 --- /dev/null +++ b/graphics/py-proplot/Makefile @@ -0,0 +1,29 @@ +PORTNAME= proplot +PORTVERSION= 0.9.7 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Succinct matplotlib wrapper for making beautiful, publication-quality graphics +WWW= https://proplot.readthedocs.io/en/stable/ \ + https://github.com/proplot-dev/proplot + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=44:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3.0:math/py-matplotlib@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +post-patch: +# https://github.com/proplot-dev/proplot/commit/d364120851c474ece25b55e857ce179d8b745166 + @${CHMOD} ugo-x ${WRKSRC}/proplot/internals/context.py + +.include <bsd.port.mk> diff --git a/graphics/py-proplot/distinfo b/graphics/py-proplot/distinfo new file mode 100644 index 000000000000..a36f944a5403 --- /dev/null +++ b/graphics/py-proplot/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722711131 +SHA256 (proplot-0.9.7.tar.gz) = bee013f524bde201c346b2b071ca784c151edc08a835b674c2e16ca43b7ccbd2 +SIZE (proplot-0.9.7.tar.gz) = 8601356 diff --git a/graphics/py-proplot/files/patch-setup.cfg b/graphics/py-proplot/files/patch-setup.cfg new file mode 100644 index 000000000000..44979996fee6 --- /dev/null +++ b/graphics/py-proplot/files/patch-setup.cfg @@ -0,0 +1,13 @@ +--- setup.cfg.orig 2023-02-28 06:16:26 UTC ++++ setup.cfg +@@ -24,8 +24,8 @@ packages = proplot + + [options] + packages = proplot +-setup_requires = setuptools>=44; toml; setuptools_scm>=3.4.3 +-install_requires = matplotlib>=3.3.0,<3.5.0 ++setup_requires = setuptools>=44; setuptools_scm>=3.4.3 ++install_requires = matplotlib>=3.3.0 + include_package_data = True + python_requires = >=3.6.0 + diff --git a/graphics/py-proplot/pkg-descr b/graphics/py-proplot/pkg-descr new file mode 100644 index 000000000000..126dd595359a --- /dev/null +++ b/graphics/py-proplot/pkg-descr @@ -0,0 +1,2 @@ +Proplot is a succinct matplotlib wrapper for making beautiful, +publication-quality graphics.