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"
+}

Reply via email to