git: f5b5a3ec0c3f - main - graphics/py-PyOpenGL-accelerate: Update to 3.1.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jan 2023 13:19:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f5b5a3ec0c3fa88c6b9978d9188463bc9fac1162
commit f5b5a3ec0c3fa88c6b9978d9188463bc9fac1162
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:44:24 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:02:16 +0000
graphics/py-PyOpenGL-accelerate: Update to 3.1.6
- Simplify Makefile
- Add LICENSE_FILE
- Remove PYNUMPY
- Strip shared library
---
graphics/py-PyOpenGL-accelerate/Makefile | 16 +++++++++-------
graphics/py-PyOpenGL-accelerate/distinfo | 6 +++---
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/graphics/py-PyOpenGL-accelerate/Makefile b/graphics/py-PyOpenGL-accelerate/Makefile
index 78b7526282d5..0aa41ea15e30 100644
--- a/graphics/py-PyOpenGL-accelerate/Makefile
+++ b/graphics/py-PyOpenGL-accelerate/Makefile
@@ -1,21 +1,23 @@
-PORTNAME= PyOpenGL
-PORTVERSION= 3.1.5
+PORTNAME= PyOpenGL-accelerate
+PORTVERSION= 3.1.6
CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX= -accelerate
-DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= python@FreeBSD.org
COMMENT= OpenGL acceleration code for PyOpenGL
WWW= http://pyopengl.sourceforge.net/
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/license.txt
-BUILD_DEPENDS= ${PYNUMPY}
-RUN_DEPENDS= ${PYNUMPY}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
-USE_PYTHON= autoplist distutils cython
USES= python:3.6+
+USE_PYTHON= autoplist cython distutils
+
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
diff --git a/graphics/py-PyOpenGL-accelerate/distinfo b/graphics/py-PyOpenGL-accelerate/distinfo
index 5e21f5f15761..51cc9b414ef0 100644
--- a/graphics/py-PyOpenGL-accelerate/distinfo
+++ b/graphics/py-PyOpenGL-accelerate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1581936856
-SHA256 (PyOpenGL-accelerate-3.1.5.tar.gz) = 12e5518b0216a478527c7ce5ddce623c3d0517adeb87226da767772e8b7f2f06
-SIZE (PyOpenGL-accelerate-3.1.5.tar.gz) = 538350
+TIMESTAMP = 1674590820
+SHA256 (PyOpenGL-accelerate-3.1.6.tar.gz) = ad8a300256eca25228261de16f741e51a30f34f1e1b1cf68359f5c62dbcdcdc3
+SIZE (PyOpenGL-accelerate-3.1.6.tar.gz) = 550594