1 |
commit: cb9052216ce3190206b13483769d37050dcbc991 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 27 07:55:35 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 27 08:19:07 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb905221 |
7 |
|
8 |
dev-cpp/libjson-rpc-cpp: Drop old |
9 |
|
10 |
dev-cpp/libjson-rpc-cpp/Manifest | 2 - |
11 |
.../libjson-rpc-cpp/libjson-rpc-cpp-0.5.0.ebuild | 51 ------------------ |
12 |
.../libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild | 60 ---------------------- |
13 |
3 files changed, 113 deletions(-) |
14 |
|
15 |
diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest |
16 |
index 8dd250f9ef0..c270493d619 100644 |
17 |
--- a/dev-cpp/libjson-rpc-cpp/Manifest |
18 |
+++ b/dev-cpp/libjson-rpc-cpp/Manifest |
19 |
@@ -1,3 +1 @@ |
20 |
-DIST libjson-rpc-cpp-0.5.0.tar.gz 124494 SHA256 e6d8d6c20517bb38eba9dba7f372e0a95432c4cbf55ec9b136ba841faa0a6d99 SHA512 9929f76899186f62d3201d3c884a4557e3bd55acfe0533b9a0cf543e01e6d2e5972239df7425c1a43bd59fd205261b91796fdaa1ab54b55cb5765250e473d2d4 WHIRLPOOL 95b51bdfd86e63e84556c490281829d211d937cb30a503b863180cac4a2a0894eb03ed931511e9336903f1ddad6b899921e1e09663af9cc0e5739569ddc14472 |
21 |
-DIST libjson-rpc-cpp-0.6.0.tar.gz 130091 SHA256 98baf15e51514339be54c01296f0a51820d2d4f17f8c9d586f1747be1df3290b SHA512 8ad4e30b9ff8b53bde1671067ef6108d0a26a40d3925b2002c2aad9d66a17a51b1ea23b7ce278bcb56a992ff4c9a4616494d62dfe992c7db38341b449e88c777 WHIRLPOOL 0d6b75a29f84386086f070bb1a40e45d02f19dee567c9bd492d61aff84b470aed4d0b83879cfddb13e5109ad5d57a055f9b23b66016eb4319ed7dacd89da8474 |
22 |
DIST libjson-rpc-cpp-0.7.0.tar.gz 141665 SHA256 669c2259909f11a8c196923a910f9a16a8225ecc14e6c30e2bcb712bab9097eb SHA512 f7547271040382cd2ac96a31eb81d891b016e4d0c33a3ba3e659c2de2e55136e7e243dd2d959c6d8a64ccba7ebd9f9e28070d710a6770c29f81c0750ffad9e3a WHIRLPOOL b54121c95f47654a36623c4267a22f4d563bc6f863b2df205b1ea4142a8230e64e5fc0725f8e8cef7d79abdfdad5de118464993b6b503ff2cec9f4e077014201 |
23 |
|
24 |
diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.5.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.5.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 7c0c842d4ca..00000000000 |
27 |
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.5.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,51 +0,0 @@ |
30 |
-# Copyright 1999-2015 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=5 |
34 |
- |
35 |
-inherit cmake-utils |
36 |
- |
37 |
-DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++" |
38 |
-HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp" |
39 |
-SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
40 |
- |
41 |
-LICENSE="MIT" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~amd64 ~x86" |
44 |
-IUSE="doc +http-client +http-server +stubgen test" |
45 |
- |
46 |
-RDEPEND=" |
47 |
- dev-libs/jsoncpp:= |
48 |
- http-client? ( net-misc/curl:= ) |
49 |
- http-server? ( net-libs/libmicrohttpd:= ) |
50 |
- stubgen? ( dev-libs/argtable:= )" |
51 |
-DEPEND="${RDEPEND} |
52 |
- doc? ( app-doc/doxygen ) |
53 |
- test? ( dev-libs/boost )" |
54 |
- |
55 |
-RESTRICT="!test? ( test )" |
56 |
- |
57 |
-src_configure() { |
58 |
- local mycmakeargs=( |
59 |
- -DHTTP_CLIENT=$(usex http-client) |
60 |
- -DHTTP_SERVER=$(usex http-server) |
61 |
- # they are not installed |
62 |
- -DCOMPILE_EXAMPLES=NO |
63 |
- -DCOMPILE_STUBGEN=$(usex stubgen) |
64 |
- -DCOMPILE_TESTS=$(usex test) |
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_install() { |
77 |
- cmake-utils_src_install |
78 |
- |
79 |
- use doc && dodoc -r "${BUILD_DIR}"/doc/html |
80 |
-} |
81 |
|
82 |
diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild |
83 |
deleted file mode 100644 |
84 |
index fd2213fcc9a..00000000000 |
85 |
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild |
86 |
+++ /dev/null |
87 |
@@ -1,60 +0,0 @@ |
88 |
-# Copyright 1999-2016 Gentoo Foundation |
89 |
-# Distributed under the terms of the GNU General Public License v2 |
90 |
- |
91 |
-EAPI=6 |
92 |
- |
93 |
-inherit cmake-utils |
94 |
- |
95 |
-DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++" |
96 |
-HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp" |
97 |
-SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
98 |
- |
99 |
-LICENSE="MIT" |
100 |
-SLOT="0" |
101 |
-KEYWORDS="~amd64 ~x86" |
102 |
-IUSE="doc +http-client +http-server +stubgen test" |
103 |
- |
104 |
-RDEPEND=" |
105 |
- dev-libs/jsoncpp:= |
106 |
- http-client? ( net-misc/curl:= ) |
107 |
- http-server? ( net-libs/libmicrohttpd:= ) |
108 |
- stubgen? ( dev-libs/argtable:= )" |
109 |
-DEPEND="${RDEPEND} |
110 |
- doc? ( app-doc/doxygen ) |
111 |
- test? ( dev-cpp/catch )" |
112 |
- |
113 |
-RESTRICT="!test? ( test )" |
114 |
- |
115 |
-src_prepare() { |
116 |
- default |
117 |
- |
118 |
- # https://github.com/cinemast/libjson-rpc-cpp/pull/161 |
119 |
- sed -i -e '/DESTINATION/s:lib:lib${LIB_SUFFIX}:' \ |
120 |
- src/jsonrpccpp/CMakeLists.txt || die |
121 |
-} |
122 |
- |
123 |
-src_configure() { |
124 |
- local mycmakeargs=( |
125 |
- -DHTTP_CLIENT=$(usex http-client) |
126 |
- -DHTTP_SERVER=$(usex http-server) |
127 |
- # they are not installed but required for tests to build |
128 |
- -DCOMPILE_EXAMPLES=$(usex test) |
129 |
- -DCOMPILE_STUBGEN=$(usex stubgen) |
130 |
- -DCOMPILE_TESTS=$(usex test) |
131 |
- -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch" |
132 |
- ) |
133 |
- |
134 |
- cmake-utils_src_configure |
135 |
-} |
136 |
- |
137 |
-src_compile() { |
138 |
- cmake-utils_src_compile |
139 |
- |
140 |
- use doc && emake -C "${BUILD_DIR}" doc |
141 |
-} |
142 |
- |
143 |
-src_install() { |
144 |
- cmake-utils_src_install |
145 |
- |
146 |
- use doc && dodoc -r "${BUILD_DIR}"/doc/html |
147 |
-} |