[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2022-12-12 Thread Michał Górny
commit: df359c8eb436ead66affc6c8e205a8c16555e404
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 12 17:36:12 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 12 17:58:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df359c8e

dev-cpp/libjson-rpc-cpp: Disable coverage-related flags

Closes: https://bugs.gentoo.org/885613
Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 f1b78fc655fc..3d9e42dd0fce 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
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -44,6 +44,8 @@ src_configure() {
-DCOMPILE_STUBGEN=$(usex stubgen)
-DCOMPILE_TESTS=$(usex test)
-DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
+   # disable coverage-related flags
+   -DWITH_COVERAGE=OFF
)
 
cmake_src_configure



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2022-12-12 Thread Michał Górny
commit: c1bcbc12319ba4a42e62d85f54b3d1a93a745b36
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 12 17:43:03 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 12 17:58:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1bcbc12

dev-cpp/libjson-rpc-cpp: Tests require catch<3

Signed-off-by: Michał Górny  gentoo.org>

 .../libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild   | 25 --
 1 file changed, 18 insertions(+), 7 deletions(-)

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? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2022-02-26 Thread Sam James
commit: f71d36dc69b158caf414072506449ff107d68646
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 26 23:23:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 26 23:25:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71d36dc

dev-cpp/libjson-rpc-cpp: drop 1.3.0

Broken with newer libmicrohttpd. 1.4.0, which is in tree, works.

Closes: https://bugs.gentoo.org/730918
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 -
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild   | 68 --
 2 files changed, 69 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 9296ea8ddd57..4173caf1a46e 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1,2 +1 @@
-DIST libjson-rpc-cpp-1.3.0.tar.gz 182354 BLAKE2B 
512392c37e61833a98c1f682bdbb3ed0e3c72ff56f17407d49e5a0f134795daf5ff4c2702dd5222bfc8962b2c9a56c0c7856cc8fe1b923ea68c369a24d334b5c
 SHA512 
4eb53c7b77845a0e845e42413c491dcfa1d6f72411276e8614dae6612edde8905013588465437ea39c5cc5700c2d48df07d15c83222924fc24e015fb9f7a02ea
 DIST libjson-rpc-cpp-1.4.0.tar.gz 179478 BLAKE2B 
1b5807665a5e055790a6ca3e977845ab6b8dc7fbcaf6baece170567cc4c5b16202b74cb72f47136a075352ee408dac26de85cf02e41873cbbb55aeac1145e1a6
 SHA512 
28774604fe91f0893fb36017f648556dced71cb731f0f76c95084af5dd35e167b69a0f5fdb64557ff273f7dc971bc6c469e4f32ada35d7cac18add18baf2f5ae

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
deleted file mode 100644
index 81b0d2bc5010..
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   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}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch:0 )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   -DREDIS_CLIENT=$(usex redis-client)
-   -DREDIS_SERVER=$(usex redis-server)
-   # they have no deps
-   -DTCP_SOCKET_CLIENT=ON
-   -DTCP_SOCKET_SERVER=ON
-   -DSERIAL_PORT_CLIENT=ON
-   -DSERIAL_PORT_SERVER=ON
-   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
-   -DUNIX_DOMAIN_SOCKET_SERVER=ON
-   # they are not installed
-   -DCOMPILE_EXAMPLES=OFF
-   -DCOMPILE_STUBGEN=$(usex stubgen)
-   -DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
-src_test() {
-   # Tests fail randomly when run in parallel
-   local MAKEOPTS=-j1
-   cmake_src_test
-}
-
-src_install() {
-   cmake_src_install
-
-   use doc && dodoc -r "${BUILD_DIR}"/doc/html
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2021-10-24 Thread Michał Górny
commit: 9b917569c45be9820e11885aa563c430f84cedd2
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 24 08:54:09 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 24 08:54:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b917569

dev-cpp/libjson-rpc-cpp: Remove broken doc support

Closes: https://bugs.gentoo.org/819948
Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild | 15 +--
 1 file changed, 1 insertion(+), 14 deletions(-)

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 02579592624..f1b78fc655f 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
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0/1"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
+IUSE="+http-client +http-server redis-client redis-server +stubgen test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -24,7 +24,6 @@ RDEPEND="
stubgen? ( dev-libs/argtable:= )"
 DEPEND="${RDEPEND}"
 BDEPEND="
-   doc? ( app-doc/doxygen )
test? ( dev-cpp/catch:0 )"
 
 src_configure() {
@@ -50,20 +49,8 @@ src_configure() {
cmake_src_configure
 }
 
-src_compile() {
-   cmake_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
 src_test() {
# Tests fail randomly when run in parallel
local MAKEOPTS=-j1
cmake_src_test
 }
-
-src_install() {
-   cmake_src_install
-
-   use doc && dodoc -r "${BUILD_DIR}"/doc/html
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2021-10-23 Thread Michał Górny
commit: 86a87e5fc856d6ccfcdb27788499dc4ad9fa0212
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 23 19:52:18 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 23 20:19:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a87e5f

dev-cpp/libjson-rpc-cpp: Bump to 1.4.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 +
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild   | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 6c0de9f1f33..9296ea8ddd5 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1 +1,2 @@
 DIST libjson-rpc-cpp-1.3.0.tar.gz 182354 BLAKE2B 
512392c37e61833a98c1f682bdbb3ed0e3c72ff56f17407d49e5a0f134795daf5ff4c2702dd5222bfc8962b2c9a56c0c7856cc8fe1b923ea68c369a24d334b5c
 SHA512 
4eb53c7b77845a0e845e42413c491dcfa1d6f72411276e8614dae6612edde8905013588465437ea39c5cc5700c2d48df07d15c83222924fc24e015fb9f7a02ea
+DIST libjson-rpc-cpp-1.4.0.tar.gz 179478 BLAKE2B 
1b5807665a5e055790a6ca3e977845ab6b8dc7fbcaf6baece170567cc4c5b16202b74cb72f47136a075352ee408dac26de85cf02e41873cbbb55aeac1145e1a6
 SHA512 
28774604fe91f0893fb36017f648556dced71cb731f0f76c95084af5dd35e167b69a0f5fdb64557ff273f7dc971bc6c469e4f32ada35d7cac18add18baf2f5ae

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
new file mode 100644
index 000..02579592624
--- /dev/null
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+LICENSE="MIT"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   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}"
+BDEPEND="
+   doc? ( app-doc/doxygen )
+   test? ( dev-cpp/catch:0 )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DHTTP_CLIENT=$(usex http-client)
+   -DHTTP_SERVER=$(usex http-server)
+   -DREDIS_CLIENT=$(usex redis-client)
+   -DREDIS_SERVER=$(usex redis-server)
+   # they have no deps
+   -DTCP_SOCKET_CLIENT=ON
+   -DTCP_SOCKET_SERVER=ON
+   -DSERIAL_PORT_CLIENT=ON
+   -DSERIAL_PORT_SERVER=ON
+   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
+   -DUNIX_DOMAIN_SOCKET_SERVER=ON
+   # they are not installed
+   -DCOMPILE_EXAMPLES=OFF
+   -DCOMPILE_STUBGEN=$(usex stubgen)
+   -DCOMPILE_TESTS=$(usex test)
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   use doc && emake -C "${BUILD_DIR}" doc
+}
+
+src_test() {
+   # Tests fail randomly when run in parallel
+   local MAKEOPTS=-j1
+   cmake_src_test
+}
+
+src_install() {
+   cmake_src_install
+
+   use doc && dodoc -r "${BUILD_DIR}"/doc/html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2020-03-19 Thread Michał Górny
commit: 49d492b19bfd897cc4336734b3934e7bd6e2dbb5
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 19 17:06:58 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 19 17:20:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d492b1

dev-cpp/libjson-rpc-cpp: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 -
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.2.0.ebuild   | 67 --
 2 files changed, 68 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index e690a4792e1..6c0de9f1f33 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1,2 +1 @@
-DIST libjson-rpc-cpp-1.2.0.tar.gz 180074 BLAKE2B 
e44f4ada4430db178949d89c3db8db18b716347d88c4f41fe558a88053ca3e2e4085fee28a87d32f710f76d57e0de9510383bc04e17adec36b754e3db2466d94
 SHA512 
b03507c9e9dc370d0efe94c3a69b25cbc06b99907a6c145034a283d38d7dd2188a1af89d0ce05837fde28ff96b5bd7bb0903f5865f3eae01d275929a68ea5f99
 DIST libjson-rpc-cpp-1.3.0.tar.gz 182354 BLAKE2B 
512392c37e61833a98c1f682bdbb3ed0e3c72ff56f17407d49e5a0f134795daf5ff4c2702dd5222bfc8962b2c9a56c0c7856cc8fe1b923ea68c369a24d334b5c
 SHA512 
4eb53c7b77845a0e845e42413c491dcfa1d6f72411276e8614dae6612edde8905013588465437ea39c5cc5700c2d48df07d15c83222924fc24e015fb9f7a02ea

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.2.0.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.2.0.ebuild
deleted file mode 100644
index 2ab94282c0a..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.2.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-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"
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
-
-RDEPEND="
-   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}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch:0 )"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   -DREDIS_CLIENT=$(usex redis-client)
-   -DREDIS_SERVER=$(usex redis-server)
-   # they have no deps
-   -DTCP_SOCKET_CLIENT=ON
-   -DTCP_SOCKET_SERVER=ON
-   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
-   -DUNIX_DOMAIN_SOCKET_SERVER=ON
-   # they are not installed
-   -DCOMPILE_EXAMPLES=OFF
-   -DCOMPILE_STUBGEN=$(usex stubgen)
-   -DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
-src_test() {
-   # Tests fail randomly when run in parallel
-   local MAKEOPTS=-j1
-   cmake-utils_src_test
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   use doc && dodoc -r "${BUILD_DIR}"/doc/html
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2020-01-14 Thread Michał Górny
commit: f17dc46012fbde6274b3b3813f24dfc923d67a82
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 15 06:52:39 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 15 07:20:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f17dc460

dev-cpp/libjson-rpc-cpp: Bump to 1.3.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 +
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild   | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 8f42a87b236..e690a4792e1 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1 +1,2 @@
 DIST libjson-rpc-cpp-1.2.0.tar.gz 180074 BLAKE2B 
e44f4ada4430db178949d89c3db8db18b716347d88c4f41fe558a88053ca3e2e4085fee28a87d32f710f76d57e0de9510383bc04e17adec36b754e3db2466d94
 SHA512 
b03507c9e9dc370d0efe94c3a69b25cbc06b99907a6c145034a283d38d7dd2188a1af89d0ce05837fde28ff96b5bd7bb0903f5865f3eae01d275929a68ea5f99
+DIST libjson-rpc-cpp-1.3.0.tar.gz 182354 BLAKE2B 
512392c37e61833a98c1f682bdbb3ed0e3c72ff56f17407d49e5a0f134795daf5ff4c2702dd5222bfc8962b2c9a56c0c7856cc8fe1b923ea68c369a24d334b5c
 SHA512 
4eb53c7b77845a0e845e42413c491dcfa1d6f72411276e8614dae6612edde8905013588465437ea39c5cc5700c2d48df07d15c83222924fc24e015fb9f7a02ea

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
new file mode 100644
index 000..32c82e45e83
--- /dev/null
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+LICENSE="MIT"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   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}
+   doc? ( app-doc/doxygen )
+   test? ( dev-cpp/catch:0 )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DHTTP_CLIENT=$(usex http-client)
+   -DHTTP_SERVER=$(usex http-server)
+   -DREDIS_CLIENT=$(usex redis-client)
+   -DREDIS_SERVER=$(usex redis-server)
+   # they have no deps
+   -DTCP_SOCKET_CLIENT=ON
+   -DTCP_SOCKET_SERVER=ON
+   -DSERIAL_PORT_CLIENT=ON
+   -DSERIAL_PORT_SERVER=ON
+   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
+   -DUNIX_DOMAIN_SOCKET_SERVER=ON
+   # they are not installed
+   -DCOMPILE_EXAMPLES=OFF
+   -DCOMPILE_STUBGEN=$(usex stubgen)
+   -DCOMPILE_TESTS=$(usex test)
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   use doc && emake -C "${BUILD_DIR}" doc
+}
+
+src_test() {
+   # Tests fail randomly when run in parallel
+   local MAKEOPTS=-j1
+   cmake-utils_src_test
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   use doc && dodoc -r "${BUILD_DIR}"/doc/html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2020-01-14 Thread Michał Górny
commit: a3ae37515034530d254392c8f478ee3bd2cdaac2
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 15 06:52:49 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 15 07:20:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ae3751

dev-cpp/libjson-rpc-cpp: Remove unmaintained live ebuild

Signed-off-by: Michał Górny  gentoo.org>

 .../libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild   |  8 +--
 .../libjson-rpc-cpp/libjson-rpc-cpp-.ebuild| 69 --
 2 files changed, 4 insertions(+), 73 deletions(-)

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
index 32c82e45e83..81b0d2bc501 100644
--- 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
@@ -46,11 +46,11 @@ src_configure() {
-DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
)
 
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 src_compile() {
-   cmake-utils_src_compile
+   cmake_src_compile
 
use doc && emake -C "${BUILD_DIR}" doc
 }
@@ -58,11 +58,11 @@ src_compile() {
 src_test() {
# Tests fail randomly when run in parallel
local MAKEOPTS=-j1
-   cmake-utils_src_test
+   cmake_src_test
 }
 
 src_install() {
-   cmake-utils_src_install
+   cmake_src_install
 
use doc && dodoc -r "${BUILD_DIR}"/doc/html
 }

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
deleted file mode 100644
index b5214663cb0..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-EGIT_REPO_URI="https://github.com/cinemast/${PN}.git;
-EGIT_BRANCH=develop
-inherit cmake-utils git-r3
-
-DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++"
-HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp;
-SRC_URI=""
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS=""
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
-
-RDEPEND="
-   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}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch:0 )"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   -DREDIS_CLIENT=$(usex redis-client)
-   -DREDIS_SERVER=$(usex redis-server)
-   # they have no deps
-   -DTCP_SOCKET_CLIENT=ON
-   -DTCP_SOCKET_SERVER=ON
-   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
-   -DUNIX_DOMAIN_SOCKET_SERVER=ON
-   # they are not installed
-   -DCOMPILE_EXAMPLES=OFF
-   -DCOMPILE_STUBGEN=$(usex stubgen)
-   -DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
-src_test() {
-   # Tests fail randomly when run in parallel
-   local MAKEOPTS=-j1
-   cmake-utils_src_test
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   use doc && dodoc -r "${BUILD_DIR}"/doc/html
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2019-04-10 Thread Michał Górny
commit: 8a4e04fc0dda3a3460156e389143d1cccf32e750
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 10 14:29:54 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 10 15:07:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4e04fc

dev-cpp/libjson-rpc-cpp: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 -
 .../libjson-rpc-cpp-1.1.1-r1.ebuild| 67 --
 2 files changed, 68 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 39da56d65db..8f42a87b236 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1,2 +1 @@
-DIST libjson-rpc-cpp-1.1.1.tar.gz 179249 BLAKE2B 
bd8b737f76bceaa1be73d89a1f75472d8eae6f3da57a4da5a5a9eee2a52ba06034bcb4404e6b65368f6be1967c1a8b40f71e3bfbaa58f65b0ac8dced1b3f43af
 SHA512 
64043aee3227262da41b56f6d53e4f8f9a56d3a43b695200020b47fb7eb6e121cf086b6e121c0eccecf381be90d77910d0f4371254d147f33310af4584a7d433
 DIST libjson-rpc-cpp-1.2.0.tar.gz 180074 BLAKE2B 
e44f4ada4430db178949d89c3db8db18b716347d88c4f41fe558a88053ca3e2e4085fee28a87d32f710f76d57e0de9510383bc04e17adec36b754e3db2466d94
 SHA512 
b03507c9e9dc370d0efe94c3a69b25cbc06b99907a6c145034a283d38d7dd2188a1af89d0ce05837fde28ff96b5bd7bb0903f5865f3eae01d275929a68ea5f99

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1-r1.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1-r1.ebuild
deleted file mode 100644
index 2ab94282c0a..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-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"
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
-
-RDEPEND="
-   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}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch:0 )"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   -DREDIS_CLIENT=$(usex redis-client)
-   -DREDIS_SERVER=$(usex redis-server)
-   # they have no deps
-   -DTCP_SOCKET_CLIENT=ON
-   -DTCP_SOCKET_SERVER=ON
-   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
-   -DUNIX_DOMAIN_SOCKET_SERVER=ON
-   # they are not installed
-   -DCOMPILE_EXAMPLES=OFF
-   -DCOMPILE_STUBGEN=$(usex stubgen)
-   -DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
-src_test() {
-   # Tests fail randomly when run in parallel
-   local MAKEOPTS=-j1
-   cmake-utils_src_test
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   use doc && dodoc -r "${BUILD_DIR}"/doc/html
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2019-03-29 Thread Michał Górny
commit: c614fd60bd1ad9b0cb308d6f4265e60529ad82bf
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 29 09:09:13 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 29 09:18:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c614fd60

dev-cpp/libjson-rpc-cpp: Bump to 1.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 +
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.2.0.ebuild   | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index b78014b9799..39da56d65db 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1 +1,2 @@
 DIST libjson-rpc-cpp-1.1.1.tar.gz 179249 BLAKE2B 
bd8b737f76bceaa1be73d89a1f75472d8eae6f3da57a4da5a5a9eee2a52ba06034bcb4404e6b65368f6be1967c1a8b40f71e3bfbaa58f65b0ac8dced1b3f43af
 SHA512 
64043aee3227262da41b56f6d53e4f8f9a56d3a43b695200020b47fb7eb6e121cf086b6e121c0eccecf381be90d77910d0f4371254d147f33310af4584a7d433
+DIST libjson-rpc-cpp-1.2.0.tar.gz 180074 BLAKE2B 
e44f4ada4430db178949d89c3db8db18b716347d88c4f41fe558a88053ca3e2e4085fee28a87d32f710f76d57e0de9510383bc04e17adec36b754e3db2466d94
 SHA512 
b03507c9e9dc370d0efe94c3a69b25cbc06b99907a6c145034a283d38d7dd2188a1af89d0ce05837fde28ff96b5bd7bb0903f5865f3eae01d275929a68ea5f99

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.2.0.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.2.0.ebuild
new file mode 100644
index 000..2ab94282c0a
--- /dev/null
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.2.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+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"
+
+LICENSE="MIT"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
+
+RDEPEND="
+   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}
+   doc? ( app-doc/doxygen )
+   test? ( dev-cpp/catch:0 )"
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DHTTP_CLIENT=$(usex http-client)
+   -DHTTP_SERVER=$(usex http-server)
+   -DREDIS_CLIENT=$(usex redis-client)
+   -DREDIS_SERVER=$(usex redis-server)
+   # they have no deps
+   -DTCP_SOCKET_CLIENT=ON
+   -DTCP_SOCKET_SERVER=ON
+   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
+   -DUNIX_DOMAIN_SOCKET_SERVER=ON
+   # they are not installed
+   -DCOMPILE_EXAMPLES=OFF
+   -DCOMPILE_STUBGEN=$(usex stubgen)
+   -DCOMPILE_TESTS=$(usex test)
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   use doc && emake -C "${BUILD_DIR}" doc
+}
+
+src_test() {
+   # Tests fail randomly when run in parallel
+   local MAKEOPTS=-j1
+   cmake-utils_src_test
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   use doc && dodoc -r "${BUILD_DIR}"/doc/html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2019-03-10 Thread Michał Górny
commit: c9ecf6013214b10db5462e98b2e5c1ab7d4a8d00
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 10 07:43:58 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 10 08:06:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ecf601

dev-cpp/libjson-rpc-cpp: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 -
 .../libjson-rpc-cpp-1.1.0-r1.ebuild| 67 --
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild   | 67 --
 3 files changed, 135 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index fbffd6b0c0e..b78014b9799 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1,2 +1 @@
-DIST libjson-rpc-cpp-1.1.0.tar.gz 179442 BLAKE2B 
cfbfe703d1a3d4ccaf6d4d475a7c1686c8f7afc28b025d6fd3bfebdc41cff2b944e6600e68073c1b7e7c0a2463cbf6e9724cf618c5d481bf7a4600019b529922
 SHA512 
bf34eedb196b1e214292976036a00e933f8a9b4325441ea2e4ae049a7c818014a68dd9d2f22d01588f5e6d1e9f465c73a133b0fd8282f8cf78a05a493f4c461b
 DIST libjson-rpc-cpp-1.1.1.tar.gz 179249 BLAKE2B 
bd8b737f76bceaa1be73d89a1f75472d8eae6f3da57a4da5a5a9eee2a52ba06034bcb4404e6b65368f6be1967c1a8b40f71e3bfbaa58f65b0ac8dced1b3f43af
 SHA512 
64043aee3227262da41b56f6d53e4f8f9a56d3a43b695200020b47fb7eb6e121cf086b6e121c0eccecf381be90d77910d0f4371254d147f33310af4584a7d433

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
deleted file mode 100644
index 614694270fd..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-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"
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
-
-RDEPEND="
-   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}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch:1 )"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   -DREDIS_CLIENT=$(usex redis-client)
-   -DREDIS_SERVER=$(usex redis-server)
-   # they have no deps
-   -DTCP_SOCKET_CLIENT=ON
-   -DTCP_SOCKET_SERVER=ON
-   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
-   -DUNIX_DOMAIN_SOCKET_SERVER=ON
-   # they are not installed
-   -DCOMPILE_EXAMPLES=OFF
-   -DCOMPILE_STUBGEN=$(usex stubgen)
-   -DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
-src_test() {
-   # Tests fail randomly when run in parallel
-   local MAKEOPTS=-j1
-   cmake-utils_src_test
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   use doc && dodoc -r "${BUILD_DIR}"/doc/html
-}

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild
deleted file mode 100644
index 614694270fd..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-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"
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
-
-RDEPEND="
-   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}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch:1 )"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   -DREDIS_CLIENT=$(usex 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2019-01-19 Thread David Seifert
commit: ae9e86c87f7b7068d0ac33e92c7e05eb7c6625c3
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 19 14:20:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 19 14:20:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae9e86c8

dev-cpp/libjson-rpc-cpp: Use SLOTed dev-cpp/catch

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: David Seifert  gentoo.org>

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild | 4 ++--
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1-r1.ebuild | 4 ++--
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild| 4 ++--
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
index d04f0daefd3..614694270fd 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,7 +23,7 @@ RDEPEND="
stubgen? ( dev-libs/argtable:= )"
 DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
-   test? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2018-11-03 Thread Michał Górny
commit: e45d5c13978dbbe8a419ec6d2d761aa8ed20c710
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov  3 10:38:36 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov  3 21:58:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e45d5c13

dev-cpp/libjson-rpc-cpp: Switch to dev-cpp/catch-2

Signed-off-by: Michał Górny  gentoo.org>

 ...n-rpc-cpp-.ebuild => libjson-rpc-cpp-1.1.1-r1.ebuild} | 12 +---
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild  |  4 ++--
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1-r1.ebuild
similarity index 86%
copy from dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
copy to dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1-r1.ebuild
index 0e617416361..fbf180d4cf2 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1-r1.ebuild
@@ -3,17 +3,15 @@
 
 EAPI=6
 
-EGIT_REPO_URI="https://github.com/cinemast/${PN}.git;
-EGIT_BRANCH=develop
-inherit cmake-utils git-r3
+inherit cmake-utils
 
 DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++"
 HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp;
