git: 96f834c7bcbe - main - graphics/py-pyglm: New port: Fast OpenGL Mathematics (GLM) for Python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 22:36:51 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=96f834c7bcbefc172dc952d65bd5b08230fb18f8
commit 96f834c7bcbefc172dc952d65bd5b08230fb18f8
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-12 22:29:30 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-12 22:36:40 +0000
graphics/py-pyglm: New port: Fast OpenGL Mathematics (GLM) for Python
---
graphics/Makefile | 1 +
graphics/py-pyglm/Makefile | 17 +++++++++++++++++
graphics/py-pyglm/distinfo | 3 +++
graphics/py-pyglm/pkg-descr | 7 +++++++
4 files changed, 28 insertions(+)
diff --git a/graphics/Makefile b/graphics/Makefile
index 3391c487222f..f227f2d29a06 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -982,6 +982,7 @@
SUBDIR += py-pygeos
SUBDIR += py-pyglet
SUBDIR += py-pyglet1
+ SUBDIR += py-pyglm
SUBDIR += py-pygltflib
SUBDIR += py-pygraph
SUBDIR += py-pygraphviz
diff --git a/graphics/py-pyglm/Makefile b/graphics/py-pyglm/Makefile
new file mode 100644
index 000000000000..74c12c92d40c
--- /dev/null
+++ b/graphics/py-pyglm/Makefile
@@ -0,0 +1,17 @@
+PORTNAME= pyglm
+DISTVERSION= 2.7.3
+CATEGORIES= graphics
+MASTER_SITES= PYPI # no tests
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Fast OpenGL Mathematics (GLM) for Python
+WWW= https://github.com/Zuzu-Typ/PyGLM
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
diff --git a/graphics/py-pyglm/distinfo b/graphics/py-pyglm/distinfo
new file mode 100644
index 000000000000..7b824b3d82bc
--- /dev/null
+++ b/graphics/py-pyglm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736720283
+SHA256 (pyglm-2.7.3.tar.gz) = 4ccb6c027622b948aebc501cd8c3c23690293115dc98108f8ed3b7fd533b398f
+SIZE (pyglm-2.7.3.tar.gz) = 483055
diff --git a/graphics/py-pyglm/pkg-descr b/graphics/py-pyglm/pkg-descr
new file mode 100644
index 000000000000..d8b75af35914
--- /dev/null
+++ b/graphics/py-pyglm/pkg-descr
@@ -0,0 +1,7 @@
+PyGLM is a mathematics library for graphics programming.
+GLSL + Optional features + Python = PyGLM
+
+PyGLM is a Python extension written in C++.
+By using GLM by G-Truc under the hood, it manages to bring glm's features
+to Python.
+Some features are unsupported (such as most unstable extensions).