summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2024-03-17 07:08:46 -0700
committerYixun Lan <dlan@gentoo.org>2024-03-17 23:11:09 +0000
commit37d9b41aa4872eef5ecfa27263874b798d794257 (patch)
treee48d414b5b7afb37f076aa06517c4189a68cdb2a /sci-electronics
parentsci-electronics/kicad-meta: add 8.0.1 (diff)
downloadgentoo-37d9b41aa4872eef5ecfa27263874b798d794257.tar.gz
gentoo-37d9b41aa4872eef5ecfa27263874b798d794257.tar.bz2
gentoo-37d9b41aa4872eef5ecfa27263874b798d794257.zip
sci-electronics/kicad: Fix failing tests
Closes: https://bugs.gentoo.org/895012 Closes: https://github.com/gentoo/gentoo/pull/35798 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad/kicad-7.0.10.ebuild6
-rw-r--r--sci-electronics/kicad/kicad-7.0.11.ebuild6
-rw-r--r--sci-electronics/kicad/kicad-7.0.7.ebuild6
-rw-r--r--sci-electronics/kicad/kicad-8.0.0.ebuild6
-rw-r--r--sci-electronics/kicad/kicad-8.0.1.ebuild6
-rw-r--r--sci-electronics/kicad/kicad-9999.ebuild6
6 files changed, 30 insertions, 6 deletions
diff --git a/sci-electronics/kicad/kicad-7.0.10.ebuild b/sci-electronics/kicad/kicad-7.0.10.ebuild
index 3cb993d8a376..bcbe17a2e692 100644
--- a/sci-electronics/kicad/kicad-7.0.10.ebuild
+++ b/sci-electronics/kicad/kicad-7.0.10.ebuild
@@ -60,6 +60,9 @@ COMMON_DEPEND="
nls? (
sys-devel/gettext
)
+ test? (
+ media-gfx/cairosvg
+ )
"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
@@ -133,7 +136,8 @@ src_compile() {
src_test() {
# Test cannot find library in Portage's sandbox. Let's create a link so test can run.
- ln -s "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
+ mkdir -p "${BUILD_DIR}/qa/eeschema/" || die
+ dosym "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
# LD_LIBRARY_PATH is there to help it pick up the just-built libraries
LD_LIBRARY_PATH="${BUILD_DIR}/3d-viewer/3d_cache/sg:${LD_LIBRARY_PATH}" cmake_src_test
diff --git a/sci-electronics/kicad/kicad-7.0.11.ebuild b/sci-electronics/kicad/kicad-7.0.11.ebuild
index 3cb993d8a376..bcbe17a2e692 100644
--- a/sci-electronics/kicad/kicad-7.0.11.ebuild
+++ b/sci-electronics/kicad/kicad-7.0.11.ebuild
@@ -60,6 +60,9 @@ COMMON_DEPEND="
nls? (
sys-devel/gettext
)
+ test? (
+ media-gfx/cairosvg
+ )
"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
@@ -133,7 +136,8 @@ src_compile() {
src_test() {
# Test cannot find library in Portage's sandbox. Let's create a link so test can run.
- ln -s "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
+ mkdir -p "${BUILD_DIR}/qa/eeschema/" || die
+ dosym "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
# LD_LIBRARY_PATH is there to help it pick up the just-built libraries
LD_LIBRARY_PATH="${BUILD_DIR}/3d-viewer/3d_cache/sg:${LD_LIBRARY_PATH}" cmake_src_test
diff --git a/sci-electronics/kicad/kicad-7.0.7.ebuild b/sci-electronics/kicad/kicad-7.0.7.ebuild
index c15e0ff6f61e..a388f06cdded 100644
--- a/sci-electronics/kicad/kicad-7.0.7.ebuild
+++ b/sci-electronics/kicad/kicad-7.0.7.ebuild
@@ -58,6 +58,9 @@ COMMON_DEPEND="
nls? (
sys-devel/gettext
)
+ test? (
+ media-gfx/cairosvg
+ )
"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
@@ -129,7 +132,8 @@ src_compile() {
src_test() {
# Test cannot find library in Portage's sandbox. Let's create a link so test can run.
- ln -s "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
+ mkdir -p "${BUILD_DIR}/qa/eeschema/" || die
+ dosym "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
# LD_LIBRARY_PATH is there to help it pick up the just-built libraries
LD_LIBRARY_PATH="${BUILD_DIR}/3d-viewer/3d_cache/sg:${LD_LIBRARY_PATH}" cmake_src_test
diff --git a/sci-electronics/kicad/kicad-8.0.0.ebuild b/sci-electronics/kicad/kicad-8.0.0.ebuild
index 66b5e2a9bbaf..5780889b5538 100644
--- a/sci-electronics/kicad/kicad-8.0.0.ebuild
+++ b/sci-electronics/kicad/kicad-8.0.0.ebuild
@@ -62,6 +62,9 @@ COMMON_DEPEND="
nls? (
sys-devel/gettext
)
+ test? (
+ media-gfx/cairosvg
+ )
"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
@@ -134,7 +137,8 @@ src_compile() {
src_test() {
# Test cannot find library in Portage's sandbox. Let's create a link so test can run.
- ln -s "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
+ mkdir -p "${BUILD_DIR}/qa/eeschema/" || die
+ dosym "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
# LD_LIBRARY_PATH is there to help it pick up the just-built libraries
LD_LIBRARY_PATH="${BUILD_DIR}/3d-viewer/3d_cache/sg:${LD_LIBRARY_PATH}" cmake_src_test
diff --git a/sci-electronics/kicad/kicad-8.0.1.ebuild b/sci-electronics/kicad/kicad-8.0.1.ebuild
index 66b5e2a9bbaf..5780889b5538 100644
--- a/sci-electronics/kicad/kicad-8.0.1.ebuild
+++ b/sci-electronics/kicad/kicad-8.0.1.ebuild
@@ -62,6 +62,9 @@ COMMON_DEPEND="
nls? (
sys-devel/gettext
)
+ test? (
+ media-gfx/cairosvg
+ )
"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
@@ -134,7 +137,8 @@ src_compile() {
src_test() {
# Test cannot find library in Portage's sandbox. Let's create a link so test can run.
- ln -s "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
+ mkdir -p "${BUILD_DIR}/qa/eeschema/" || die
+ dosym "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
# LD_LIBRARY_PATH is there to help it pick up the just-built libraries
LD_LIBRARY_PATH="${BUILD_DIR}/3d-viewer/3d_cache/sg:${LD_LIBRARY_PATH}" cmake_src_test
diff --git a/sci-electronics/kicad/kicad-9999.ebuild b/sci-electronics/kicad/kicad-9999.ebuild
index 66b5e2a9bbaf..5780889b5538 100644
--- a/sci-electronics/kicad/kicad-9999.ebuild
+++ b/sci-electronics/kicad/kicad-9999.ebuild
@@ -62,6 +62,9 @@ COMMON_DEPEND="
nls? (
sys-devel/gettext
)
+ test? (
+ media-gfx/cairosvg
+ )
"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
@@ -134,7 +137,8 @@ src_compile() {
src_test() {
# Test cannot find library in Portage's sandbox. Let's create a link so test can run.
- ln -s "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
+ mkdir -p "${BUILD_DIR}/qa/eeschema/" || die
+ dosym "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
# LD_LIBRARY_PATH is there to help it pick up the just-built libraries
LD_LIBRARY_PATH="${BUILD_DIR}/3d-viewer/3d_cache/sg:${LD_LIBRARY_PATH}" cmake_src_test