misc/py-PyWavefront: New port: Library for importing Wavefront .obj files

This commit is contained in:
Yuri Victorovich 2023-01-20 23:23:58 -08:00
parent a791ab5f44
commit 39daf5d46d
4 changed files with 33 additions and 0 deletions

View File

@ -383,6 +383,7 @@
SUBDIR += ptsort
SUBDIR += pubs
SUBDIR += py-PyUserInput
SUBDIR += py-PyWavefront
SUBDIR += py-QSpectrumAnalyzer
SUBDIR += py-SimpleSoapy
SUBDIR += py-SoapySDR

View File

@ -0,0 +1,26 @@
PORTNAME= PyWavefront
DISTVERSION= 1.3.3
CATEGORIES= misc
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for importing Wavefront .obj files
WWW= https://github.com/pywavefront/PyWavefront
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
USES= python:3.4+
USE_PYTHON= distutils autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= pywavefront
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1674285574
SHA256 (pywavefront-PyWavefront-1.3.3_GH0.tar.gz) = 09fd4cd1fb78e9659ee33b82b1b5c7169df97f908d50cd3febfce26c6c61903d
SIZE (pywavefront-PyWavefront-1.3.3_GH0.tar.gz) = 3531475

View File

@ -0,0 +1,3 @@
PyWavefront reads Wavefront 3D object files (something.obj, something.obj.gz
and something.mtl) and generates interleaved vertex data for each material
ready for rendering.