diff options
| author | Alastair Hogge <agh@riseup.net> | 2026-05-05 19:27:12 +0000 |
|---|---|---|
| committer | Max Brazhnikov <makc@FreeBSD.org> | 2026-05-05 19:29:34 +0000 |
| commit | 6ebb34ddcafe283d8c5344146725ce9caf3e4a98 (patch) | |
| tree | 6d83870a6f33cffd7907bbc09951ed056edcd2c0 | |
| parent | ad13f953605b2c71a76e7779639cc8496a707418 (diff) | |
graphics/py-PyOpenGL: Update to 3.1.10 and switch to NumPy 2
| -rw-r--r-- | graphics/py-PyOpenGL/Makefile | 26 | ||||
| -rw-r--r-- | graphics/py-PyOpenGL/distinfo | 6 |
2 files changed, 16 insertions, 16 deletions
diff --git a/graphics/py-PyOpenGL/Makefile b/graphics/py-PyOpenGL/Makefile index 44661f33ebfb..30217361c45a 100644 --- a/graphics/py-PyOpenGL/Makefile +++ b/graphics/py-PyOpenGL/Makefile @@ -1,10 +1,9 @@ PORTNAME= PyOpenGL -PORTVERSION= 3.1.7 -PORTREVISION= 3 +PORTVERSION= 3.1.10 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -#DISTNAME= PyOpenGL-${PORTVERSION} +DISTNAME= pyopengl-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= OpenGL (and related library) interface for Python @@ -13,10 +12,15 @@ WWW= https://pyopengl.sourceforge.net/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \ - ${PY_PILLOW} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \ - ${PY_PILLOW} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.3:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.3:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= dos2unix gl python +USE_GL= glut +USE_PYTHON= autoplist pep517 NO_ARCH= yes @@ -24,17 +28,13 @@ OPTIONS_DEFINE= TKINTER OPTIONS_DEFAULT= TKINTER TKINTER_DESC= Build with tkinter for X support -USES= dos2unix gl python -USE_GL= glut -USE_PYTHON= distutils autoplist - TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} -TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} +TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ + togl>0:graphics/togl post-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|<malloc\.h>|<stdlib.h>|g' @${FIND} ${WRKSRC} -name "*.bak" -delete - ${REINPLACE_CMD} -e 's|posix |posix|g' ${WRKSRC}/OpenGL/__init__.py .include <bsd.port.mk> diff --git a/graphics/py-PyOpenGL/distinfo b/graphics/py-PyOpenGL/distinfo index 9c856b534923..4c0c5792220f 100644 --- a/graphics/py-PyOpenGL/distinfo +++ b/graphics/py-PyOpenGL/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1700299151 -SHA256 (PyOpenGL-3.1.7.tar.gz) = eef31a3888e6984fd4d8e6c9961b184c9813ca82604d37fe3da80eb000a76c86 -SIZE (PyOpenGL-3.1.7.tar.gz) = 1896446 +TIMESTAMP = 1774060415 +SHA256 (pyopengl-3.1.10.tar.gz) = c4a02d6866b54eb119c8e9b3fb04fa835a95ab802dd96607ab4cdb0012df8335 +SIZE (pyopengl-3.1.10.tar.gz) = 1915580 |
