From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/opensmt/
Date: Fri, 13 Jan 2023 18:58:43 +0000 (UTC) [thread overview]
Message-ID: <1673636319.07c1e07de1d95f15bcbf554e8648686e62a00098.xgqt@gentoo> (raw)
commit: 07c1e07de1d95f15bcbf554e8648686e62a00098
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 18:49:50 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 18:58:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c1e07d
sci-mathematics/opensmt: prevent fetching googletest
Closes: https://bugs.gentoo.org/890722
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../opensmt/{opensmt-2.4.3.ebuild => opensmt-2.4.3-r1.ebuild} | 6 ++++++
sci-mathematics/opensmt/opensmt-2.4.3.ebuild | 7 +++++++
2 files changed, 13 insertions(+)
diff --git a/sci-mathematics/opensmt/opensmt-2.4.3.ebuild b/sci-mathematics/opensmt/opensmt-2.4.3-r1.ebuild
similarity index 92%
copy from sci-mathematics/opensmt/opensmt-2.4.3.ebuild
copy to sci-mathematics/opensmt/opensmt-2.4.3-r1.ebuild
index 6fa8666a57f1..b1e67e45cbad 100644
--- a/sci-mathematics/opensmt/opensmt-2.4.3.ebuild
+++ b/sci-mathematics/opensmt/opensmt-2.4.3-r1.ebuild
@@ -36,6 +36,12 @@ BDEPEND="
test? ( dev-cpp/gtest )
"
+src_prepare() {
+ cmake_src_prepare
+
+ echo "add_subdirectory(unit)" > "${S}"/test/CMakeLists.txt || die
+}
+
src_configure() {
local CMAKE_BUILD_TYPE
if use debug ; then
diff --git a/sci-mathematics/opensmt/opensmt-2.4.3.ebuild b/sci-mathematics/opensmt/opensmt-2.4.3.ebuild
index 6fa8666a57f1..089f834988bc 100644
--- a/sci-mathematics/opensmt/opensmt-2.4.3.ebuild
+++ b/sci-mathematics/opensmt/opensmt-2.4.3.ebuild
@@ -36,6 +36,13 @@ BDEPEND="
test? ( dev-cpp/gtest )
"
+src_prepare() {
+ cmake_src_prepare
+
+ echo "add_subdirectory(unit)" > "${S}"/test/CMakeLists.txt || die
+ echo "add_subdirectory(unit)" > "${S}"/parallel-test/CMakeLists.txt || die
+}
+
src_configure() {
local CMAKE_BUILD_TYPE
if use debug ; then
next reply other threads:[~2023-01-13 18:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 18:58 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-19 15:30 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/opensmt/ Maciej Barć
2023-08-17 13:22 Maciej Barć
2023-08-15 11:59 Maciej Barć
2023-08-15 11:59 Maciej Barć
2023-06-28 1:12 Maciej Barć
2023-06-28 1:12 Maciej Barć
2023-04-15 17:22 Maciej Barć
2023-04-13 21:27 Maciej Barć
2023-02-06 17:23 Maciej Barć
2023-01-13 18:58 Maciej Barć
2023-01-09 1:54 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1673636319.07c1e07de1d95f15bcbf554e8648686e62a00098.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox