aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2022-11-06 11:33:34 +0800
committerHuang Rui <vowstar@gmail.com>2022-11-06 11:33:34 +0800
commit825e3c9f2f1e7d4a8ad0dc6ed96f6a2091dda1f5 (patch)
treed4a2f3dd54cdc1dc36ef62b5662c3d3731fef4c3 /sci-electronics
parentnet-p2p/yggdrasil-go: change dependency tarball to vendor tarball (diff)
downloadguru-825e3c9f2f1e7d4a8ad0dc6ed96f6a2091dda1f5.tar.gz
guru-825e3c9f2f1e7d4a8ad0dc6ed96f6a2091dda1f5.tar.bz2
guru-825e3c9f2f1e7d4a8ad0dc6ed96f6a2091dda1f5.zip
sci-electronics/slang: fix mv: cannot stat pyslang
Closes: https://bugs.gentoo.org/879829 Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/slang/slang-2.0.ebuild8
-rw-r--r--sci-electronics/slang/slang-9999.ebuild8
2 files changed, 10 insertions, 6 deletions
diff --git a/sci-electronics/slang/slang-2.0.ebuild b/sci-electronics/slang/slang-2.0.ebuild
index 4a9134e0f..ed4201ed5 100644
--- a/sci-electronics/slang/slang-2.0.ebuild
+++ b/sci-electronics/slang/slang-2.0.ebuild
@@ -61,7 +61,9 @@ src_configure() {
src_install() {
cmake_src_install
- # fix python unexpected paths QA
- mkdir -p "${D}/$(python_get_sitedir)" || die
- mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die
+ if use python; then
+ # fix python unexpected paths QA
+ mkdir -p "${D}/$(python_get_sitedir)" || die
+ mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die
+ fi
}
diff --git a/sci-electronics/slang/slang-9999.ebuild b/sci-electronics/slang/slang-9999.ebuild
index 4a9134e0f..ed4201ed5 100644
--- a/sci-electronics/slang/slang-9999.ebuild
+++ b/sci-electronics/slang/slang-9999.ebuild
@@ -61,7 +61,9 @@ src_configure() {
src_install() {
cmake_src_install
- # fix python unexpected paths QA
- mkdir -p "${D}/$(python_get_sitedir)" || die
- mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die
+ if use python; then
+ # fix python unexpected paths QA
+ mkdir -p "${D}/$(python_get_sitedir)" || die
+ mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die
+ fi
}