math/py-pyrr: New port: 3D mathematical functions using NumPy

This commit is contained in:
Yuri Victorovich 2023-01-20 08:09:03 -08:00
parent fc70b79b19
commit 5b58ca16f5
4 changed files with 46 additions and 0 deletions

View file

@ -995,6 +995,7 @@
SUBDIR += py-pyodeint
SUBDIR += py-pyodesys
SUBDIR += py-pyreadr
SUBDIR += py-pyrr
SUBDIR += py-pysmt
SUBDIR += py-pystan
SUBDIR += py-pysym

29
math/py-pyrr/Makefile Normal file
View file

@ -0,0 +1,29 @@
PORTNAME= pyrr
DISTVERSION= 0.10.3
CATEGORIES= math
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= 3D mathematical functions using NumPy
WWW= https://github.com/adamlwgriffiths/Pyrr
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multipledispatch>0:devel/py-multipledispatch@${PY_FLAVOR} \
${PYNUMPY}
USES= python
USE_PYTHON= distutils autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= adamlwgriffiths
GH_PROJECT= Pyrr
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
.include <bsd.port.mk>

3
math/py-pyrr/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1674248099
SHA256 (adamlwgriffiths-Pyrr-0.10.3_GH0.tar.gz) = 0c585cee150a7a2dd0cfc82531a26a9996a93f456367054be3401c542a99b4dd
SIZE (adamlwgriffiths-Pyrr-0.10.3_GH0.tar.gz) = 66011

13
math/py-pyrr/pkg-descr Normal file
View file

@ -0,0 +1,13 @@
Pyrr provides 3D mathematical functions using the power of NumPy.
Features:
* Object Oriented and Procedural interfaces
* Matrix (3x3, 4x4)
* Quaternion
* Vector (3D, 4D)
* Plane
* Ray
* Line / Line Segment (3D)
* Rectangle (2D)
* Axis Aligned Bounding Box (AABB / AAMBB)
* Geometric collision / intersection testing