1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

New port: graphics/py-geomdl

NURBS-Python (geomdl) is a pure Python, self-contained, object-oriented
B-Spline and NURBS spline library for Python versions 2.7.x, 3.4.x and later.

NURBS-Python (geomdl) provides convenient data structures and highly
customizable API for rational and non-rational splines along with the
efficient and extensible implementations of the following algorithms:

- Spline evaluation
- Derivative evaluation
- Knot insertion
- Knot removal
- Knot vector refinement
- Degree elevation
- Degree reduction
- Curve and surface fitting via interpolation and least squares approximation

NURBS-Python (geomdl) also provides customizable visualization and animation
options via Matplotlib, Plotly and VTK libraries.

WWW: https://onurraufbingol.com/NURBS-Python

PR:		236457
Submitted by:	lbartoletti@tuxfamily.org
Approved by:	mentors (implicit)
This commit is contained in:
Kai Knoblich 2019-04-06 21:56:34 +00:00
parent 4c4b47be88
commit 2a8d4e9ecf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498213
4 changed files with 55 additions and 0 deletions

View File

@ -817,6 +817,7 @@
SUBDIR += py-freeimagepy
SUBDIR += py-gd
SUBDIR += py-gdal
SUBDIR += py-geomdl
SUBDIR += py-geopandas
SUBDIR += py-gimp
SUBDIR += py-gizeh

View File

@ -0,0 +1,31 @@
# $FreeBSD$
PORTNAME= geomdl
PORTVERSION= 5.1.2
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lbartoletti@tuxfamily.org
COMMENT= Object-oriented pure Python B-Spline and NURBS library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.15.4:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.3:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}plotly>0:graphics/py-plotly@${PY_FLAVOR}
py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=1.5:devel/py-backports.functools_lru_cache@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing>=0:devel/py-typing@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.6.0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1551953758
SHA256 (geomdl-5.1.2.tar.gz) = f412ef2396c12f34b73890b21b4b67f039b3e4c7f6cd25fcefea7316d240fe75
SIZE (geomdl-5.1.2.tar.gz) = 119427

View File

@ -0,0 +1,20 @@
NURBS-Python (geomdl) is a pure Python, self-contained, object-oriented
B-Spline and NURBS spline library for Python versions 2.7.x, 3.4.x and later.
NURBS-Python (geomdl) provides convenient data structures and highly
customizable API for rational and non-rational splines along with the
efficient and extensible implementations of the following algorithms:
- Spline evaluation
- Derivative evaluation
- Knot insertion
- Knot removal
- Knot vector refinement
- Degree elevation
- Degree reduction
- Curve and surface fitting via interpolation and least squares approximation
NURBS-Python (geomdl) also provides customizable visualization and animation
options via Matplotlib, Plotly and VTK libraries.
WWW: https://onurraufbingol.com/NURBS-Python