From 260548eb51cab913640b5ac846efe3a90f882a35 Mon Sep 17 00:00:00 2001 From: Henri Gasc Date: Wed, 4 Dec 2024 16:05:39 +0100 Subject: [PATCH] dev-python/pyglm: correct some errors in ebuild Signed-off-by: Henri Gasc --- 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 cb23e4c579..72f84ed8a5 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" +}