-SRC_URI=""
+SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/1"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
 
 RDEPEND="
@@ -25,7 +23,7 @@ RDEPEND="
stubgen? ( dev-libs/argtable:= )"
 DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
-   test? ( =dev-cpp/catch-2 )"
 
 RESTRICT="!test? ( test )"
 
@@ -44,7 +42,7 @@ src_configure() {
-DCOMPILE_EXAMPLES=OFF
-DCOMPILE_STUBGEN=$(usex stubgen)
-DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
)
 
cmake-utils_src_configure

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
index 0e617416361..1daad1e754b 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
@@ -25,7 +25,7 @@ RDEPEND="
stubgen? ( dev-libs/argtable:= )"
 DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
-   test? ( =dev-cpp/catch-2 )"
 
 RESTRICT="!test? ( test )"
 
@@ -44,7 +44,7 @@ src_configure() {
-DCOMPILE_EXAMPLES=OFF
-DCOMPILE_STUBGEN=$(usex stubgen)
-DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2"
)
 
cmake-utils_src_configure



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2018-11-01 Thread Michał Górny
commit: 64103682c0b482b8ee18ea4cf59707d272a6f5ef
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov  1 07:48:44 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov  1 08:48:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64103682

dev-cpp/libjson-rpc-cpp: Bump to 1.1.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 +
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild   | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 35423b5d5a0..fbffd6b0c0e 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1 +1,2 @@
 DIST libjson-rpc-cpp-1.1.0.tar.gz 179442 BLAKE2B 
