Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/
Date: Sat, 26 Feb 2022 23:26:07
Message-Id: 1645917931.f71d36dc69b158caf414072506449ff107d68646.sam@gentoo
1 commit: f71d36dc69b158caf414072506449ff107d68646
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 23:23:35 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 23:25:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71d36dc
7
8 dev-cpp/libjson-rpc-cpp: drop 1.3.0
9
10 Broken with newer libmicrohttpd. 1.4.0, which is in tree, works.
11
12 Closes: https://bugs.gentoo.org/730918
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 dev-cpp/libjson-rpc-cpp/Manifest | 1 -
16 .../libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild | 68 ----------------------
17 2 files changed, 69 deletions(-)
18
19 diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
20 index 9296ea8ddd57..4173caf1a46e 100644
21 --- a/dev-cpp/libjson-rpc-cpp/Manifest
22 +++ b/dev-cpp/libjson-rpc-cpp/Manifest
23 @@ -1,2 +1 @@
24 -DIST libjson-rpc-cpp-1.3.0.tar.gz 182354 BLAKE2B 512392c37e61833a98c1f682bdbb3ed0e3c72ff56f17407d49e5a0f134795daf5ff4c2702dd5222bfc8962b2c9a56c0c7856cc8fe1b923ea68c369a24d334b5c SHA512 4eb53c7b77845a0e845e42413c491dcfa1d6f72411276e8614dae6612edde8905013588465437ea39c5cc5700c2d48df07d15c83222924fc24e015fb9f7a02ea
25 DIST libjson-rpc-cpp-1.4.0.tar.gz 179478 BLAKE2B 1b5807665a5e055790a6ca3e977845ab6b8dc7fbcaf6baece170567cc4c5b16202b74cb72f47136a075352ee408dac26de85cf02e41873cbbb55aeac1145e1a6 SHA512 28774604fe91f0893fb36017f648556dced71cb731f0f76c95084af5dd35e167b69a0f5fdb64557ff273f7dc971bc6c469e4f32ada35d7cac18add18baf2f5ae
26
27 diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild
28 deleted file mode 100644
29 index 81b0d2bc5010..000000000000
30 --- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild
31 +++ /dev/null
32 @@ -1,68 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit cmake
39 -
40 -DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++"
41 -HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp"
42 -SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0/1"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
48 -RESTRICT="!test? ( test )"
49 -
50 -RDEPEND="
51 - dev-libs/jsoncpp:=
52 - http-client? ( net-misc/curl:= )
53 - http-server? ( net-libs/libmicrohttpd:= )
54 - redis-client? ( dev-libs/hiredis:= )
55 - redis-server? ( dev-libs/hiredis:= )
56 - stubgen? ( dev-libs/argtable:= )"
57 -DEPEND="${RDEPEND}
58 - doc? ( app-doc/doxygen )
59 - test? ( dev-cpp/catch:0 )"
60 -
61 -src_configure() {
62 - local mycmakeargs=(
63 - -DHTTP_CLIENT=$(usex http-client)
64 - -DHTTP_SERVER=$(usex http-server)
65 - -DREDIS_CLIENT=$(usex redis-client)
66 - -DREDIS_SERVER=$(usex redis-server)
67 - # they have no deps
68 - -DTCP_SOCKET_CLIENT=ON
69 - -DTCP_SOCKET_SERVER=ON
70 - -DSERIAL_PORT_CLIENT=ON
71 - -DSERIAL_PORT_SERVER=ON
72 - -DUNIX_DOMAIN_SOCKET_CLIENT=ON
73 - -DUNIX_DOMAIN_SOCKET_SERVER=ON
74 - # they are not installed
75 - -DCOMPILE_EXAMPLES=OFF
76 - -DCOMPILE_STUBGEN=$(usex stubgen)
77 - -DCOMPILE_TESTS=$(usex test)
78 - -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
79 - )
80 -
81 - cmake_src_configure
82 -}
83 -
84 -src_compile() {
85 - cmake_src_compile
86 -
87 - use doc && emake -C "${BUILD_DIR}" doc
88 -}
89 -
90 -src_test() {
91 - # Tests fail randomly when run in parallel
92 - local MAKEOPTS=-j1
93 - cmake_src_test
94 -}
95 -
96 -src_install() {
97 - cmake_src_install
98 -
99 - use doc && dodoc -r "${BUILD_DIR}"/doc/html
100 -}