diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-05-25 09:26:50 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-05-25 09:52:22 +0000 |
| commit | 803dbf02766a6f1785da38091cdbf9317bbe650a (patch) | |
| tree | bf41184a370f9058e1fb74098096a4923a78bf87 | |
| parent | 37e523cb20a4fde62e4ce8a3d8429c63dca76e7f (diff) | |
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.
| -rw-r--r-- | math/Makefile | 1 | ||||
| -rw-r--r-- | math/py-vector/Makefile | 25 | ||||
| -rw-r--r-- | math/py-vector/distinfo | 3 | ||||
| -rw-r--r-- | math/py-vector/pkg-descr | 4 |
4 files changed, 33 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 13a8e8ec88c2..1fe75be0d6f4 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1134,6 +1134,7 @@ SUBDIR += py-umap-learn SUBDIR += py-uncertainties SUBDIR += py-unyt + SUBDIR += py-vector SUBDIR += py-vincenty SUBDIR += py-yt SUBDIR += py-z3-solver diff --git a/math/py-vector/Makefile b/math/py-vector/Makefile new file mode 100644 index 000000000000..92317737cf8e --- /dev/null +++ b/math/py-vector/Makefile @@ -0,0 +1,25 @@ +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> diff --git a/math/py-vector/distinfo b/math/py-vector/distinfo new file mode 100644 index 000000000000..5a820226b82a --- /dev/null +++ b/math/py-vector/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1747715288 +SHA256 (vector-1.6.2.tar.gz) = 6e59d9db8b615016fa542a2e8150d0c819046fe6940badd267811a454a7f0eca +SIZE (vector-1.6.2.tar.gz) = 350018 diff --git a/math/py-vector/pkg-descr b/math/py-vector/pkg-descr new file mode 100644 index 000000000000..cf382d09425e --- /dev/null +++ b/math/py-vector/pkg-descr @@ -0,0 +1,4 @@ +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. |
