[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2024-03-29 Thread Arthur Zamarin
commit: d6ee85f129fc3336d643d6656279740cb9ca526f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 29 09:44:00 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 29 09:44:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ee85f1

dev-libs/rapidjson: Keyword 1.1.0-r4 s390, #927553

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index 4e119e95d79d..1c16b109ab96 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
+   KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-11-21 Thread Andreas Sturmlechner
commit: 7ac2555744e2c12ebe04137122da65c3cc55de58
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Nov 21 21:23:25 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Nov 21 22:19:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ac25557

dev-libs/rapidjson: drop 1.1.0-r3

Closes: https://bugs.gentoo.org/917390
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 57 
 1 file changed, 57 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
deleted file mode 100644
index 73b3f54b7a78..
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
-HOMEPAGE="https://rapidjson.org/;
-
-LICENSE="MIT"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-SLOT="0"
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git;
-   inherit git-r3
-else
-   SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
-   S="${WORKDIR}/rapidjson-${PV}"
-fi
-
-DEPEND="
-   doc? ( app-doc/doxygen )
-   test? ( dev-cpp/gtest )"
-RDEPEND=""
-
-PATCHES=(
-   "${FILESDIR}/${P}-gcc-7.patch"
-   "${FILESDIR}/${P}-system_gtest.patch"
-   "${FILESDIR}/${P}-valgrind_optional.patch"
-)
-
-src_prepare() {
-   cmake_src_prepare
-
-   sed -i -e 's| -march=native||g' CMakeLists.txt || die
-   sed -i -e 's| -Werror||g' CMakeLists.txt example/CMakeLists.txt 
test/unittest/CMakeLists.txt || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
-   -DRAPIDJSON_BUILD_CXX11=OFF # latest gtest requires C++14 or 
later
-   -DRAPIDJSON_BUILD_DOC=$(usex doc)
-   -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-   -DRAPIDJSON_BUILD_TESTS=$(usex test)
-   -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
-   )
-   use test && mycmakeargs+=(
-   -DVALGRIND_EXECUTABLE=
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-11-16 Thread Arthur Zamarin
commit: 573087d86ef529029dcc5f7d2ce9245245c8cb64
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov 16 17:17:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov 16 17:17:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573087d8

dev-libs/rapidjson: Stabilize 1.1.0-r4 x86, #917390

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index dd6e6a9d5474..673859647f92 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-11-16 Thread Arthur Zamarin
commit: 321d349cf2f87303f2eb2b3feafecce7112f94ae
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov 16 17:17:04 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov 16 17:17:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=321d349c

dev-libs/rapidjson: Stabilize 1.1.0-r4 sparc, #917390

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index b162cae0edf8..8330d8996730 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-11-16 Thread Arthur Zamarin
commit: 306379720059cafffbd0e1d5598abee3e704e959
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov 16 17:17:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov 16 17:17:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30637972

dev-libs/rapidjson: Stabilize 1.1.0-r4 ppc, #917390

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index 8330d8996730..dd6e6a9d5474 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-11-16 Thread Arthur Zamarin
commit: a2ecf34d8d65f2894595fac374905912036c973b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov 16 17:17:06 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov 16 17:17:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2ecf34d

dev-libs/rapidjson: Stabilize 1.1.0-r4 amd64, #917390

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index 673859647f92..6f837669b40a 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
+   KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-11-16 Thread Sam James
commit: 953b5fca4ec1a82fce3ec5609fb65a641b87f886
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 16 16:21:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 16 16:21:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953b5fca

dev-libs/rapidjson: Stabilize 1.1.0-r4 arm, #917390

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index c426b085405a..8671a1af7163 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-11-16 Thread Sam James
commit: 1fc8f89316bd27c40c66801c8f9f1b276c0eda2b
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 16 16:21:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 16 16:21:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fc8f893

dev-libs/rapidjson: Stabilize 1.1.0-r4 arm64, #917390

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index 8671a1af7163..b162cae0edf8 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-11-16 Thread Sam James
commit: f4922945e3edab19b60525dd654ce056e3d0719c
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 16 16:21:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 16 16:21:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4922945

dev-libs/rapidjson: Stabilize 1.1.0-r4 ppc64, #917390

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index e25d9ba5a30c..c426b085405a 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/files/, dev-libs/rapidjson/

2023-09-23 Thread Sam James
commit: 120da2933e42c8d0f2b03cb2e6600550a83a55d8
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 24 02:19:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 24 02:19:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120da293

dev-libs/rapidjson: fix compat w/ gcc 14

Revbump to fix installed headers as well as add EAPI 8.

While here, style tweaks to conform w/ skel.ebuild and sync live ebuild.

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

 .../files/rapidjson-1.1.0-gcc14-const.patch| 20 +++
 ...djson-.ebuild => rapidjson-1.1.0-r4.ebuild} | 30 +++---
 dev-libs/rapidjson/rapidjson-.ebuild   | 20 +++
 3 files changed, 45 insertions(+), 25 deletions(-)

diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc14-const.patch 
b/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc14-const.patch
new file mode 100644
index ..0bc9e73b5683
--- /dev/null
+++ b/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc14-const.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/914583
+https://github.com/Tencent/rapidjson/commit/3b2441b87f99ab65f37b141a7b548ebadb607b96
+https://github.com/Tencent/rapidjson/issues/718
+
+From 3b2441b87f99ab65f37b141a7b548ebadb607b96 Mon Sep 17 00:00:00 2001
+From: Janusz Chorko 
+Date: Fri, 26 Aug 2016 21:17:38 +0200
+Subject: [PATCH] Removed non-compiling assignment operator. Fixed #718
+
+--- a/include/rapidjson/document.h
 b/include/rapidjson/document.h
+@@ -316,8 +316,6 @@ struct GenericStringRef {
+ 
+ GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), 
length(rhs.length) {}
+ 
+-GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; 
length = rhs.length; }
+-
+ //! implicit conversion to plain CharType pointer
+ operator const Ch *() const { return s; }
+ 

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
similarity index 75%
copy from dev-libs/rapidjson/rapidjson-.ebuild
copy to dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
index a003c49ec84e..e25d9ba5a30c 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild
@@ -1,44 +1,45 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
 DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
 HOMEPAGE="https://rapidjson.org/;
 
-LICENSE="MIT"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-SLOT="0"
-
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git;
EGIT_SUBMODULES=()
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 
-DEPEND="
+LICENSE="MIT"
+SLOT="0"
+IUSE="doc examples test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
doc? ( app-doc/doxygen )
-   test? ( dev-cpp/gtest )"
-RDEPEND=""
+   test? ( dev-cpp/gtest )
+"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-1.1.0-system_gtest.patch"
-   "${FILESDIR}/${PN}-1.1.1-valgrind_optional.patch"
+   "${FILESDIR}/${P}-gcc-7.patch"
+   "${FILESDIR}/${P}-system_gtest.patch"
+   "${FILESDIR}/${P}-valgrind_optional.patch"
+   "${FILESDIR}/${P}-gcc14-const.patch"
 )
 
 src_prepare() {
cmake_src_prepare
 
sed -i -e 's| -march=native||g' CMakeLists.txt || die
-   sed -i -e 's| -mcpu=native||g' CMakeLists.txt || die
-   sed -i -e 's| -Werror||g' CMakeLists.txt || die
+   sed -i -e 's| -Werror||g' CMakeLists.txt example/CMakeLists.txt 
test/unittest/CMakeLists.txt || die
 }
 
 src_configure() {
@@ -46,7 +47,6 @@ src_configure() {
-DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}"
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
-DRAPIDJSON_BUILD_CXX11=OFF # latest gtest requires C++14 or 
later
-   -DRAPIDJSON_BUILD_CXX17=ON
-DRAPIDJSON_BUILD_DOC=$(usex doc)
-DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-DRAPIDJSON_BUILD_TESTS=$(usex test)

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
index a003c49ec84e..a22be37589bc 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -1,32 +1,32 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
 DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
 HOMEPAGE="https://rapidjson.org/;
 
-LICENSE="MIT"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-SLOT="0"
-
 if [[ ${PV} == * ]] ; 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2023-02-22 Thread Sam James
commit: 4e41fc8570ce676461d46ffae31a62d97a5f59da
Author: Peter Levine  gmail  com>
AuthorDate: Wed Feb  8 03:12:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 22 16:14:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e41fc85

dev-libs/rapidjson: don't force C++11

dev-cpp/gtest-1.13.0 now requires building with C++14 or later. Remove
-std=c++11 and, if not overridden in CXXFLAGS, use the compiler
default.  For , explicitly pass RAPIDJSON_BUILD_CXX17=ON, which
supports that cmake option.

Closes: https://bugs.gentoo.org/893466
Closes: https://github.com/gentoo/gentoo/pull/29479
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 3 ++-
 dev-libs/rapidjson/rapidjson-.ebuild | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index a58044c99310..73b3f54b7a78 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -44,6 +44,7 @@ src_configure() {
local mycmakeargs=(
-DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}"
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+   -DRAPIDJSON_BUILD_CXX11=OFF # latest gtest requires C++14 or 
later
-DRAPIDJSON_BUILD_DOC=$(usex doc)
-DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-DRAPIDJSON_BUILD_TESTS=$(usex test)

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
index c13c44dc56c8..a003c49ec84e 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -45,6 +45,8 @@ src_configure() {
local mycmakeargs=(
-DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}"
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+   -DRAPIDJSON_BUILD_CXX11=OFF # latest gtest requires C++14 or 
later
+   -DRAPIDJSON_BUILD_CXX17=ON
-DRAPIDJSON_BUILD_DOC=$(usex doc)
-DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-DRAPIDJSON_BUILD_TESTS=$(usex test)



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-12-20 Thread Andreas Sturmlechner
commit: 6a5ff0e6f06eba3a1b2e3d09fd370b8b1f420a66
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Dec 20 19:02:06 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Dec 20 20:43:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a5ff0e6

dev-libs/rapidjson: drop 1.1.0-r2

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild | 54 
 1 file changed, 54 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
deleted file mode 100644
index f4bf74949e0a..
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
-HOMEPAGE="https://rapidjson.org/;
-
-LICENSE="MIT"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-SLOT="0"
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git;
-   inherit git-r3
-else
-   SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 x86"
-   S="${WORKDIR}/rapidjson-${PV}"
-fi
-
-DEPEND="
-   doc? ( app-doc/doxygen )
-   test? (
-   dev-cpp/gtest
-   dev-util/valgrind
-   )"
-RDEPEND=""
-
-PATCHES=(
-   "${FILESDIR}/${P}-gcc-7.patch"
-)
-
-src_prepare() {
-   cmake_src_prepare
-
-   sed -i -e 's|-Werror||g' CMakeLists.txt || die
-   sed -i -e 's|-Werror||g' example/CMakeLists.txt || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}"
-   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
-   -DRAPIDJSON_BUILD_DOC=$(usex doc)
-   -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-   -DRAPIDJSON_BUILD_TESTS=$(usex test)
-   -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/files/

2022-10-30 Thread David Seifert
commit: 0fd9dc449c6e0f8a7224ee6e1a67b94e23e59b79
Author: David Seifert  gentoo  org>
AuthorDate: Sun Oct 30 11:12:43 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Oct 30 11:12:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd9dc44

dev-libs/rapidjson/files: [QA] use git-format-patch style patches

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/rapidjson/files/rapidjson-1.1.0-system_gtest.patch  | 8 
 dev-libs/rapidjson/files/rapidjson-1.1.0-valgrind_optional.patch | 4 ++--
 dev-libs/rapidjson/files/rapidjson-1.1.1-valgrind_optional.patch | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.0-system_gtest.patch 
b/dev-libs/rapidjson/files/rapidjson-1.1.0-system_gtest.patch
index bdc720e8cf86..a952a076dc47 100644
--- a/dev-libs/rapidjson/files/rapidjson-1.1.0-system_gtest.patch
+++ b/dev-libs/rapidjson/files/rapidjson-1.1.0-system_gtest.patch
@@ -1,5 +1,5 @@
 /CMakeModules/FindGTestSrc.cmake
-+++ /CMakeModules/FindGTestSrc.cmake
+--- a/CMakeModules/FindGTestSrc.cmake
 b/CMakeModules/FindGTestSrc.cmake
 @@ -1,30 +1,9 @@
 -
 -SET(GTEST_SEARCH_PATH
@@ -32,8 +32,8 @@
  find_package_handle_standard_args(GTestSrc DEFAULT_MSG
 -GTEST_SOURCE_DIR
  GTEST_INCLUDE_DIR)
 /test/CMakeLists.txt
-+++ /test/CMakeLists.txt
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
 @@ -8,7 +8,6 @@
  set(gtest_force_shared_crt ON)
  endif()

diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.0-valgrind_optional.patch 
b/dev-libs/rapidjson/files/rapidjson-1.1.0-valgrind_optional.patch
index 071a3d2392df..772eabe8c6df 100644
--- a/dev-libs/rapidjson/files/rapidjson-1.1.0-valgrind_optional.patch
+++ b/dev-libs/rapidjson/files/rapidjson-1.1.0-valgrind_optional.patch
@@ -1,7 +1,7 @@
 https://github.com/Tencent/rapidjson/issues/1808
 
 /test/unittest/CMakeLists.txt
-+++ /test/unittest/CMakeLists.txt
+--- a/test/unittest/CMakeLists.txt
 b/test/unittest/CMakeLists.txt
 @@ -77,12 +77,15 @@
  COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest
  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)

diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.1-valgrind_optional.patch 
b/dev-libs/rapidjson/files/rapidjson-1.1.1-valgrind_optional.patch
index b40a39fb13db..e05c28000875 100644
--- a/dev-libs/rapidjson/files/rapidjson-1.1.1-valgrind_optional.patch
+++ b/dev-libs/rapidjson/files/rapidjson-1.1.1-valgrind_optional.patch
@@ -1,7 +1,7 @@
 https://github.com/Tencent/rapidjson/issues/1808
 
 /test/unittest/CMakeLists.txt
-+++ /test/unittest/CMakeLists.txt
+--- a/test/unittest/CMakeLists.txt
 b/test/unittest/CMakeLists.txt
 @@ -78,12 +78,15 @@
  COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest
  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-05-18 Thread WANG Xuerui
commit: bba70ae7c96fbec078b1e3513d676fa067e39823
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 19 05:03:42 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 19 05:07:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba70ae7

dev-libs/rapidjson: keyword 1.1.0-r3 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 080af47bc306..a58044c99310 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
+   KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-05-17 Thread Agostino Sarubbo
commit: 85ed82eca9927068e320b5b5d839e5727deda413
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 17 12:38:45 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 17 12:38:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ed82ec

dev-libs/rapidjson: sparc stable wrt bug #832393

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index a73c6599b674..080af47bc306 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-01-31 Thread Arthur Zamarin
commit: fa6da070f85d2b918dfae1445f70b8423ea750cd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jan 31 20:26:01 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jan 31 20:26:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6da070

dev-libs/rapidjson: Stabilize 1.1.0-r3 ppc64, #832393

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 5b3c151ae253..a73c6599b674 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-01-31 Thread Sam James
commit: 302dc4acb275dc014cb4d240e4de0ccfc02a9117
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 31 18:51:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 31 18:51:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302dc4ac

dev-libs/rapidjson: Stabilize 1.1.0-r3 ppc, #832393

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 749623965674..5b3c151ae253 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-01-30 Thread Sam James
commit: 211826d9ad17b4005c3af8fe2bb34e88ad7b1250
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 31 06:43:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 31 06:43:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=211826d9

dev-libs/rapidjson: Stabilize 1.1.0-r3 arm, #832393

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 382f26f482ef..749623965674 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-01-30 Thread Sam James
commit: 535f7b9c879a7331b810bfaf4245c73c471895e2
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 31 06:23:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 31 06:23:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=535f7b9c

dev-libs/rapidjson: Stabilize 1.1.0-r3 arm64, #832393

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 5993d1838e35..382f26f482ef 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-01-30 Thread Sam James
commit: 9ce6a583de2f8d8b7c3b6c7bcfcba416d402ac9e
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 30 22:24:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 30 22:24:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce6a583

dev-libs/rapidjson: Stabilize 1.1.0-r3 amd64, #832393

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 6e92601ef858..5993d1838e35 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2022-01-30 Thread Sam James
commit: 90def2c387aa56304da15856bb272c1532f27fd4
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 30 22:22:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 30 22:23:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90def2c3

dev-libs/rapidjson: Stabilize 1.1.0-r3 x86, #832393

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index da68858dfa4f..6e92601ef858 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.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=7
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2021-12-13 Thread Craig Andrews
commit: 65eb11ad1513dc8824985d2714da2e589f68
Author: Craig Andrews  gentoo  org>
AuthorDate: Mon Dec 13 17:14:49 2021 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Mon Dec 13 17:22:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65eb1666

dev-libs/rapidjson: Only set VALGRIND_EXECUTABLE if use test

Closes: https://bugs.gentoo.org/828771
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 ++
 dev-libs/rapidjson/rapidjson-.ebuild | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index ac4033ac66cf..da68858dfa4f 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -48,6 +48,8 @@ src_configure() {
-DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-DRAPIDJSON_BUILD_TESTS=$(usex test)
-DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
+   )
+   use test && mycmakeargs+=(
-DVALGRIND_EXECUTABLE=
)
cmake_src_configure

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
index 081c33172b8d..c13c44dc56c8 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -49,6 +49,8 @@ src_configure() {
-DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-DRAPIDJSON_BUILD_TESTS=$(usex test)
-DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
+   )
+   use test && mycmakeargs+=(
-DVALGRIND_EXECUTABLE=
)
cmake_src_configure



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2021-09-06 Thread Sam James
commit: f61451fb7ee0966b416fd81a8ffbba5a7ff44538
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  6 21:34:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  6 21:34:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61451fb

dev-libs/rapidjson: Keyword 1.1.0-r3 ppc64, #760803

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 65ede21e599..ac4033ac66c 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2021-09-06 Thread Sam James
commit: 43f0e15dc0f0a96c046862a6331655ba941951ce
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  6 21:34:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  6 21:34:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43f0e15d

dev-libs/rapidjson: Keyword 1.1.0-r3 ppc, #760803

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index d1aabb7bd92..65ede21e599 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2021-07-27 Thread Marek Szuba
commit: 361ccd8a61771750d5b54d05c5bcafb8800e7e5e
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Jul 27 21:26:10 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Jul 27 21:54:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361ccd8a

dev-libs/rapidjson: keyword 1.1.0-r3 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 0cc19acd1ce..d1aabb7bd92 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2021-06-08 Thread Sam James
commit: 5ff3315f9619ad33a20df8d0b54088242a45e26a
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun  8 07:41:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  8 07:41:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff3315f

dev-libs/rapidjson: Keyword 1.1.0-r3 sparc, #760803

Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 5b1dcd2314e..0cc19acd1ce 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2021-02-14 Thread Andreas Sturmlechner
commit: ef833d3bff80f2cd1ea65771fbba31cee6084acf
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 14 22:06:16 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 14 22:06:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef833d3b

dev-libs/rapidjson: Drop 1.1.0 and 1.1.0-r1

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild | 52 
 dev-libs/rapidjson/rapidjson-1.1.0.ebuild| 41 --
 2 files changed, 93 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
deleted file mode 100644
index 89b31664240..000
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
-HOMEPAGE="http://rapidjson.org/;
-
-LICENSE="MIT"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-SLOT="0"
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git;
-   inherit git-r3
-else
-   SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 x86"
-   S="${WORKDIR}/rapidjson-${PV}"
-fi
-
-DEPEND="
-   doc? ( app-doc/doxygen )
-   test? (
-   dev-cpp/gtest
-   dev-util/valgrind
-   )"
-RDEPEND=""
-
-PATCHES=(
-   "${FILESDIR}/${P}-gcc-7.patch"
-)
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   sed -i -e 's|-Werror||g' CMakeLists.txt || die
-   sed -i -e 's|-Werror||g' example/CMakeLists.txt || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DRAPIDJSON_BUILD_DOC=$(usex doc)
-   -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-   -DRAPIDJSON_BUILD_TESTS=$(usex test)
-   -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
-   )
-   cmake-utils_src_configure
-}

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0.ebuild
deleted file mode 100644
index ca44afce719..000
--- a/dev-libs/rapidjson/rapidjson-1.1.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
-HOMEPAGE="http://rapidjson.org/;
-
-LICENSE="MIT"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-SLOT="0"
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git;
-   inherit git-r3
-else
-   SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-   S="${WORKDIR}/rapidjson-${PV}"
-fi
-
-DEPEND="
-   doc? ( app-doc/doxygen )
-   test? (
-   dev-cpp/gtest
-   dev-util/valgrind
-   )"
-RDEPEND=""
-
-src_configure() {
-   local mycmakeargs=(
-   -DRAPIDJSON_BUILD_DOC=$(usex doc)
-   -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-   -DRAPIDJSON_BUILD_TESTS=$(usex test)
-   -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2021-01-05 Thread Sergei Trofimovich
commit: 93c52662283efbdb01be5aea9b28b05a428e9fee
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jan  5 12:00:45 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jan  5 14:13:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93c52662

dev-libs/rapidjson: keyworded 1.1.0-r3 for hppa, bug #760803

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
index 546127329df..5b1dcd2314e 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/files/, dev-libs/rapidjson/

2020-12-28 Thread Craig Andrews
commit: cf938e7183d49f0da60052ddc884bc99643a49cc
Author: Craig Andrews  gentoo  org>
AuthorDate: Mon Dec 28 16:43:33 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Mon Dec 28 16:43:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf938e71

dev-libs/rapidjson: Drop dependency on valgrind; remove -march=native

Closes: https://bugs.gentoo.org/760881
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Craig Andrews  gentoo.org>

 .../files/rapidjson-1.1.0-system_gtest.patch   | 44 ++
 .../files/rapidjson-1.1.0-valgrind_optional.patch  | 21 +++
 .../files/rapidjson-1.1.1-valgrind_optional.patch  | 21 +++
 ...djson-.ebuild => rapidjson-1.1.0-r3.ebuild} | 19 ++
 dev-libs/rapidjson/rapidjson-.ebuild   | 18 +
 5 files changed, 108 insertions(+), 15 deletions(-)

diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.0-system_gtest.patch 
b/dev-libs/rapidjson/files/rapidjson-1.1.0-system_gtest.patch
new file mode 100644
index 000..bdc720e8cf8
--- /dev/null
+++ b/dev-libs/rapidjson/files/rapidjson-1.1.0-system_gtest.patch
@@ -0,0 +1,44 @@
+--- /CMakeModules/FindGTestSrc.cmake
 /CMakeModules/FindGTestSrc.cmake
+@@ -1,30 +1,9 @@
+-
+-SET(GTEST_SEARCH_PATH
+-"${GTEST_SOURCE_DIR}"
+-"${CMAKE_CURRENT_LIST_DIR}/../thirdparty/gtest/googletest")
+-
+-IF(UNIX)
+-IF(RAPIDJSON_BUILD_THIRDPARTY_GTEST)
+-LIST(APPEND GTEST_SEARCH_PATH "/usr/src/gtest")
+-ELSE()
+-LIST(INSERT GTEST_SEARCH_PATH 1 "/usr/src/gtest")
+-ENDIF()
+-ENDIF()
+-
+-FIND_PATH(GTEST_SOURCE_DIR
+-NAMES CMakeLists.txt src/gtest_main.cc
+-PATHS ${GTEST_SEARCH_PATH})
+-
+-
+ # Debian installs gtest include directory in /usr/include, thus need to look
+ # for include directory separately from source directory.
+ FIND_PATH(GTEST_INCLUDE_DIR
+ NAMES gtest/gtest.h
+-PATH_SUFFIXES include
+-HINTS ${GTEST_SOURCE_DIR}
+-PATHS ${GTEST_SEARCH_PATH})
++PATH_SUFFIXES include)
+ 
+ INCLUDE(FindPackageHandleStandardArgs)
+ find_package_handle_standard_args(GTestSrc DEFAULT_MSG
+-GTEST_SOURCE_DIR
+ GTEST_INCLUDE_DIR)
+--- /test/CMakeLists.txt
 /test/CMakeLists.txt
+@@ -8,7 +8,6 @@
+ set(gtest_force_shared_crt ON)
+ endif()
+ 
+-add_subdirectory(${GTEST_SOURCE_DIR} ${CMAKE_BINARY_DIR}/googletest)
+ include_directories(SYSTEM ${GTEST_INCLUDE_DIR})
+ 
+ set(TEST_LIBRARIES gtest gtest_main)

diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.0-valgrind_optional.patch 
b/dev-libs/rapidjson/files/rapidjson-1.1.0-valgrind_optional.patch
new file mode 100644
index 000..071a3d2392d
--- /dev/null
+++ b/dev-libs/rapidjson/files/rapidjson-1.1.0-valgrind_optional.patch
@@ -0,0 +1,21 @@
+https://github.com/Tencent/rapidjson/issues/1808
+
+--- /test/unittest/CMakeLists.txt
 /test/unittest/CMakeLists.txt
+@@ -77,12 +77,15 @@
+ COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
+ 
+-if(NOT MSVC)
++find_program(VALGRIND_EXECUTABLE valgrind)
++if(VALGRIND_EXECUTABLE)
+ # Not running SIMD.* unit test cases for Valgrind
+ add_test(NAME valgrind_unittest
+ COMMAND valgrind --leak-check=full --error-exitcode=1 
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest --gtest_filter=-SIMD.*
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
++endif(VALGRIND_EXECUTABLE)
+ 
++if(NOT MSVC)
+ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
+ add_test(NAME symbol_check
+ COMMAND sh -c "objdump -t -C libnamespacetest.a | grep rapidjson ; 
test $? -ne 0"

diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.1-valgrind_optional.patch 
b/dev-libs/rapidjson/files/rapidjson-1.1.1-valgrind_optional.patch
new file mode 100644
index 000..b40a39fb13d
--- /dev/null
+++ b/dev-libs/rapidjson/files/rapidjson-1.1.1-valgrind_optional.patch
@@ -0,0 +1,21 @@
+https://github.com/Tencent/rapidjson/issues/1808
+
+--- /test/unittest/CMakeLists.txt
 /test/unittest/CMakeLists.txt
+@@ -78,12 +78,15 @@
+ COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
+ 
+-if(NOT MSVC)
++find_program(VALGRIND_EXECUTABLE valgrind)
++if(VALGRIND_EXECUTABLE)
+ # Not running SIMD.* unit test cases for Valgrind
+ add_test(NAME valgrind_unittest
+ COMMAND valgrind 
--suppressions=${CMAKE_SOURCE_DIR}/test/valgrind.supp --leak-check=full 
--error-exitcode=1 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest 
--gtest_filter=-SIMD.*
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
++endif(VALGRIND_EXECUTABLE)
+ 
++if(NOT MSVC)
+ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
+ add_test(NAME symbol_check
+ COMMAND sh -c "objdump -t -C libnamespacetest.a | grep rapidjson ; 
test $? -ne 0"

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild
similarity index 72%
copy from 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2020-07-29 Thread Sam James
commit: d270cdbb21cf21310ee2752e0c9c993d14b972ad
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 29 16:17:27 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 29 16:21:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d270cdbb

dev-libs/rapidjson: arm64 stable (bug #734100)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
index 60920f66894..ba6caae8106 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm ~arm64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2020-07-28 Thread Sam James
commit: 831e1693fcb1f68e8028a64c4a07928c3fa87438
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 28 19:23:03 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 28 19:23:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831e1693

dev-libs/rapidjson: arm stable (bug #734100)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
index 5065de1c95f..60920f66894 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="amd64 arm ~arm64 ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2020-07-27 Thread Sam James
commit: db82324b972bdc0db54775f8acbe6a633baabc20
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 27 20:50:21 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 27 20:50:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db82324b

dev-libs/rapidjson: amd64 stable (bug #734100)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
index 54296713339..5065de1c95f 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2020-07-14 Thread Sam James
commit: 68ffef61c52c890c4a761cfb2422117da9a8acd8
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 14 22:38:56 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 14 22:38:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ffef61

dev-libs/rapidjson: arm keyworded (bug #725914)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
index 2ffe57848cc..54296713339 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2019-10-08 Thread Craig Andrews
commit: b1d8ef8a014bc7e32cea4f6b80ca9e28cad5c794
Author: Craig Andrews  gentoo  org>
AuthorDate: Tue Oct  8 18:55:54 2019 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Tue Oct  8 18:56:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d8ef8a

dev-libs/rapidjson: Correct DOC and LIB dirs, https homepage, EAPI=7

Closes: https://bugs.gentoo.org/696978
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews  gentoo.org>

 .../{rapidjson-.ebuild => rapidjson-1.1.0-r2.ebuild}  | 11 ---
 dev-libs/rapidjson/rapidjson-.ebuild  |  6 --
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
similarity index 83%
copy from dev-libs/rapidjson/rapidjson-.ebuild
copy to dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
index 160fb5e9d92..bd6b5e3e367 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r2.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit cmake-utils
 
 DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
-HOMEPAGE="http://rapidjson.org/;
+HOMEPAGE="https://rapidjson.org/;
 
 LICENSE="MIT"
 IUSE="doc examples test"
@@ -14,7 +14,6 @@ SLOT="0"
 
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git;
-   EGIT_SUBMODULES=()
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
@@ -30,6 +29,10 @@ DEPEND="
)"
 RDEPEND=""
 
+PATCHES=(
+   "${FILESDIR}/${P}-gcc-7.patch"
+)
+
 src_prepare() {
cmake-utils_src_prepare
 
@@ -39,6 +42,8 @@ src_prepare() {
 
 src_configure() {
local mycmakeargs=(
+   -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
-DRAPIDJSON_BUILD_DOC=$(usex doc)
-DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-DRAPIDJSON_BUILD_TESTS=$(usex test)

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
index 160fb5e9d92..392fbf7059f 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit cmake-utils
 
 DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
-HOMEPAGE="http://rapidjson.org/;
+HOMEPAGE="https://rapidjson.org/;
 
 LICENSE="MIT"
 IUSE="doc examples test"
@@ -39,6 +39,8 @@ src_prepare() {
 
 src_configure() {
local mycmakeargs=(
+   -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}"
+   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
-DRAPIDJSON_BUILD_DOC=$(usex doc)
-DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
-DRAPIDJSON_BUILD_TESTS=$(usex test)



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2019-05-22 Thread Craig Andrews
commit: de1fbad09616de3cac55acbab74326815ba43b8e
Author: Craig Andrews  gentoo  org>
AuthorDate: Wed May 22 13:45:00 2019 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed May 22 13:45:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1fbad0

dev-libs/rapidjson: Remove invalid PATCH from -

Closes: https://bugs.gentoo.org/686508
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Craig Andrews  gentoo.org>

 dev-libs/rapidjson/rapidjson-.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
index fe37df29542..160fb5e9d92 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,10 +30,6 @@ DEPEND="
)"
 RDEPEND=""
 
-PATCHES=(
-   "${FILESDIR}/${P}-gcc-7.patch"
-)
-
 src_prepare() {
cmake-utils_src_prepare
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2018-12-28 Thread Craig Andrews
commit: ed1dcead011a1afd621ab58d97e77b0efbef2dd2
Author: Craig Andrews  gentoo  org>
AuthorDate: Fri Dec 28 14:47:18 2018 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Fri Dec 28 14:48:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1dcead

dev-libs/rapidjson: Use cmake-utils_src_prepare

Closes: https://bugs.gentoo.org/673878
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Craig Andrews  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild | 2 +-
 dev-libs/rapidjson/rapidjson-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
index 69293ade501..31257f30dc0 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
@@ -34,7 +34,7 @@ PATCHES=(
 )
 
 src_prepare() {
-   default
+   cmake-utils_src_prepare
 
sed -i -e 's|-Werror||g' CMakeLists.txt || die
sed -i -e 's|-Werror||g' example/CMakeLists.txt || die

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
index 8bd5504560c..fe37df29542 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -35,7 +35,7 @@ PATCHES=(
 )
 
 src_prepare() {
-   default
+   cmake-utils_src_prepare
 
sed -i -e 's|-Werror||g' CMakeLists.txt || die
sed -i -e 's|-Werror||g' example/CMakeLists.txt || die



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2018-12-27 Thread Craig Andrews
commit: a6485336b09976be119a81315a717e3bced97378
Author: Craig Andrews  gentoo  org>
AuthorDate: Thu Dec 27 21:57:15 2018 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Thu Dec 27 21:57:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6485336

dev-libs/rapidjson: Fix USE=examples with >=gcc-8

Closes: https://bugs.gentoo.org/673698
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Craig Andrews  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild |  7 +++
 dev-libs/rapidjson/rapidjson-.ebuild | 13 -
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
index 3566ee541f7..69293ade501 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
@@ -33,6 +33,13 @@ PATCHES=(
"${FILESDIR}/${P}-gcc-7.patch"
 )
 
+src_prepare() {
+   default
+
+   sed -i -e 's|-Werror||g' CMakeLists.txt || die
+   sed -i -e 's|-Werror||g' example/CMakeLists.txt || die
+}
+
 src_configure() {
local mycmakeargs=(
-DRAPIDJSON_BUILD_DOC=$(usex doc)

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
index 6d3ed3621f8..8bd5504560c 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,6 +30,17 @@ DEPEND="
)"
 RDEPEND=""
 
+PATCHES=(
+   "${FILESDIR}/${P}-gcc-7.patch"
+)
+
+src_prepare() {
+   default
+
+   sed -i -e 's|-Werror||g' CMakeLists.txt || die
+   sed -i -e 's|-Werror||g' example/CMakeLists.txt || die
+}
+
 src_configure() {
local mycmakeargs=(
-DRAPIDJSON_BUILD_DOC=$(usex doc)



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2018-12-13 Thread Mikle Kolyada
commit: 9847c6b14680169465fdbab3d583b260624959f5
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Dec 13 20:49:50 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Dec 13 20:49:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9847c6b1

dev-libs/rapidjson: amd64 stable wrt bug #671968

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
index 8642c56ecf0..3566ee541f7 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 x86"
+   KEYWORDS="amd64 x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2018-11-27 Thread Thomas Deutschmann
commit: 6638f1fbb2bd9f7d49c475f5aa7b366c2395ddf5
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Nov 27 21:53:15 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Nov 27 21:55:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6638f1fb

dev-libs/rapidjson: x86 stable (bug #671968)

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
index d7e3fee0fe8..8642c56ecf0 100644
--- a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 x86"
S="${WORKDIR}/rapidjson-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/files/, dev-libs/rapidjson/

2018-06-25 Thread Craig Andrews
commit: ccaf30cef6253b2071e1d8796003b0cae04767a9
Author: Craig Andrews  gentoo  org>
AuthorDate: Mon Jun 25 19:40:02 2018 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Mon Jun 25 19:40:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccaf30ce

dev-libs/rapidjson: Fix "this statement may fall through" error

Closes: https://bugs.gentoo.org/659170
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../rapidjson/files/rapidjson-1.1.0-gcc-7.patch| 46 ++
 dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild   | 44 +
 2 files changed, 90 insertions(+)

diff --git a/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc-7.patch 
b/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc-7.patch
new file mode 100644
index 000..925d175a899
--- /dev/null
+++ b/dev-libs/rapidjson/files/rapidjson-1.1.0-gcc-7.patch
@@ -0,0 +1,46 @@
+From fe19b7b6016d446722621fb407738209d1a911e8 Mon Sep 17 00:00:00 2001
+From: Harry Wong 
+Date: Thu, 4 May 2017 10:08:48 +0800
+Subject: [PATCH 1/2] Supress implicit fallthrough in GCC
+
+---
+ include/rapidjson/internal/regex.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/rapidjson/internal/regex.h 
b/include/rapidjson/internal/regex.h
+index 1369ea266..6d110bdbd 100644
+--- a/include/rapidjson/internal/regex.h
 b/include/rapidjson/internal/regex.h
+@@ -29,6 +29,7 @@ RAPIDJSON_DIAG_OFF(implicit-fallthrough)
+ #ifdef __GNUC__
+ RAPIDJSON_DIAG_PUSH
+ RAPIDJSON_DIAG_OFF(effc++)
++RAPIDJSON_DIAG_OFF(implicit-fallthrough)
+ #endif
+ 
+ #ifdef _MSC_VER
+
+From cba45fe9de6923b858edb0780e257b7257aa4f7b Mon Sep 17 00:00:00 2001
+From: Harry Wong 
+Date: Thu, 4 May 2017 10:32:45 +0800
+Subject: [PATCH 2/2] Onley apply to GCC 7
+
+---
+ include/rapidjson/internal/regex.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/include/rapidjson/internal/regex.h 
b/include/rapidjson/internal/regex.h
+index 6d110bdbd..e1a2faae5 100644
+--- a/include/rapidjson/internal/regex.h
 b/include/rapidjson/internal/regex.h
+@@ -29,8 +29,10 @@ RAPIDJSON_DIAG_OFF(implicit-fallthrough)
+ #ifdef __GNUC__
+ RAPIDJSON_DIAG_PUSH
+ RAPIDJSON_DIAG_OFF(effc++)
++#if __GNUC__ >= 7
+ RAPIDJSON_DIAG_OFF(implicit-fallthrough)
+ #endif
++#endif
+ 
+ #ifdef _MSC_VER
+ RAPIDJSON_DIAG_PUSH

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
new file mode 100644
index 000..d7e3fee0fe8
--- /dev/null
+++ b/dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
+HOMEPAGE="http://rapidjson.org/;
+
+LICENSE="MIT"
+IUSE="doc examples test"
+SLOT="0"
+
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git;
+   inherit git-r3
+else
+   SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/rapidjson-${PV}"
+fi
+
+DEPEND="
+   doc? ( app-doc/doxygen )
+   test? (
+   dev-cpp/gtest
+   dev-util/valgrind
+   )"
+RDEPEND=""
+
+PATCHES=(
+   "${FILESDIR}/${P}-gcc-7.patch"
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DRAPIDJSON_BUILD_DOC=$(usex doc)
+   -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
+   -DRAPIDJSON_BUILD_TESTS=$(usex test)
+   -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2017-08-24 Thread Craig Andrews
commit: 77ee8202af9c92d1174b03b2afdacc7ad8d9d966
Author: Craig Andrews  gentoo  org>
AuthorDate: Thu Aug 24 21:48:20 2017 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Thu Aug 24 21:48:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ee8202

dev-libs/rapidjson: disable git submodules in -

Gentoo-bug: 628112
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-libs/rapidjson/rapidjson-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
index 5d6d2183e51..6d3ed3621f8 100644
--- a/dev-libs/rapidjson/rapidjson-.ebuild
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
 
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git;
+   EGIT_SUBMODULES=()
inherit git-r3
 else
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/rapidjson/

2017-04-01 Thread David Seifert
commit: bb5ceff1f0b6a70c7e01ca566f14c33406556578
Author: Craig Andrews  integralblue  com>
AuthorDate: Tue Mar 28 03:09:35 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr  1 10:20:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5ceff1

dev-libs/rapidjson: A fast JSON parser/generator for C++ with both SAX/DOM 
style API

Gentoo-bug: 614100
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4310

 dev-libs/rapidjson/Manifest   |  1 +
 dev-libs/rapidjson/metadata.xml   | 16 +
 dev-libs/rapidjson/rapidjson-1.1.0.ebuild | 40 +++
 dev-libs/rapidjson/rapidjson-.ebuild  | 40 +++
 4 files changed, 97 insertions(+)

diff --git a/dev-libs/rapidjson/Manifest b/dev-libs/rapidjson/Manifest
new file mode 100644
index 000..f6b84ff6f2b
--- /dev/null
+++ b/dev-libs/rapidjson/Manifest
@@ -0,0 +1 @@
+DIST rapidjson-1.1.0.tar.gz 1019402 SHA256 
bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e SHA512 
2e82a4bddcd6c4669541f5945c2d240fb1b4fdd6e239200246d3dd50ce98733f0a4f6d3daa56f865d8c88779c036099c52a9ae85d47ad263686b68a88d832dff
 WHIRLPOOL 
01863b2fd4270776bea95530a15a815a9b27f8157250d59889351b154fcc591643c6f1071371bf667935833229c93ba8c2de803d9263491d79d73594c05003aa

diff --git a/dev-libs/rapidjson/metadata.xml b/dev-libs/rapidjson/metadata.xml
new file mode 100644
index 000..8d243cccf84
--- /dev/null
+++ b/dev-libs/rapidjson/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   candr...@integralblue.com
+   Craig Andrews
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   https://github.com/miloyip/rapidjson/issues
+   miloyip/rapidjson
+   
+

diff --git a/dev-libs/rapidjson/rapidjson-1.1.0.ebuild 
b/dev-libs/rapidjson/rapidjson-1.1.0.ebuild
new file mode 100644
index 000..8f3a254b791
--- /dev/null
+++ b/dev-libs/rapidjson/rapidjson-1.1.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
+HOMEPAGE="http://rapidjson.org/;
+
+LICENSE="MIT"
+IUSE="doc examples test"
+SLOT="0"
+
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="git://github.com/miloyip/rapidjson.git"
+   inherit git-r3
+else
+   SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/rapidjson-${PV}"
+fi
+
+DEPEND="
+   doc? ( app-doc/doxygen )
+   test? (
+   dev-cpp/gtest
+   dev-util/valgrind
+   )"
+RDEPEND=""
+
+src_configure() {
+   local mycmakeargs=(
+   -DRAPIDJSON_BUILD_DOC=$(usex doc)
+   -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
+   -DRAPIDJSON_BUILD_TESTS=$(usex test)
+   -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
+   )
+   cmake-utils_src_configure
+}

diff --git a/dev-libs/rapidjson/rapidjson-.ebuild 
b/dev-libs/rapidjson/rapidjson-.ebuild
new file mode 100644
index 000..8f3a254b791
--- /dev/null
+++ b/dev-libs/rapidjson/rapidjson-.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
+HOMEPAGE="http://rapidjson.org/;
+
+LICENSE="MIT"
+IUSE="doc examples test"
+SLOT="0"
+
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="git://github.com/miloyip/rapidjson.git"
+   inherit git-r3
+else
+   SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/rapidjson-${PV}"
+fi
+
+DEPEND="
+   doc? ( app-doc/doxygen )
+   test? (
+   dev-cpp/gtest
+   dev-util/valgrind
+   )"
+RDEPEND=""
+
+src_configure() {
+   local mycmakeargs=(
+   -DRAPIDJSON_BUILD_DOC=$(usex doc)
+   -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
+   -DRAPIDJSON_BUILD_TESTS=$(usex test)
+   -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
+   )
+   cmake-utils_src_configure
+}