cfbfe703d1a3d4ccaf6d4d475a7c1686c8f7afc28b025d6fd3bfebdc41cff2b944e6600e68073c1b7e7c0a2463cbf6e9724cf618c5d481bf7a4600019b529922
 SHA512 
bf34eedb196b1e214292976036a00e933f8a9b4325441ea2e4ae049a7c818014a68dd9d2f22d01588f5e6d1e9f465c73a133b0fd8282f8cf78a05a493f4c461b
+DIST libjson-rpc-cpp-1.1.1.tar.gz 179249 BLAKE2B 
bd8b737f76bceaa1be73d89a1f75472d8eae6f3da57a4da5a5a9eee2a52ba06034bcb4404e6b65368f6be1967c1a8b40f71e3bfbaa58f65b0ac8dced1b3f43af
 SHA512 
64043aee3227262da41b56f6d53e4f8f9a56d3a43b695200020b47fb7eb6e121cf086b6e121c0eccecf381be90d77910d0f4371254d147f33310af4584a7d433

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild
new file mode 100644
index 000..73b204623f7
--- /dev/null
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+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"
+
+LICENSE="MIT"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
+
+RDEPEND="
+   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}
+   doc? ( app-doc/doxygen )
+   test? ( dev-cpp/catch )"
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DHTTP_CLIENT=$(usex http-client)
+   -DHTTP_SERVER=$(usex http-server)
+   -DREDIS_CLIENT=$(usex redis-client)
+   -DREDIS_SERVER=$(usex redis-server)
+   # they have no deps
+   -DTCP_SOCKET_CLIENT=ON
+   -DTCP_SOCKET_SERVER=ON
+   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
+   -DUNIX_DOMAIN_SOCKET_SERVER=ON
+   # they are not installed
+   -DCOMPILE_EXAMPLES=OFF
+   -DCOMPILE_STUBGEN=$(usex stubgen)
+   -DCOMPILE_TESTS=$(usex test)
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   use doc && emake -C "${BUILD_DIR}" doc
+}
+
+src_test() {
+   # Tests fail randomly when run in parallel
+   local MAKEOPTS=-j1
+   cmake-utils_src_test
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   use doc && dodoc -r "${BUILD_DIR}"/doc/html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2018-11-01 Thread Michał Górny
commit: 00605395362ecb80578bb120d512d7ea101777ba
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov  1 08:27:43 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov  1 08:48:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00605395

dev-cpp/libjson-rpc-cpp: Fix test dep to require dev-cpp/catch-1

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild | 2 +-
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.1.ebuild| 2 +-
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
index 73b204623f7..d04f0daefd3 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
stubgen? ( dev-libs/argtable:= )"
 DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch )"
