math/py-proplot: Add py-proplot 0.9.7

Proplot is a succinct matplotlib wrapper for making beautiful,
publication-quality graphics.
This commit is contained in:
Po-Chuan Hsieh 2024-08-05 00:44:10 +08:00
parent 176436adbf
commit dea8701c81
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 47 additions and 0 deletions

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1722711131
SHA256 (proplot-0.9.7.tar.gz) = bee013f524bde201c346b2b071ca784c151edc08a835b674c2e16ca43b7ccbd2
SIZE (proplot-0.9.7.tar.gz) = 8601356

View file

@ -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

View file

@ -0,0 +1,2 @@
Proplot is a succinct matplotlib wrapper for making beautiful,
publication-quality graphics.