ports/math/py-matplotlib-scalebar/Makefile
Rainer Hurling 0b333c9201 math/py-matplotlib-scalebar: Update to 0.9.0
- Update tooling
- Add example gallery
- Add bbox_anchor and bbox_transform
- Add common astronomical lengths
- Fix example_angular.py
- Support Python 3.12
- Add a (skippable) check that the axes have equal aspect ratio
- Use \\mathregular for LaTeX micro

Changelog: https://github.com/ppinard/matplotlib-scalebar/compare/0.8.1...0.9.0

Reported by:	Repology
2025-01-25 09:59:20 +01:00

27 lines
855 B
Makefile

PORTNAME= matplotlib-scalebar
PORTVERSION= 0.9.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= matplotlib_scalebar-${PORTVERSION}
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Artist for matplotlib to display a scale bar
WWW= https://github.com/ppinard/matplotlib-scalebar
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ruff>=0.5.0:devel/py-ruff@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ruff>=0.5.0:devel/py-ruff@${PY_FLAVOR}
USES= python
USE_LOCALE= en_US.UTF-8
USE_PYTHON= autoplist pep517 pytest
NO_ARCH= yes
.include <bsd.port.mk>