1 |
commit: d3304d1eff4914a5945924bf9b3fbe49bb9c813f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 26 06:38:14 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 26 16:13:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3304d1e |
7 |
|
8 |
dev-cpp/libjson-rpc-cpp: Drop old |
9 |
|
10 |
dev-cpp/libjson-rpc-cpp/Manifest | 1 - |
11 |
.../libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild | 58 -------------------- |
12 |
.../libjson-rpc-cpp/libjson-rpc-cpp-1.1.0.ebuild | 62 ---------------------- |
13 |
3 files changed, 121 deletions(-) |
14 |
|
15 |
diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest |
16 |
index 29d36353b7e..35423b5d5a0 100644 |
17 |
--- a/dev-cpp/libjson-rpc-cpp/Manifest |
18 |
+++ b/dev-cpp/libjson-rpc-cpp/Manifest |
19 |
@@ -1,2 +1 @@ |
20 |
-DIST libjson-rpc-cpp-0.7.0.tar.gz 141665 BLAKE2B d52a5062fb16d2c356b1b6f8bd3576694bbaaf4908d3979c51e99ae31da2e503c90132674a43fcb1010ad3b5e04f839be6770225419879e5cf0f362f2b12ebf6 SHA512 f7547271040382cd2ac96a31eb81d891b016e4d0c33a3ba3e659c2de2e55136e7e243dd2d959c6d8a64ccba7ebd9f9e28070d710a6770c29f81c0750ffad9e3a |
21 |
DIST libjson-rpc-cpp-1.1.0.tar.gz 179442 BLAKE2B cfbfe703d1a3d4ccaf6d4d475a7c1686c8f7afc28b025d6fd3bfebdc41cff2b944e6600e68073c1b7e7c0a2463cbf6e9724cf618c5d481bf7a4600019b529922 SHA512 bf34eedb196b1e214292976036a00e933f8a9b4325441ea2e4ae049a7c818014a68dd9d2f22d01588f5e6d1e9f465c73a133b0fd8282f8cf78a05a493f4c461b |
22 |
|
23 |
diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild |
24 |
deleted file mode 100644 |
25 |
index 26d68e2e5f1..00000000000 |
26 |
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild |
27 |
+++ /dev/null |
28 |
@@ -1,58 +0,0 @@ |
29 |
-# Copyright 1999-2016 Gentoo Foundation |
30 |
-# Distributed under the terms of the GNU General Public License v2 |
31 |
- |
32 |
-EAPI=6 |
33 |
- |
34 |
-inherit cmake-utils |
35 |
- |
36 |
-DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++" |
37 |
-HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp" |
38 |
-SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
- |
40 |
-LICENSE="MIT" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="~amd64 ~x86" |
43 |
-IUSE="doc +http-client +http-server +stubgen test" |
44 |
- |
45 |
-RDEPEND=" |
46 |
- dev-libs/jsoncpp:= |
47 |
- http-client? ( net-misc/curl:= ) |
48 |
- http-server? ( net-libs/libmicrohttpd:= ) |
49 |
- stubgen? ( dev-libs/argtable:= )" |
50 |
-DEPEND="${RDEPEND} |
51 |
- doc? ( app-doc/doxygen ) |
52 |
- test? ( dev-cpp/catch )" |
53 |
- |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-src_configure() { |
57 |
- local mycmakeargs=( |
58 |
- -DHTTP_CLIENT=$(usex http-client) |
59 |
- -DHTTP_SERVER=$(usex http-server) |
60 |
- # they are not installed |
61 |
- -DCOMPILE_EXAMPLES=OFF |
62 |
- -DCOMPILE_STUBGEN=$(usex stubgen) |
63 |
- -DCOMPILE_TESTS=$(usex test) |
64 |
- -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch" |
65 |
- ) |
66 |
- |
67 |
- cmake-utils_src_configure |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- cmake-utils_src_compile |
72 |
- |
73 |
- use doc && emake -C "${BUILD_DIR}" doc |
74 |
-} |
75 |
- |
76 |
-src_test() { |
77 |
- # Tests fail randomly when run in parallel |
78 |
- local MAKEOPTS=-j1 |
79 |
- cmake-utils_src_test |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- cmake-utils_src_install |
84 |
- |
85 |
- use doc && dodoc -r "${BUILD_DIR}"/doc/html |
86 |
-} |
87 |
|
88 |
diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0.ebuild |
89 |
deleted file mode 100644 |
90 |
index c43516bb191..00000000000 |
91 |
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0.ebuild |
92 |
+++ /dev/null |
93 |
@@ -1,62 +0,0 @@ |
94 |
-# Copyright 1999-2018 Gentoo Foundation |
95 |
-# Distributed under the terms of the GNU General Public License v2 |
96 |
- |
97 |
-EAPI=6 |
98 |
- |
99 |
-inherit cmake-utils |
100 |
- |
101 |
-DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++" |
102 |
-HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp" |
103 |
-SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
104 |
- |
105 |
-LICENSE="MIT" |
106 |
-SLOT="0/1" |
107 |
-KEYWORDS="~amd64 ~x86" |
108 |
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test" |
109 |
- |
110 |
-RDEPEND=" |
111 |
- dev-libs/jsoncpp:= |
112 |
- http-client? ( net-misc/curl:= ) |
113 |
- http-server? ( net-libs/libmicrohttpd:= ) |
114 |
- redis-client? ( dev-libs/hiredis:= ) |
115 |
- redis-server? ( dev-libs/hiredis:= ) |
116 |
- stubgen? ( dev-libs/argtable:= )" |
117 |
-DEPEND="${RDEPEND} |
118 |
- doc? ( app-doc/doxygen ) |
119 |
- test? ( dev-cpp/catch )" |
120 |
- |
121 |
-RESTRICT="!test? ( test )" |
122 |
- |
123 |
-src_configure() { |
124 |
- local mycmakeargs=( |
125 |
- -DHTTP_CLIENT=$(usex http-client) |
126 |
- -DHTTP_SERVER=$(usex http-server) |
127 |
- -DREDIS_CLIENT=$(usex redis-client) |
128 |
- -DREDIS_SERVER=$(usex redis-server) |
129 |
- # they are not installed |
130 |
- -DCOMPILE_EXAMPLES=OFF |
131 |
- -DCOMPILE_STUBGEN=$(usex stubgen) |
132 |
- -DCOMPILE_TESTS=$(usex test) |
133 |
- -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch" |
134 |
- ) |
135 |
- |
136 |
- cmake-utils_src_configure |
137 |
-} |
138 |
- |
139 |
-src_compile() { |
140 |
- cmake-utils_src_compile |
141 |
- |
142 |
- use doc && emake -C "${BUILD_DIR}" doc |
143 |
-} |
144 |
- |
145 |
-src_test() { |
146 |
- # Tests fail randomly when run in parallel |
147 |
- local MAKEOPTS=-j1 |
148 |
- cmake-utils_src_test |
149 |
-} |
150 |
- |
151 |
-src_install() { |
152 |
- cmake-utils_src_install |
153 |
- |
154 |
- use doc && dodoc -r "${BUILD_DIR}"/doc/html |
155 |
-} |