pkgsrc/graphics/py-OpenGL/Makefile
wiz bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2022/01/04 20:54:03 wiz Exp $
DISTNAME= PyOpenGL-3.1.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^Py//}
PKGREVISION= 4
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyOpenGL/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pyopengl.sourceforge.net/
COMMENT= Python bindings for OpenGL
# There are many similar licenses, see license.txt
LICENSE= modified-bsd AND mit
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
TEST_DEPENDS+= ${PYPKGPREFIX}-OpenGL-accelerate-[0-9]*:../../graphics/py-OpenGL-accelerate
TEST_DEPENDS+= ${PYPKGPREFIX}-game-[0-9]*:../../devel/py-game
USE_LANGUAGES= # none
REPLACE_PYTHON+= OpenGL/arrays/buffers.py
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-numpy
do-test:
cd ${WRKSRC} && ${PYTHONBIN} tests/test_core.py
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/freeglut/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.endif
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"