From: "Oliver Freyermuth" <o.freyermuth@googlemail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/scitokens-cpp/, dev-cpp/scitokens-cpp/files/
Date: Sun, 27 Feb 2022 14:51:32 +0000 (UTC) [thread overview]
Message-ID: <1645973489.dac4048ba0ff88b2564a7ebfbbd29c267fd39a80.freyermuth@gentoo> (raw)
commit: dac4048ba0ff88b2564a7ebfbbd29c267fd39a80
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sun Feb 27 14:51:29 2022 +0000
Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
CommitDate: Sun Feb 27 14:51:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dac4048b
dev-cpp/scitokens-cpp: Install binaries and lib also if USE=TEST.
Upstream disables installation hard in that case.
See also: https://github.com/scitokens/scitokens-cpp/issues/82
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
.../scitokens-cpp-0.7.0-install-when-testing.patch | 21 +++++++++++++++++++++
dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild | 4 ++++
2 files changed, 25 insertions(+)
diff --git a/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch b/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch
new file mode 100644
index 000000000..c2b500810
--- /dev/null
+++ b/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch
@@ -0,0 +1,21 @@
+Bug: https://github.com/scitokens/scitokens-cpp/issues/82
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ec5c878..611afb1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -81,13 +81,12 @@ endif()
+ enable_testing()
+ add_subdirectory(test)
+
+-else()
++endif()
+ get_directory_property(TARGETS BUILDSYSTEM_TARGETS)
+ install(
+ TARGETS ${TARGETS}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
+-endif()
+
+ install(
+ FILES src/scitokens.h
diff --git a/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild b/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild
index a926a4b9f..bef1bbae6 100644
--- a/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild
+++ b/dev-cpp/scitokens-cpp/scitokens-cpp-0.7.0.ebuild
@@ -30,6 +30,10 @@ DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
BDEPEND="virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/"${PN}"-0.7.0-install-when-testing.patch
+)
+
src_prepare() {
# Unbundle dev-cpp/gtest, dev-cpp/jwt-cpp
rm -rvf vendor
next reply other threads:[~2022-02-27 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-27 14:51 Oliver Freyermuth [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-22 20:15 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/scitokens-cpp/, dev-cpp/scitokens-cpp/files/ Oliver Freyermuth
2022-11-01 13:08 Oliver Freyermuth
2023-06-08 12:36 Anna Vyalkova
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=1645973489.dac4048ba0ff88b2564a7ebfbbd29c267fd39a80.freyermuth@gentoo \
--to=o.freyermuth@googlemail.com \
--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