git: 39daf5d46d66 - main - misc/py-PyWavefront: New port: Library for importing Wavefront .obj files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Jan 2023 08:20:47 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=39daf5d46d6631b2b23cc37ab0d9e62c02f24a08 commit 39daf5d46d6631b2b23cc37ab0d9e62c02f24a08 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-21 07:23:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-21 08:20:42 +0000 misc/py-PyWavefront: New port: Library for importing Wavefront .obj files --- misc/Makefile | 1 + misc/py-PyWavefront/Makefile | 26 ++++++++++++++++++++++++++ misc/py-PyWavefront/distinfo | 3 +++ misc/py-PyWavefront/pkg-descr | 3 +++ 4 files changed, 33 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 42fbbba739b2..bcc9b73bcdd3 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -383,6 +383,7 @@ SUBDIR += ptsort SUBDIR += pubs SUBDIR += py-PyUserInput + SUBDIR += py-PyWavefront SUBDIR += py-QSpectrumAnalyzer SUBDIR += py-SimpleSoapy SUBDIR += py-SoapySDR diff --git a/misc/py-PyWavefront/Makefile b/misc/py-PyWavefront/Makefile new file mode 100644 index 000000000000..3bd0302e3cc7 --- /dev/null +++ b/misc/py-PyWavefront/Makefile @@ -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> diff --git a/misc/py-PyWavefront/distinfo b/misc/py-PyWavefront/distinfo new file mode 100644 index 000000000000..66aec74b6d53 --- /dev/null +++ b/misc/py-PyWavefront/distinfo @@ -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 diff --git a/misc/py-PyWavefront/pkg-descr b/misc/py-PyWavefront/pkg-descr new file mode 100644 index 000000000000..b2d66892350d --- /dev/null +++ b/misc/py-PyWavefront/pkg-descr @@ -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.