graphics/py-PyOpenGL-accelerate: Update to 3.1.6

- Simplify Makefile
- Add LICENSE_FILE
- Remove PYNUMPY
- Strip shared library
This commit is contained in:
Po-Chuan Hsieh 2023-01-30 20:44:24 +08:00
parent fa78a30de4
commit f5b5a3ec0c
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 12 additions and 10 deletions

View File

@ -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>

View File

@ -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