ports/math/py-vector/Makefile
Po-Chuan Hsieh 803dbf0276
math/py-vector: Add py-vector 1.6.2
Vector is a Python library for 2D and 3D spatial vectors, as well as 4D
space-time vectors. It is especially intended for performing geometric
calculations on arrays of vectors, rather than one vector at a time in a Python
for loop.
2025-05-25 17:52:22 +08:00

26 lines
731 B
Makefile

PORTNAME= vector
PORTVERSION= 1.6.2
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Vector classes and utilities
WWW= https://vector.readthedocs.io/en/latest/ \
https://github.com/scikit-hep/vector
LICENSE= BSD3CLAUSE
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}numpy>=1.13.3,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=19:devel/py-packaging@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>