+   test? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2018-03-26 Thread Michał Górny
commit: d3304d1eff4914a5945924bf9b3fbe49bb9c813f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 26 06:38:14 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 26 16:13:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3304d1e

dev-cpp/libjson-rpc-cpp: Drop old

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 -
 .../libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild   | 58 
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.1.0.ebuild   | 62 --
 3 files changed, 121 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 29d36353b7e..35423b5d5a0 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1,2 +1 @@
-DIST libjson-rpc-cpp-0.7.0.tar.gz 141665 BLAKE2B 
d52a5062fb16d2c356b1b6f8bd3576694bbaaf4908d3979c51e99ae31da2e503c90132674a43fcb1010ad3b5e04f839be6770225419879e5cf0f362f2b12ebf6
 SHA512 
f7547271040382cd2ac96a31eb81d891b016e4d0c33a3ba3e659c2de2e55136e7e243dd2d959c6d8a64ccba7ebd9f9e28070d710a6770c29f81c0750ffad9e3a
 DIST libjson-rpc-cpp-1.1.0.tar.gz 179442 BLAKE2B 
cfbfe703d1a3d4ccaf6d4d475a7c1686c8f7afc28b025d6fd3bfebdc41cff2b944e6600e68073c1b7e7c0a2463cbf6e9724cf618c5d481bf7a4600019b529922
 SHA512 
bf34eedb196b1e214292976036a00e933f8a9b4325441ea2e4ae049a7c818014a68dd9d2f22d01588f5e6d1e9f465c73a133b0fd8282f8cf78a05a493f4c461b

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
deleted file mode 100644
index 26d68e2e5f1..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-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"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server +stubgen test"
-
-RDEPEND="
-   dev-libs/jsoncpp:=
-   http-client? ( net-misc/curl:= )
-   http-server? ( net-libs/libmicrohttpd:= )
-   stubgen? ( dev-libs/argtable:= )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch )"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   # they are not installed
-   -DCOMPILE_EXAMPLES=OFF
-   -DCOMPILE_STUBGEN=$(usex stubgen)
-   -DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
-src_test() {
-   # Tests fail randomly when run in parallel
-   local MAKEOPTS=-j1
-   cmake-utils_src_test
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   use doc && dodoc -r "${BUILD_DIR}"/doc/html
-}

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
deleted file mode 100644
index c43516bb191..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-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"
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
-
-RDEPEND="
-   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}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch )"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   -DREDIS_CLIENT=$(usex redis-client)
-   -DREDIS_SERVER=$(usex redis-server)
-   # they are not installed
-   -DCOMPILE_EXAMPLES=OFF
-   -DCOMPILE_STUBGEN=$(usex stubgen)
-   -DCOMPILE_TESTS=$(usex test)
-   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
-src_test() {
-   # Tests 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2018-01-06 Thread Michał Górny
commit: c91390d2662b1324a5b132e8b3d1a9d76b4d0075
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 12:21:48 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 12:23:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c91390d2

dev-cpp/libjson-rpc-cpp: Enable UNIX & TCP socket client/server

Closes: https://bugs.gentoo.org/643676

 ...pc-cpp-.ebuild => libjson-rpc-cpp-1.1.0-r1.ebuild} | 15 +--
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild   |  7 ++-
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
similarity index 80%
copy from dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
copy to dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
index 7c78e3d2afc..73b204623f7 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild
@@ -1,19 +1,17 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-EGIT_REPO_URI="https://github.com/cinemast/${PN}.git;
-EGIT_BRANCH=develop
-inherit cmake-utils git-r3
+inherit cmake-utils
 
 DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++"
 HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp;
-SRC_URI=""
+SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/1"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
 
 RDEPEND="
@@ -35,6 +33,11 @@ src_configure() {
-DHTTP_SERVER=$(usex http-server)
-DREDIS_CLIENT=$(usex redis-client)
-DREDIS_SERVER=$(usex redis-server)
+   # they have no deps
+   -DTCP_SOCKET_CLIENT=ON
+   -DTCP_SOCKET_SERVER=ON
+   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
+   -DUNIX_DOMAIN_SOCKET_SERVER=ON
# they are not installed
-DCOMPILE_EXAMPLES=OFF
-DCOMPILE_STUBGEN=$(usex stubgen)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
index 7c78e3d2afc..55ab0c1f82f 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -35,6 +35,11 @@ src_configure() {
-DHTTP_SERVER=$(usex http-server)
-DREDIS_CLIENT=$(usex redis-client)
-DREDIS_SERVER=$(usex redis-server)
+   # they have no deps
+   -DTCP_SOCKET_CLIENT=ON
+   -DTCP_SOCKET_SERVER=ON
+   -DUNIX_DOMAIN_SOCKET_CLIENT=ON
+   -DUNIX_DOMAIN_SOCKET_SERVER=ON
# they are not installed
-DCOMPILE_EXAMPLES=OFF
-DCOMPILE_STUBGEN=$(usex stubgen)



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2018-01-05 Thread Michał Górny
commit: c0c7c36a0117164082fcf7bd46d17746197d76d4
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 09:28:19 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  5 09:36:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c7c36a

dev-cpp/libjson-rpc-cpp: Bump to 1.1.0

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 +
 .../libjson-rpc-cpp/libjson-rpc-cpp-1.1.0.ebuild   | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 64fd99ea088..29d36353b7e 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1 +1,2 @@
 DIST libjson-rpc-cpp-0.7.0.tar.gz 141665 BLAKE2B 
d52a5062fb16d2c356b1b6f8bd3576694bbaaf4908d3979c51e99ae31da2e503c90132674a43fcb1010ad3b5e04f839be6770225419879e5cf0f362f2b12ebf6
 SHA512 
f7547271040382cd2ac96a31eb81d891b016e4d0c33a3ba3e659c2de2e55136e7e243dd2d959c6d8a64ccba7ebd9f9e28070d710a6770c29f81c0750ffad9e3a
+DIST libjson-rpc-cpp-1.1.0.tar.gz 179442 BLAKE2B 
cfbfe703d1a3d4ccaf6d4d475a7c1686c8f7afc28b025d6fd3bfebdc41cff2b944e6600e68073c1b7e7c0a2463cbf6e9724cf618c5d481bf7a4600019b529922
 SHA512 
bf34eedb196b1e214292976036a00e933f8a9b4325441ea2e4ae049a7c818014a68dd9d2f22d01588f5e6d1e9f465c73a133b0fd8282f8cf78a05a493f4c461b

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
new file mode 100644
index 000..c43516bb191
--- /dev/null
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+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"
+
+LICENSE="MIT"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
+
+RDEPEND="
+   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}
+   doc? ( app-doc/doxygen )
+   test? ( dev-cpp/catch )"
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DHTTP_CLIENT=$(usex http-client)
+   -DHTTP_SERVER=$(usex http-server)
+   -DREDIS_CLIENT=$(usex redis-client)
+   -DREDIS_SERVER=$(usex redis-server)
+   # they are not installed
+   -DCOMPILE_EXAMPLES=OFF
+   -DCOMPILE_STUBGEN=$(usex stubgen)
+   -DCOMPILE_TESTS=$(usex test)
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   use doc && emake -C "${BUILD_DIR}" doc
+}
+
+src_test() {
+   # Tests fail randomly when run in parallel
+   local MAKEOPTS=-j1
+   cmake-utils_src_test
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   use doc && dodoc -r "${BUILD_DIR}"/doc/html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2017-08-28 Thread Michał Górny
commit: 95aff96d4aada8c2905f0ce7e3d4d12589cfa638
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug 28 18:17:12 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug 28 18:20:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95aff96d

dev-cpp/libjson-rpc-cpp: Add USE flags for Redis in -

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild | 6 +-
 dev-cpp/libjson-rpc-cpp/metadata.xml| 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
index db9f427e587..7c78e3d2afc 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
@@ -14,12 +14,14 @@ SRC_URI=""
 LICENSE="MIT"
 SLOT="0/1"
 KEYWORDS=""
-IUSE="doc +http-client +http-server +stubgen test"
+IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
 
 RDEPEND="
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}
doc? ( app-doc/doxygen )
@@ -31,6 +33,8 @@ src_configure() {
local mycmakeargs=(
-DHTTP_CLIENT=$(usex http-client)
-DHTTP_SERVER=$(usex http-server)
+   -DREDIS_CLIENT=$(usex redis-client)
+   -DREDIS_SERVER=$(usex redis-server)
# they are not installed
-DCOMPILE_EXAMPLES=OFF
-DCOMPILE_STUBGEN=$(usex stubgen)

diff --git a/dev-cpp/libjson-rpc-cpp/metadata.xml 
b/dev-cpp/libjson-rpc-cpp/metadata.xml
index 69fdda5ec8e..b7a3bb5af8a 100644
--- a/dev-cpp/libjson-rpc-cpp/metadata.xml
+++ b/dev-cpp/libjson-rpc-cpp/metadata.xml
@@ -8,6 +8,8 @@
   
 Build support for HTTP client using 
net-misc/curl
 Build support for HTTP server using 
net-libs/libmicrohttpd
+Build support for Redis client using 
dev-libs/hiredis
+Build support for Redis server using 
dev-libs/hiredis
 Build header stub code generator (needed for 
development and when pregenerated headers are not bundled)
   
   



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2017-08-28 Thread Michał Górny
commit: 54f7581e46fbeb24de8c334362c9da49be630cb2
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug 28 17:37:32 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug 28 18:20:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f7581e

dev-cpp/libjson-rpc-cpp: Bump subslot on - to match SONAME

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
index 1c4eadd6e08..db9f427e587 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp;
 SRC_URI=""
 
 LICENSE="MIT"
-SLOT="0"
+SLOT="0/1"
 KEYWORDS=""
 IUSE="doc +http-client +http-server +stubgen test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2017-08-27 Thread Michał Górny
commit: cb9052216ce3190206b13483769d37050dcbc991
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 27 07:55:35 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 27 08:19:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb905221

dev-cpp/libjson-rpc-cpp: Drop old

 dev-cpp/libjson-rpc-cpp/Manifest   |  2 -
 .../libjson-rpc-cpp/libjson-rpc-cpp-0.5.0.ebuild   | 51 --
 .../libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild   | 60 --
 3 files changed, 113 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 8dd250f9ef0..c270493d619 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1,3 +1 @@
-DIST libjson-rpc-cpp-0.5.0.tar.gz 124494 SHA256 
e6d8d6c20517bb38eba9dba7f372e0a95432c4cbf55ec9b136ba841faa0a6d99 SHA512 
9929f76899186f62d3201d3c884a4557e3bd55acfe0533b9a0cf543e01e6d2e5972239df7425c1a43bd59fd205261b91796fdaa1ab54b55cb5765250e473d2d4
 WHIRLPOOL 
95b51bdfd86e63e84556c490281829d211d937cb30a503b863180cac4a2a0894eb03ed931511e9336903f1ddad6b899921e1e09663af9cc0e5739569ddc14472
-DIST libjson-rpc-cpp-0.6.0.tar.gz 130091 SHA256 
98baf15e51514339be54c01296f0a51820d2d4f17f8c9d586f1747be1df3290b SHA512 
8ad4e30b9ff8b53bde1671067ef6108d0a26a40d3925b2002c2aad9d66a17a51b1ea23b7ce278bcb56a992ff4c9a4616494d62dfe992c7db38341b449e88c777
 WHIRLPOOL 
0d6b75a29f84386086f070bb1a40e45d02f19dee567c9bd492d61aff84b470aed4d0b83879cfddb13e5109ad5d57a055f9b23b66016eb4319ed7dacd89da8474
 DIST libjson-rpc-cpp-0.7.0.tar.gz 141665 SHA256 
669c2259909f11a8c196923a910f9a16a8225ecc14e6c30e2bcb712bab9097eb SHA512 
f7547271040382cd2ac96a31eb81d891b016e4d0c33a3ba3e659c2de2e55136e7e243dd2d959c6d8a64ccba7ebd9f9e28070d710a6770c29f81c0750ffad9e3a
 WHIRLPOOL 
b54121c95f47654a36623c4267a22f4d563bc6f863b2df205b1ea4142a8230e64e5fc0725f8e8cef7d79abdfdad5de118464993b6b503ff2cec9f4e077014201

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
deleted file mode 100644
index 7c0c842d4ca..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.5.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils
-
-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"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server +stubgen test"
-
-RDEPEND="
-   dev-libs/jsoncpp:=
-   http-client? ( net-misc/curl:= )
-   http-server? ( net-libs/libmicrohttpd:= )
-   stubgen? ( dev-libs/argtable:= )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )
-   test? ( dev-libs/boost )"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   # they are not installed
-   -DCOMPILE_EXAMPLES=NO
-   -DCOMPILE_STUBGEN=$(usex stubgen)
-   -DCOMPILE_TESTS=$(usex test)
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   use doc && emake -C "${BUILD_DIR}" doc
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   use doc && dodoc -r "${BUILD_DIR}"/doc/html
-}

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
deleted file mode 100644
index fd2213fcc9a..000
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-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"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +http-client +http-server +stubgen test"
-
-RDEPEND="
-   dev-libs/jsoncpp:=
-   http-client? ( net-misc/curl:= )
-   http-server? ( net-libs/libmicrohttpd:= )
-   stubgen? ( dev-libs/argtable:= )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/catch )"
-
-RESTRICT="!test? ( test )"
-
-src_prepare() {
-   default
-
-   # https://github.com/cinemast/libjson-rpc-cpp/pull/161
-   sed -i -e '/DESTINATION/s:lib:lib${LIB_SUFFIX}:' \
-   src/jsonrpccpp/CMakeLists.txt || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DHTTP_CLIENT=$(usex http-client)
-   -DHTTP_SERVER=$(usex http-server)
-   # they are not installed but required for tests to build
- 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2017-08-27 Thread Michał Górny
commit: 3543e666c2fc62c698e557a5636d82786ba0ec8a
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 27 07:58:14 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 27 08:19:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3543e666

dev-cpp/libjson-rpc-cpp: Restrict tests to -j1

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild | 6 ++
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild  | 6 ++
 2 files changed, 12 insertions(+)

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
index 246a2d7a809..26d68e2e5f1 100644
--- 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
@@ -45,6 +45,12 @@ src_compile() {
use doc && emake -C "${BUILD_DIR}" doc
 }
 
+src_test() {
+   # Tests fail randomly when run in parallel
+   local MAKEOPTS=-j1
+   cmake-utils_src_test
+}
+
 src_install() {
cmake-utils_src_install
 

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
index b74cd08b36c..1c4eadd6e08 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
@@ -47,6 +47,12 @@ src_compile() {
use doc && emake -C "${BUILD_DIR}" doc
 }
 
+src_test() {
+   # Tests fail randomly when run in parallel
+   local MAKEOPTS=-j1
+   cmake-utils_src_test
+}
+
 src_install() {
cmake-utils_src_install
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2016-08-13 Thread Michał Górny
commit: 750da70a180d80a8b8e71dedb7a5b9128c874b82
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 13 18:28:10 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 13 18:32:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=750da70a

dev-cpp/libjson-rpc-cpp: Sync the live ebuild

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
index a8d3e54..57baa10 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
@@ -32,8 +32,8 @@ src_configure() {
local mycmakeargs=(
-DHTTP_CLIENT=$(usex http-client)
-DHTTP_SERVER=$(usex http-server)
-   # they are not installed but required for tests to build
-   -DCOMPILE_EXAMPLES=$(usex test)
+   # they are not installed
+   -DCOMPILE_EXAMPLES=OFF
-DCOMPILE_STUBGEN=$(usex stubgen)
-DCOMPILE_TESTS=$(usex test)
-DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2016-08-13 Thread Michał Górny
commit: 0bfd0fbc5d53dd34a4afd9e985833db44ee56062
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 13 18:27:21 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 13 18:32:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bfd0fbc

dev-cpp/libjson-rpc-cpp: Bump to 0.7.0

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 +
 .../libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild   | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 3cbe67a..8dd250f 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1,2 +1,3 @@
 DIST libjson-rpc-cpp-0.5.0.tar.gz 124494 SHA256 
e6d8d6c20517bb38eba9dba7f372e0a95432c4cbf55ec9b136ba841faa0a6d99 SHA512 
9929f76899186f62d3201d3c884a4557e3bd55acfe0533b9a0cf543e01e6d2e5972239df7425c1a43bd59fd205261b91796fdaa1ab54b55cb5765250e473d2d4
 WHIRLPOOL 
95b51bdfd86e63e84556c490281829d211d937cb30a503b863180cac4a2a0894eb03ed931511e9336903f1ddad6b899921e1e09663af9cc0e5739569ddc14472
 DIST libjson-rpc-cpp-0.6.0.tar.gz 130091 SHA256 
98baf15e51514339be54c01296f0a51820d2d4f17f8c9d586f1747be1df3290b SHA512 
8ad4e30b9ff8b53bde1671067ef6108d0a26a40d3925b2002c2aad9d66a17a51b1ea23b7ce278bcb56a992ff4c9a4616494d62dfe992c7db38341b449e88c777
 WHIRLPOOL 
0d6b75a29f84386086f070bb1a40e45d02f19dee567c9bd492d61aff84b470aed4d0b83879cfddb13e5109ad5d57a055f9b23b66016eb4319ed7dacd89da8474
+DIST libjson-rpc-cpp-0.7.0.tar.gz 141665 SHA256 
669c2259909f11a8c196923a910f9a16a8225ecc14e6c30e2bcb712bab9097eb SHA512 
f7547271040382cd2ac96a31eb81d891b016e4d0c33a3ba3e659c2de2e55136e7e243dd2d959c6d8a64ccba7ebd9f9e28070d710a6770c29f81c0750ffad9e3a
 WHIRLPOOL 
b54121c95f47654a36623c4267a22f4d563bc6f863b2df205b1ea4142a8230e64e5fc0725f8e8cef7d79abdfdad5de118464993b6b503ff2cec9f4e077014201

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
new file mode 100644
index 000..eac653e
--- /dev/null
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+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"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +http-client +http-server +stubgen test"
+
+RDEPEND="
+   dev-libs/jsoncpp:=
+   http-client? ( net-misc/curl:= )
+   http-server? ( net-libs/libmicrohttpd:= )
+   stubgen? ( dev-libs/argtable:= )"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )
+   test? ( dev-cpp/catch )"
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DHTTP_CLIENT=$(usex http-client)
+   -DHTTP_SERVER=$(usex http-server)
+   # they are not installed
+   -DCOMPILE_EXAMPLES=OFF
+   -DCOMPILE_STUBGEN=$(usex stubgen)
+   -DCOMPILE_TESTS=$(usex test)
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   use doc && emake -C "${BUILD_DIR}" doc
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   use doc && dodoc -r "${BUILD_DIR}"/doc/html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2016-07-02 Thread Michał Górny
commit: 1a8d40400bb7f0b671288a50c8503092c388af16
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  2 21:07:50 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  2 21:19:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a8d4040

dev-cpp/libjson-rpc-cpp: Add missing cond RESTRICT=test

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.5.0.ebuild | 2 ++
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild | 2 ++
 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild  | 2 ++
 3 files changed, 6 insertions(+)

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
index 62e02bd..576319b 100644
--- 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
@@ -24,6 +24,8 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
test? ( dev-libs/boost )"
 
+RESTRICT="!test? ( test )"
+
 src_configure() {
local mycmakeargs=(
-DHTTP_CLIENT=$(usex http-client)

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
index 69e35db..3d81da2 100644
--- 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
@@ -24,6 +24,8 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
test? ( dev-cpp/catch )"
 
+RESTRICT="!test? ( test )"
+
 src_prepare() {
default
 

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
index 967818a..a8d3e54 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
@@ -26,6 +26,8 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
test? ( dev-cpp/catch )"
 
+RESTRICT="!test? ( test )"
+
 src_configure() {
local mycmakeargs=(
-DHTTP_CLIENT=$(usex http-client)



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2016-05-24 Thread Michał Górny
commit: ab37ed1117d5e094f117c5a1d8e013bacd219488
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 24 11:22:40 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 24 11:23:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab37ed11

dev-cpp/libjson-rpc-cpp: Bump to 0.6.0

 dev-cpp/libjson-rpc-cpp/Manifest   |  1 +
 .../libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild   | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 4a27c09..3cbe67a 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1 +1,2 @@
 DIST libjson-rpc-cpp-0.5.0.tar.gz 124494 SHA256 
e6d8d6c20517bb38eba9dba7f372e0a95432c4cbf55ec9b136ba841faa0a6d99 SHA512 
9929f76899186f62d3201d3c884a4557e3bd55acfe0533b9a0cf543e01e6d2e5972239df7425c1a43bd59fd205261b91796fdaa1ab54b55cb5765250e473d2d4
 WHIRLPOOL 
95b51bdfd86e63e84556c490281829d211d937cb30a503b863180cac4a2a0894eb03ed931511e9336903f1ddad6b899921e1e09663af9cc0e5739569ddc14472
+DIST libjson-rpc-cpp-0.6.0.tar.gz 130091 SHA256 
98baf15e51514339be54c01296f0a51820d2d4f17f8c9d586f1747be1df3290b SHA512 
8ad4e30b9ff8b53bde1671067ef6108d0a26a40d3925b2002c2aad9d66a17a51b1ea23b7ce278bcb56a992ff4c9a4616494d62dfe992c7db38341b449e88c777
 WHIRLPOOL 
0d6b75a29f84386086f070bb1a40e45d02f19dee567c9bd492d61aff84b470aed4d0b83879cfddb13e5109ad5d57a055f9b23b66016eb4319ed7dacd89da8474

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
new file mode 100644
index 000..69e35db
--- /dev/null
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+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"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +http-client +http-server +stubgen test"
+
+RDEPEND="
+   dev-libs/jsoncpp:=
+   http-client? ( net-misc/curl:= )
+   http-server? ( net-libs/libmicrohttpd:= )
+   stubgen? ( dev-libs/argtable:= )"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )
+   test? ( dev-cpp/catch )"
+
+src_prepare() {
+   default
+
+   # https://github.com/cinemast/libjson-rpc-cpp/pull/161
+   sed -i -e '/DESTINATION/s:lib:lib${LIB_SUFFIX}:' \
+   src/jsonrpccpp/CMakeLists.txt || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DHTTP_CLIENT=$(usex http-client)
+   -DHTTP_SERVER=$(usex http-server)
+   # they are not installed but required for tests to build
+   -DCOMPILE_EXAMPLES=$(usex test)
+   -DCOMPILE_STUBGEN=$(usex stubgen)
+   -DCOMPILE_TESTS=$(usex test)
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   use doc && emake -C "${BUILD_DIR}" doc
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   use doc && dodoc -r "${BUILD_DIR}"/doc/html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2016-05-24 Thread Michał Górny
commit: caedf91905a8eda88d6937220f2541144c7c6ac4
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 24 11:12:01 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 24 11:23:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caedf919

dev-cpp/libjson-rpc-cpp: Update deps & build args for live version

Update the live ebuild. Use dev-cpp/catch for tests. Work-around test
build failure by enabling examples. Bump to EAPI 6.

The package still fails to build because of Debian multiarch support
breaking multilib: https://github.com/cinemast/libjson-rpc-cpp/pull/161.

 dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild 
b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
index abbdc45..967818a 100644
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-EGIT_REPO_URI="https://github.com/cinemast/${PN};
+EGIT_REPO_URI="https://github.com/cinemast/${PN}.git;
 EGIT_BRANCH=develop
 inherit cmake-utils git-r3
 
@@ -24,16 +24,17 @@ RDEPEND="
stubgen? ( dev-libs/argtable:= )"
 DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
-   test? ( dev-libs/boost )"
+   test? ( dev-cpp/catch )"
 
 src_configure() {
local mycmakeargs=(
-DHTTP_CLIENT=$(usex http-client)
-DHTTP_SERVER=$(usex http-server)
-   # they are not installed
-   -DCOMPILE_EXAMPLES=NO
+   # they are not installed but required for tests to build
+   -DCOMPILE_EXAMPLES=$(usex test)
-DCOMPILE_STUBGEN=$(usex stubgen)
-DCOMPILE_TESTS=$(usex test)
+   -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
)
 
cmake-utils_src_configure



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/

2016-04-19 Thread Michał Górny
commit: a4c59422d1f78d76ff98065736ebb1e3488bdb21
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Apr 19 13:05:25 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Apr 19 13:12:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c59422

dev-cpp/libjson-rpc-cpp: Fix curl pkg ref

 dev-cpp/libjson-rpc-cpp/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/libjson-rpc-cpp/metadata.xml 
b/dev-cpp/libjson-rpc-cpp/metadata.xml
index 7381917..69fdda5 100644
--- a/dev-cpp/libjson-rpc-cpp/metadata.xml
+++ b/dev-cpp/libjson-rpc-cpp/metadata.xml
@@ -6,7 +6,7 @@
 Michał Górny
   
   
-Build support for HTTP client using 
dev-util/curl
+Build support for HTTP client using 
net-misc/curl
 Build support for HTTP server using 
net-libs/libmicrohttpd
 Build header stub code generator (needed for 
development and when pregenerated headers are not bundled)