* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyglm/
@ 2024-12-02 22:43 Henri Gasc
0 siblings, 0 replies; 2+ messages in thread
From: Henri Gasc @ 2024-12-02 22:43 UTC (permalink / raw
To: gentoo-commits
commit: 1d47e087712e9a175402fe7e22e5036fafeb4c5f
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Dec 2 22:36:39 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Mon Dec 2 22:36:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d47e087
dev-python/pyglm: new package, add 2.7.3
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/pyglm/Manifest | 2 ++
dev-python/pyglm/metadata.xml | 12 ++++++++++++
dev-python/pyglm/pyglm-2.7.3.ebuild | 39 +++++++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+)
diff --git a/dev-python/pyglm/Manifest b/dev-python/pyglm/Manifest
new file mode 100644
index 000000000..546f86117
--- /dev/null
+++ b/dev-python/pyglm/Manifest
@@ -0,0 +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
diff --git a/dev-python/pyglm/metadata.xml b/dev-python/pyglm/metadata.xml
new file mode 100644
index 000000000..df8637013
--- /dev/null
+++ b/dev-python/pyglm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gasc@eurecom.fr</email>
+ <name>Gasc Henri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">PyGLM</remote-id>
+ <remote-id type="github">Zuzu-Typ/PyGLM</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyglm/pyglm-2.7.3.ebuild b/dev-python/pyglm/pyglm-2.7.3.ebuild
new file mode 100644
index 000000000..cb23e4c57
--- /dev/null
+++ b/dev-python/pyglm/pyglm-2.7.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+HASH="fbc534be62f8c785db989f8ae7526edf6d0dc306"
+DESCRIPTION="Fast OpenGL Mathematics (GLM) for Python"
+HOMEPAGE="https://github.com/Zuzu-Typ/PyGLM https://pypi.org/project/PyGLM"
+SRC_URI="
+ https://github.com/Zuzu-Typ/PyGLM/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
+ https://github.com/Zuzu-Typ/glm/archive/${HASH}.tar.gz -> ${P}-glm.gh.tar.gz
+"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-libs/glm
+ test? ( dev-python/numpy[${PYTHON_USEDEP}] )
+"
+
+src_prepare() {
+ default
+ mv "${WORKDIR}/glm-${HASH}"/* -t "${S}/glm"
+}
+
+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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyglm/
@ 2024-12-04 16:23 Henri Gasc
0 siblings, 0 replies; 2+ messages in thread
From: Henri Gasc @ 2024-12-04 16:23 UTC (permalink / raw
To: gentoo-commits
commit: 260548eb51cab913640b5ac846efe3a90f882a35
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Wed Dec 4 15:05:39 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Wed Dec 4 16:23:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=260548eb
dev-python/pyglm: correct some errors in ebuild
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/pyglm/pyglm-2.7.3.ebuild | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/dev-python/pyglm/pyglm-2.7.3.ebuild b/dev-python/pyglm/pyglm-2.7.3.ebuild
index cb23e4c57..72f84ed8a 100644
--- a/dev-python/pyglm/pyglm-2.7.3.ebuild
+++ b/dev-python/pyglm/pyglm-2.7.3.ebuild
@@ -16,6 +16,7 @@ SRC_URI="
https://github.com/Zuzu-Typ/PyGLM/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/Zuzu-Typ/glm/archive/${HASH}.tar.gz -> ${P}-glm.gh.tar.gz
"
+S="${WORKDIR}/PyGLM-${PV}"
LICENSE="ZLIB"
SLOT="0"
@@ -26,14 +27,14 @@ RDEPEND="
test? ( dev-python/numpy[${PYTHON_USEDEP}] )
"
-src_prepare() {
- default
- mv "${WORKDIR}/glm-${HASH}"/* -t "${S}/glm"
-}
-
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"
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-04 16:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04 16:23 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyglm/ Henri Gasc
-- strict thread matches above, loose matches on Subject: below --
2024-12-02 22:43 Henri Gasc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox