commit: 98fed77f4fea258e5c7f5014061424e4d8dbbab8
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Mar 31 16:35:01 2025 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Mon Mar 31 19:31:15 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98fed77f
dev-python/pyglm: add 2.8.1, drop 2.7.3
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/pyglm/Manifest | 4 ++--
.../pyglm/{pyglm-2.7.3.ebuild => pyglm-2.8.1.ebuild} | 15 ++++++++-------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/dev-python/pyglm/Manifest b/dev-python/pyglm/Manifest
index 546f86117..c897eb2ca 100644
--- a/dev-python/pyglm/Manifest
+++ b/dev-python/pyglm/Manifest
@@ -1,2 +1,2 @@
-DIST pyglm-2.7.3-glm.gh.tar.gz 232356 BLAKE2B
ae9c1dada06c33240eac906af5e6ecad903a19d62640aa569371a0aa223ebc0afa6d7f3cfc4ad419376bc43d5877e5e606f5e419d048306247f8b3eba352ca1d
SHA512
9005100f39990b5b61eced679863d116bb6375060384c6e4cddbd2dc0caa3a66d165d9b294de84fdfe58e610f15500ffa172ca0760eba4efff9d91c65a310852
-DIST pyglm-2.7.3.gh.tar.gz 735017 BLAKE2B
9584c9f7dd7121843ccaa8b036d535532b29b3d4eee48b5ce24daddd1669160cf9f5262c08ef8c6912ccb3f8e39958a63563a2e0369ebc88b5673a3bd4822c77
SHA512
e48019abc27f8c6dfbad48d7fd94169f0cea24fb8ba3428ea7f418e7129eb900fc1c670b96637a3b7ff8a5fefbd3dbaa399738eb508523460d5b2a62e148a202
+DIST pyglm-2.8.1-glm.gh.tar.gz 293158 BLAKE2B
fca1a7d971aed95c3e78edae5542436cbe49b6f5f2adea526a21efb7f30843d553e858375c1afbf5e66362d8fc7c12586b8d14e247b69bf6a31b33172d2ba2ad
SHA512
2261bbe1ea8dd2f573842ec809e5343ff703a72c9975e83f0da709188f8ff16ac6ee014217430dac8057420787519e53b36b743bd847355de064612cc36da0c0
+DIST pyglm-2.8.1.gh.tar.gz 791363 BLAKE2B
5f1f455bdc09c82329cc0b6ee2c70fd1239f58feef6b71ef24560b67fa1ec94cfe728b3814f733afed42fd37f5574d36ff91d9a193fa942bf2b2c4196d0daca0
SHA512
47f28151be41251e29b51514e547fb21e9abec2520118284788fff65d659ec61f5ef3dcb4e6e4daa2dc7c4adb9f3a11849c1732a0915a9ff9ab1a91ea8c691b8
diff --git a/dev-python/pyglm/pyglm-2.7.3.ebuild
b/dev-python/pyglm/pyglm-2.8.1.ebuild
similarity index 71%
rename from dev-python/pyglm/pyglm-2.7.3.ebuild
rename to dev-python/pyglm/pyglm-2.8.1.ebuild
index a0d3716a5..0576b3cc1 100644
--- a/dev-python/pyglm/pyglm-2.7.3.ebuild
+++ b/dev-python/pyglm/pyglm-2.8.1.ebuild
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
-HASH="fbc534be62f8c785db989f8ae7526edf6d0dc306"
+HASH="58e0db58cc860c0c6f7f6ee3a462e17a431646a4"
DESCRIPTION="Fast OpenGL Mathematics (GLM) for Python"
HOMEPAGE="https://github.com/Zuzu-Typ/PyGLM https://pypi.org/project/PyGLM"
SRC_URI="
@@ -21,20 +21,21 @@ S="${WORKDIR}/PyGLM-${PV}"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64"
+DOCS+=( wiki )
RDEPEND="
media-libs/glm
test? ( dev-python/numpy[${PYTHON_USEDEP}] )
"
-EPYTEST_DESELECT=(
- # Tests fails, see https://github.com/Zuzu-Typ/PyGLM/issues/227
- test/PyGLM_test.py::test_findMSB
- test/PyGLM_test.py::test_bitCount
-)
distutils_enable_tests pytest
src_prepare() {
default
- mv "${WORKDIR}/glm-${HASH}"/* -t "${S}/glm" || die "Could not move the
glm source"
+ mv "${WORKDIR}/glm-${HASH}"/* "${S}/PyGLM_lib/glm" || die "Could not
move the glm source"
+}
+
+python_test() {
+ rm -rf "${S}/pyglm" "${S}/glm" || die "Could not remove the source
directory"
+ epytest
}