graphics/py-moderngl: New port: ModernGL: High performance rendering for Python 3
This commit is contained in:
parent
980fd136e3
commit
fc70b79b19
|
@ -887,6 +887,7 @@
|
|||
SUBDIR += py-mcomix
|
||||
SUBDIR += py-mgwr
|
||||
SUBDIR += py-ming
|
||||
SUBDIR += py-moderngl
|
||||
SUBDIR += py-momepy
|
||||
SUBDIR += py-mpl-interactions
|
||||
SUBDIR += py-mpl-scatter-density
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
PORTNAME= moderngl
|
||||
DISTVERSION= 5.7.4
|
||||
CATEGORIES= graphics
|
||||
#MASTER_SITES= PYPI # no tests
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= ModernGL: High performance rendering for Python 3
|
||||
WWW= https://moderngl.readthedocs.io/en/latest/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}glcontext>=2.3.6<3:graphics/py-glcontext@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= pep517 autoplist pytest # testsuite SEGVs, see https://github.com/moderngl/moderngl/issues/547
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
TEST_WRKSRC= ${WRKSRC}/tests
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/moderngl/mgl${PYTHON_EXT_SUFFIX}.so
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1674242505
|
||||
SHA256 (moderngl-moderngl-5.7.4_GH0.tar.gz) = 1c3ded82f572d574a2116b55d6988fcd66776c809bdb09a42590ab678d612dca
|
||||
SIZE (moderngl-moderngl-5.7.4_GH0.tar.gz) = 2687476
|
|
@ -0,0 +1,7 @@
|
|||
ModernGL is a python wrapper over OpenGL 3.3+ core that simplifies the creation
|
||||
of simple graphics applications like scientific simulations, games or user
|
||||
interfaces. Usually, acquiring in-depth knowledge of OpenGL requires a steep
|
||||
learning curve. In contrast, ModernGL is easy to learn and use, moreover it is
|
||||
capable of rendering with high performance and quality, with less code written.
|
||||
The majority of the moderngl code base is also written in C++ for high
|
||||
performance.
|
Loading…
Reference in New Issue