From c1bcbc12319ba4a42e62d85f54b3d1a93a745b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 12 Dec 2022 18:43:03 +0100 Subject: dev-cpp/libjson-rpc-cpp: Tests require catch<3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild | 25 ++++++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'dev-cpp/libjson-rpc-cpp') diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild index 3d9e42dd0fce..e80e82ba5964 100644 --- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild +++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild @@ -6,8 +6,11 @@ EAPI=8 inherit cmake DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++" -HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp" -SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp/" +SRC_URI=" + https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" LICENSE="MIT" SLOT="0/1" @@ -15,16 +18,22 @@ KEYWORDS="~amd64 ~x86" IUSE="+http-client +http-server redis-client redis-server +stubgen test" RESTRICT="!test? ( test )" -RDEPEND=" +DEPEND=" dev-libs/jsoncpp:= http-client? ( net-misc/curl:= ) http-server? ( net-libs/libmicrohttpd:= ) redis-client? ( dev-libs/hiredis:= ) redis-server? ( dev-libs/hiredis:= ) - stubgen? ( dev-libs/argtable:= )" -DEPEND="${RDEPEND}" + stubgen? ( dev-libs/argtable:= ) +" +RDEPEND=" + ${DEPEND} +" BDEPEND=" - test? ( dev-cpp/catch:0 )" + test? ( +