mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-python/pyglm: correct some errors in ebuild
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
@@ -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/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
|
https://github.com/Zuzu-Typ/glm/archive/${HASH}.tar.gz -> ${P}-glm.gh.tar.gz
|
||||||
"
|
"
|
||||||
|
S="${WORKDIR}/PyGLM-${PV}"
|
||||||
|
|
||||||
LICENSE="ZLIB"
|
LICENSE="ZLIB"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@@ -26,14 +27,14 @@ RDEPEND="
|
|||||||
test? ( dev-python/numpy[${PYTHON_USEDEP}] )
|
test? ( dev-python/numpy[${PYTHON_USEDEP}] )
|
||||||
"
|
"
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
mv "${WORKDIR}/glm-${HASH}"/* -t "${S}/glm"
|
|
||||||
}
|
|
||||||
|
|
||||||
EPYTEST_DESELECT=(
|
EPYTEST_DESELECT=(
|
||||||
# Tests fails, see https://github.com/Zuzu-Typ/PyGLM/issues/227
|
# Tests fails, see https://github.com/Zuzu-Typ/PyGLM/issues/227
|
||||||
test/PyGLM_test.py::test_findMSB
|
test/PyGLM_test.py::test_findMSB
|
||||||
test/PyGLM_test.py::test_bitCount
|
test/PyGLM_test.py::test_bitCount
|
||||||
)
|
)
|
||||||
distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
mv "${WORKDIR}/glm-${HASH}"/* -t "${S}/glm" || die "Could not move the glm source"
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user