[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2024-07-28 Thread Eray Aslan
commit: adac76c85278426083cfa7417e4f0572c45f263a
Author: Eray Aslan  gentoo  org>
AuthorDate: Sun Jul 28 07:36:33 2024 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Sun Jul 28 13:06:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adac76c8

dev-libs/mongo-c-driver: Stabilize 1.24.4 arm64, #934186

Signed-off-by: Eray Aslan  gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild
index 05faec798845..c729f7abecc7 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
+KEYWORDS="~amd64 arm64 ~hppa ~riscv ~x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2023-09-08 Thread Sam James
commit: 7dc497f5f518434196287dfa3f346880f3526846
Author: EJ Agas  gmail  com>
AuthorDate: Thu Mar 10 14:25:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  8 19:29:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc497f5

dev-libs/mongo-c-driver: Bump to 1.24.4

Co-authored-by: EJ Agas  gmail.com>
Signed-off-by: EJ Agas  gmail.com>
Signed-off-by: Jaco Kroon  uls.co.za>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.24.4.ebuild| 96 ++
 2 files changed, 97 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 57f1300f64fd..2e83e1e3a78a 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1 +1,2 @@
 DIST mongo-c-driver-1.18.0.tar.gz 7246954 BLAKE2B 
9418ab2e132f8a8c582bcbea8c7b090e9e45e34219845d8f6b7a99d4ebfb17ef2eec2223504e9a4ab7f51ca01e904a7f3bb04bf9f8bf20c010ab9f82894a728e
 SHA512 
c970f347689916172a957fc431b307bab3cb63367d4b39c49745c75b9fa84f0035db934c551570a4141733fc1bc6b33b118911c3b69ecdea797f19312b213606
+DIST mongo-c-driver-1.24.4.tar.gz 7916661 BLAKE2B 
e361b52bf16eed7437428b0481d792ecf2f9cc283fdd6f23916d4a3ffb1b7d7c9ea7a7c4cf5f369e21fb6d4f564b91e07ac2ee44656855993218593dc4f1c166
 SHA512 
3563c061565d17a76581e188f6e184d7e41f2729812c8815afd34e03ebe6c1d25d7498a2cb1b599a09d24f6268c36473ef5113a14c7585a1532c9abf2e56e936

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild
new file mode 100644
index ..05faec798845
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Client library written in C for MongoDB"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
+IUSE="debug examples icu sasl ssl static-libs test"
+REQUIRED_USE="test? ( static-libs )"
+
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )
+   !test? ( test )"
+
+RDEPEND="app-arch/snappy:=
+   app-arch/zstd:=
+   >=dev-libs/libbson-${PV}[static-libs?]
+   dev-python/sphinx
+   sys-libs/zlib:=
+   icu? ( dev-libs/icu:= )
+   sasl? ( dev-libs/cyrus-sasl:= )
+   ssl? (
+   dev-libs/openssl:=
+   )"
+DEPEND="${RDEPEND}
+   test? (
+   dev-db/mongodb
+   dev-libs/libbson[static-libs]
+   )"
+
+src_prepare() {
+   cmake_src_prepare
+
+   # copy private headers for tests since we don't build libbson
+   if use test; then
+   mkdir -p src/libbson/tests/bson || die
+   cp src/libbson/src/bson/bson-*.h src/libbson/tests/bson/ || die
+   fi
+
+   # remove doc files
+   sed -i '/^\s*install\s*(FILES COPYING NEWS/,/^\s*)/{d}' CMakeLists.txt 
|| die
+
+   # enable tests
+   sed -i '/message ("--   disabling test-libmongoc since using system 
libbson")/{d}' CMakeLists.txt || die
+   sed -i '/SET (ENABLE_TESTS OFF)/{d}' CMakeLists.txt || die
+   sed -i 's/message (FATAL_ERROR "System libbson built without static 
library target")/message (STATUS "System libbson built without static library 
target")/' CMakeLists.txt || die
+   sed -i 's##"bson/bson-private.h"#' 
src/libbson/tests/test-bson.c || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath
+   -DUSE_SYSTEM_LIBBSON=ON
+   -DENABLE_EXAMPLES=OFF
+   -DENABLE_ICU="$(usex icu ON OFF)"
+   -DENABLE_MAN_PAGES=ON
+   -DENABLE_MONGOC=ON
+   -DENABLE_SNAPPY=AUTO
+   -DENABLE_ZLIB=SYSTEM
+   -DENABLE_SASL="$(usex sasl CYRUS OFF)"
+   -DENABLE_SSL="$(usex ssl $(usex ssl OPENSSL) OFF)"
+   -DENABLE_STATIC="$(usex static-libs ON OFF)"
+   -DENABLE_TESTS="$(usex test ON OFF)"
+   -DENABLE_TRACING="$(usex debug ON OFF)"
+   -DENABLE_UNINSTALL=OFF
+   -DENABLE_ZSTD=ON
+   )
+
+   cmake_src_configure
+}
+
+# FEATURES="test -network-sandbox" USE="static-libs" emerge 
dev-libs/mongo-c-driver
+src_test() {
+   local PORT=27099
+   mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+   --dbpath="${T}" --logpath="${T}/mongod.log" || die
+   MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" 
../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die
+   kill $(<"${T}/mongod.lock")
+}
+
+src_install() {
+   if use examples; then
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2023-07-24 Thread Michał Górny
commit: 902c162a7ed7f479e86f126c5a97921c618bf43b
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 24 12:30:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 24 12:34:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=902c162a

dev-libs/mongo-c-driver: Fix support for sphinx-5+

Strip -W flag that turns warnings into errors, in order to permit
building manpages with >=dev-python/sphinx-5.  I understand that it was
so hard to do this throughout the last year.

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
index 752bb1e91e55..e2bf1455e790 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.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
@@ -23,7 +23,6 @@ RESTRICT="x86? ( test )
 RDEPEND="app-arch/snappy:=
app-arch/zstd:=
>=dev-libs/libbson-${PV}[static-libs?]
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2022-07-09 Thread Arthur Zamarin
commit: ac5bcae60e4c8838e8b3e9568765873426842a77
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jul  9 14:42:52 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jul  9 14:44:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5bcae6

dev-libs/mongo-c-driver: cap to https://bugs.gentoo.org/849023
Signed-off-by: Arthur Zamarin  gentoo.org>

 .../{mongo-c-driver-1.18.0.ebuild => mongo-c-driver-1.18.0-r1.ebuild}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
similarity index 99%
rename from dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
rename to dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
index 2969c22a9765..752bb1e91e55 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
@@ -23,7 +23,7 @@ RESTRICT="x86? ( test )
 RDEPEND="app-arch/snappy:=
app-arch/zstd:=
>=dev-libs/libbson-${PV}[static-libs?]
-   dev-python/sphinx
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2022-05-13 Thread Jakov Smolić
commit: 14885e0b6f399c1c4385a744761c89ae2fc73031
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 13 14:08:33 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 13 14:08:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14885e0b

dev-libs/mongo-c-driver: Keyword 1.18.0 arm64, #729934

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
index 0f8eff88589a..2969c22a9765 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~hppa ~riscv x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2022-04-25 Thread Sam James
commit: 85d62d75203b7c5494c1ea34ae75e467de8d3a08
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 26 03:36:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 26 03:36:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d62d75

dev-libs/mongo-c-driver: drop ~s390

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
index d81423af7651..0f8eff88589a 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.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=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~riscv ~s390 x86"
+KEYWORDS="amd64 ~hppa ~riscv x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/files/, dev-libs/mongo-c-driver/

2021-11-29 Thread Andreas Sturmlechner
commit: 1b5fc1de3359cf9e15522286b0bc189ebcdb9347
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Nov 26 09:21:56 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Nov 29 15:03:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b5fc1de

dev-libs/mongo-c-driver: Drop 1.16.2, 1.17.0

Bug: https://bugs.gentoo.org/791508
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/mongo-c-driver/Manifest   |  2 -
 .../mongo-c-driver-1.16.2-single-doc-job.patch | 22 -
 .../files/mongo-c-driver-1.16.2-sphinx.patch   | 19 -
 .../mongo-c-driver/mongo-c-driver-1.16.2.ebuild| 94 --
 .../mongo-c-driver/mongo-c-driver-1.17.0.ebuild| 93 -
 5 files changed, 230 deletions(-)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 51ab9f632e96..57f1300f64fd 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,3 +1 @@
-DIST mongo-c-driver-1.16.2.tar.gz 6888287 BLAKE2B 
40d2b73f495a8c71ca8b3c39c1b3c85b4a01ea088428967ed49f4758ef749e3288b046bde767a83aad022933f30f7307a4be65141f477bb1dcf912b4099129d6
 SHA512 
0930a80692f08329cad558644c25c46da64a0c8b6a9fc7412db0f547dae63bf59e9d29ee774d329c63af186eea751670bf21ccee8cf255f8bc8d5bd78c0e736a
-DIST mongo-c-driver-1.17.0.tar.gz 7092911 BLAKE2B 
f93de6f3ded0f22ff8af65113ed207ca6dcc8ecbaedb24b33ddf7ada93b913eae33a802245f386d75fef01bf53c2d9630e68138a5715de001b7acea7dbde05f1
 SHA512 
49889b9d777dc3cb151b9cbef7bc2dd1785e327ae641569281efcc040d208cb034da3a74ae1115a033cc86e5b70079dab76c3478df8f171cc083d686f7568858
 DIST mongo-c-driver-1.18.0.tar.gz 7246954 BLAKE2B 
9418ab2e132f8a8c582bcbea8c7b090e9e45e34219845d8f6b7a99d4ebfb17ef2eec2223504e9a4ab7f51ca01e904a7f3bb04bf9f8bf20c010ab9f82894a728e
 SHA512 
c970f347689916172a957fc431b307bab3cb63367d4b39c49745c75b9fa84f0035db934c551570a4141733fc1bc6b33b118911c3b69ecdea797f19312b213606

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-single-doc-job.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-single-doc-job.patch
deleted file mode 100644
index 933081b32a31..
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-single-doc-job.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/build/cmake/SphinxBuild.cmake b/build/cmake/SphinxBuild.cmake
-index a7f49d7..804ad44 100644
 a/build/cmake/SphinxBuild.cmake
-+++ b/build/cmake/SphinxBuild.cmake
-@@ -40,7 +40,7 @@ function (sphinx_build_html target_name doc_dir)
-   ${CMAKE_COMMAND} -E env
-   "PYTHONDONTWRITEBYTECODE=1"
-   ${SPHINX_EXECUTABLE}
-- -j ${NPROCS} -qEW -b html
-+ -j 1 -qEW -b html
-  -c "${CMAKE_CURRENT_SOURCE_DIR}"
-  "${CMAKE_CURRENT_SOURCE_DIR}"
-  "${SPHINX_HTML_DIR}"
-@@ -133,7 +133,7 @@ function (sphinx_build_man target_name)
-   ${CMAKE_COMMAND} -E env
-   "PYTHONDONTWRITEBYTECODE=1"
-   ${SPHINX_EXECUTABLE}
-- -j ${NPROCS} -qEW -b man
-+ -j 1 -qEW -b man
-  -c "${CMAKE_CURRENT_SOURCE_DIR}"
-  "${CMAKE_CURRENT_SOURCE_DIR}"
-  "${SPHINX_MAN_DIR}"

diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-sphinx.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-sphinx.patch
deleted file mode 100644
index 7a165b61c59a..
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-sphinx.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-https://bugs.gentoo.org/716774
-
 a/build/sphinx/taglist.py
-+++ b/build/sphinx/taglist.py
-@@ -24,7 +24,12 @@ THE SOFTWARE.
- """
- 
- from docutils import nodes, utils
--from sphinx.environment import NoUri
-+
-+try:
-+from sphinx.environment import NoUri
-+except ImportError:
-+from sphinx.errors import NoUri
-+
- try:
- from sphinx.util.compat import Directive
- except ImportError:
- 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
deleted file mode 100644
index 71b6b95d3474..
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils
-
-DESCRIPTION="Client library written in C for MongoDB"
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
-SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ~s390 x86"
-IUSE="debug examples icu sasl ssl static-libs test"
-REQUIRED_USE="test? ( static-libs )"
-
-RDEPEND="app-arch/snappy:=
-   app-arch/zstd:=
-   >=dev-libs/libbson-${PV}[static-libs?]
-   dev-python/sphinx
-   sys-libs/zlib:=
-   icu? ( dev-libs/icu:= )
-   sasl? ( dev-libs/cyrus-sasl:= )
-   ssl? (
-   dev-libs/openssl:0=
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2021-11-25 Thread Sam James
commit: f573ea40c7dfd2ffef7260a3248627eb9c522af9
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 06:41:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 06:41:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f573ea40

dev-libs/mongo-c-driver: Stabilize 1.18.0 amd64, #791508

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
index 1a2be6118fd0..d81423af7651 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~riscv ~s390 x86"
+KEYWORDS="amd64 ~hppa ~riscv ~s390 x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2021-10-27 Thread Agostino Sarubbo
commit: 3d879bf7dca0b525e29842d6a867bfa4976ca43c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Oct 27 06:36:30 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Oct 27 06:36:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d879bf7

dev-libs/mongo-c-driver: x86 stable wrt bug #791508

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
index e1858e00758..1a2be6118fd 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~riscv ~s390 ~x86"
+KEYWORDS="~amd64 ~hppa ~riscv ~s390 x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2021-07-24 Thread Thomas Deutschmann
commit: 5fe67038de11f349e0d6ab9e6bfe7920e0245226
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Jul 24 14:23:02 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jul 24 16:15:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe67038

dev-libs/mongo-c-driver: bump to v1.18.0

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

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.18.0.ebuild| 92 ++
 2 files changed, 93 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 4a1d6bdc1f0..51ab9f632e9 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,2 +1,3 @@
 DIST mongo-c-driver-1.16.2.tar.gz 6888287 BLAKE2B 
40d2b73f495a8c71ca8b3c39c1b3c85b4a01ea088428967ed49f4758ef749e3288b046bde767a83aad022933f30f7307a4be65141f477bb1dcf912b4099129d6
 SHA512 
0930a80692f08329cad558644c25c46da64a0c8b6a9fc7412db0f547dae63bf59e9d29ee774d329c63af186eea751670bf21ccee8cf255f8bc8d5bd78c0e736a
 DIST mongo-c-driver-1.17.0.tar.gz 7092911 BLAKE2B 
f93de6f3ded0f22ff8af65113ed207ca6dcc8ecbaedb24b33ddf7ada93b913eae33a802245f386d75fef01bf53c2d9630e68138a5715de001b7acea7dbde05f1
 SHA512 
49889b9d777dc3cb151b9cbef7bc2dd1785e327ae641569281efcc040d208cb034da3a74ae1115a033cc86e5b70079dab76c3478df8f171cc083d686f7568858
+DIST mongo-c-driver-1.18.0.tar.gz 7246954 BLAKE2B 
9418ab2e132f8a8c582bcbea8c7b090e9e45e34219845d8f6b7a99d4ebfb17ef2eec2223504e9a4ab7f51ca01e904a7f3bb04bf9f8bf20c010ab9f82894a728e
 SHA512 
c970f347689916172a957fc431b307bab3cb63367d4b39c49745c75b9fa84f0035db934c551570a4141733fc1bc6b33b118911c3b69ecdea797f19312b213606

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
new file mode 100644
index 000..706008e9274
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Client library written in C for MongoDB"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
+IUSE="debug examples icu sasl ssl static-libs test"
+REQUIRED_USE="test? ( static-libs )"
+
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )
+   !test? ( test )"
+
+RDEPEND="app-arch/snappy:=
+   app-arch/zstd:=
+   >=dev-libs/libbson-${PV}[static-libs?]
+   dev-python/sphinx
+   sys-libs/zlib:=
+   icu? ( dev-libs/icu:= )
+   sasl? ( dev-libs/cyrus-sasl:= )
+   ssl? (
+   dev-libs/openssl:0=
+   )"
+DEPEND="${RDEPEND}
+   test? (
+   dev-db/mongodb
+   dev-libs/libbson[static-libs]
+   )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.14.0-no-docs.patch"
+   "${FILESDIR}/${PN}-1.16.2-enable-tests.patch" # enable tests with 
system libbson
+)
+
+src_prepare() {
+   cmake_src_prepare
+
+   # copy private headers for tests since we don't build libbson
+   if use test; then
+   mkdir -p src/libbson/tests/bson || die
+   cp src/libbson/src/bson/bson-*.h src/libbson/tests/bson/ || die
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath
+   -DENABLE_BSON=SYSTEM
+   -DENABLE_EXAMPLES=OFF
+   -DENABLE_ICU="$(usex icu ON OFF)"
+   -DENABLE_MAN_PAGES=ON
+   -DENABLE_MONGOC=ON
+   -DENABLE_SNAPPY=SYSTEM
+   -DENABLE_ZLIB=SYSTEM
+   -DENABLE_SASL="$(usex sasl CYRUS OFF)"
+   -DENABLE_SSL="$(usex ssl OPENSSL OFF )"
+   -DENABLE_STATIC="$(usex static-libs ON OFF)"
+   -DENABLE_TESTS="$(usex test ON OFF)"
+   -DENABLE_TRACING="$(usex debug ON OFF)"
+   -DENABLE_UNINSTALL=OFF
+   -DENABLE_ZSTD=ON
+   )
+
+   cmake_src_configure
+}
+
+# FEATURES="test -network-sandbox" USE="static-libs" emerge 
dev-libs/mongo-c-driver
+src_test() {
+   local PORT=27099
+   mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+   --dbpath="${T}" --logpath="${T}/mongod.log" || die
+   MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" 
../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die
+   kill $(<"${T}/mongod.lock")
+}
+
+src_install() {
+   if use examples; then
+   docinto examples
+   dodoc src/libmongoc/examples/*.c
+   fi
+
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2021-05-02 Thread Mikle Kolyada
commit: 48ebc66b9c93fe1488f354a2226261c6fcb8193b
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 15:34:45 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 15:38:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ebc66b

dev-libs/mongo-c-driver: remove libressl support

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild | 9 -
 dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild | 7 +++
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
index 8e3e7618734..71b6b95d347 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.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
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~hppa ~s390 x86"
-IUSE="debug examples icu libressl sasl ssl static-libs test"
+IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 
 RDEPEND="app-arch/snappy:=
@@ -23,8 +23,7 @@ RDEPEND="app-arch/snappy:=
icu? ( dev-libs/icu:= )
sasl? ( dev-libs/cyrus-sasl:= )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
)"
 DEPEND="${RDEPEND}
test? (
@@ -65,7 +64,7 @@ src_configure() {
-DENABLE_SNAPPY=SYSTEM
-DENABLE_ZLIB=SYSTEM
-DENABLE_SASL="$(usex sasl CYRUS OFF)"
-   -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)"
+   -DENABLE_SSL="$(usex ssl OPENSSL OFF)"
-DENABLE_STATIC="$(usex static-libs ON OFF)"
-DENABLE_TESTS="$(usex test ON OFF)"
-DENABLE_TRACING="$(usex debug ON OFF)"

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
index f58927b7e0f..d61656b6f84 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~s390 ~x86"
-IUSE="debug examples icu libressl sasl ssl static-libs test"
+IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
@@ -28,8 +28,7 @@ RDEPEND="app-arch/snappy:=
icu? ( dev-libs/icu:= )
sasl? ( dev-libs/cyrus-sasl:= )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
)"
 DEPEND="${RDEPEND}
test? (
@@ -64,7 +63,7 @@ src_configure() {
-DENABLE_SNAPPY=SYSTEM
-DENABLE_ZLIB=SYSTEM
-DENABLE_SASL="$(usex sasl CYRUS OFF)"
-   -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)"
+   -DENABLE_SSL="$(usex ssl OPENSSL OFF )"
-DENABLE_STATIC="$(usex static-libs ON OFF)"
-DENABLE_TESTS="$(usex test ON OFF)"
-DENABLE_TRACING="$(usex debug ON OFF)"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/, dev-libs/mongo-c-driver/files/

2021-02-28 Thread Andreas Sturmlechner
commit: 2a1066647ba01f8ff18be3ff5567ad211d2ab357
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 28 15:37:08 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 28 18:08:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a106664

dev-libs/mongo-c-driver: Cleanup old, EAPI5--, EAPI6--

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

 dev-libs/mongo-c-driver/Manifest   | 14 
 .../files/mongo-c-driver-1.10.3-enable-tests.patch | 25 --
 .../files/mongo-c-driver-1.11.0-enable-tests.patch | 25 --
 .../files/mongo-c-driver-1.12.0-libressl.patch | 15 
 .../files/mongo-c-driver-1.13.0-enable-tests.patch | 25 --
 .../files/mongo-c-driver-1.13.0-no-uninstall.patch | 27 --
 .../mongo-c-driver-1.13.1-drop-failing-test.patch  | 17 
 .../files/mongo-c-driver-1.14.0-enable-tests.patch | 25 --
 .../mongo-c-driver/mongo-c-driver-0.98.2.ebuild| 70 
 .../mongo-c-driver/mongo-c-driver-1.1.10.ebuild| 74 -
 .../mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild  | 74 -
 .../mongo-c-driver/mongo-c-driver-1.10.3.ebuild| 86 
 .../mongo-c-driver/mongo-c-driver-1.11.0.ebuild| 87 
 .../mongo-c-driver/mongo-c-driver-1.12.0.ebuild| 88 
 .../mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild | 91 -
 .../mongo-c-driver/mongo-c-driver-1.13.1.ebuild| 92 -
 .../mongo-c-driver/mongo-c-driver-1.14.0.ebuild| 93 -
 .../mongo-c-driver/mongo-c-driver-1.15.1.ebuild| 95 --
 .../mongo-c-driver/mongo-c-driver-1.3.5.ebuild | 79 --
 .../mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 81 --
 .../mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 84 ---
 .../mongo-c-driver/mongo-c-driver-1.9.3.ebuild | 84 ---
 22 files changed, 1351 deletions(-)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 9570420ca16..4a1d6bdc1f0 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,16 +1,2 @@
-DIST mongo-c-driver-0.98.2.tar.gz 5342760 BLAKE2B 
399fb03464234c87dcb66647c5383c505e654238e72e86794fdbc56716590ea6637aa7bfb0d25c0fb6aae8fce6055741753ac33125cb1b475c7bfe1e198a0a1e
 SHA512 
6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb
-DIST mongo-c-driver-1.1.10.tar.gz 5321144 BLAKE2B 
d63ba4b1a256b8b29654398a53d9ca46d49faad0e0327db0d51cfc4e2a1771568341ff4e7ba6ff2ff31fb11ad8a14c452e52cabdd83da7eb1c1ceb8af7bef7d2
 SHA512 
10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df
-DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B 
f8004486baf6d2d3086e458bdb4bc8060462fd52ba700cbf05fdb9827adcbd087b61d7e0e00169cf635c8021983dc851b7f34c3e08d66efc65483fce98a85f74
 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95
-DIST mongo-c-driver-1.10.3.tar.gz 5616159 BLAKE2B 
368e273aedc21ec79b804625276a49f7b670f027b410595b1e6455228dc776f0ed629d6ee599d16b9d0db08ec08a8e4dac2bdf06fa931ef1578849bf86d85726
 SHA512 
47af1baad1ad74bbbdf2fd22a437034d317a2f3ec02fee485e983ae6829b3f01af2649a09577f08144a88385fa940dfa211ea02bfa3c0e25b59dbe2090269603
-DIST mongo-c-driver-1.11.0.tar.gz 5681593 BLAKE2B 
43f70943cc7f1a9f6285c71136b1284be7ef0f223b777d5884d795102910aedb8d4f516d5d50cdecfa9219835a884b237aa98ab3742067c36944f0abdc67a8e4
 SHA512 
d20d83c9470972641407550bf835701df28c196b1cf19097450a062fd3c560c452c658aa5080bb28066079cea27888731f3670e81bd1b0cd5be1b97a2988074e
-DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 
113db7ec95f8e9b65433fc20def7224ee8d54c9ddb14cfc68ccf7ccb1995808f4c4c372806e85e1c8bb8b8541bb8b8b5236fd06d7605b78a4bbcee6560642bec
 SHA512 
e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f
-DIST mongo-c-driver-1.13.0.tar.gz 5734887 BLAKE2B 
ce5c78dde31edc753a6678e90889a0da7129cd1fcf1dce7222df4d25ca109b1bfbb545c755abf8e4cc39dd40dde7ba4c50dd51dcfc67c970e2b8eb278bd543fc
 SHA512 
d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907
-DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 
92184df6f15f951564a7df14d8ec52eb0199a49af102d44c8fb7678db82a41f915c984e95f5301f533dde63139221cb6e161fa5053b9fcc33080abe1095d9c35
 SHA512 
454670a145a5f2272daa5ca88f2e7d7e42c9b7df62dfc29b3c4b602ef8f819a740890c40872fa47dc411cc5ef9a34b55a6feea3657a802a5be378c4dbe79f42d
-DIST mongo-c-driver-1.14.0.tar.gz 6573651 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2021-02-28 Thread Andreas Sturmlechner
commit: 8e7e20dc8ed8c3dfb78189ee614e609a60bf12fb
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 28 15:38:52 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 28 18:08:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e7e20dc

dev-libs/mongo-c-driver: Switch to cmake.eclass

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild | 20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
index 72b58f751ba..f58927b7e0f 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Client library written in C for MongoDB"
 HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
@@ -15,6 +15,11 @@ KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )
+   !test? ( test )"
+
 RDEPEND="app-arch/snappy:=
app-arch/zstd:=
>=dev-libs/libbson-${PV}[static-libs?]
@@ -32,11 +37,6 @@ DEPEND="${RDEPEND}
dev-libs/libbson[static-libs]
)"
 
-# No tests on x86 because tests require dev-db/mongodb which don't support
-# x86 anymore (bug #645994)
-RESTRICT="x86? ( test )
-   !test? ( test )"
-
 PATCHES=(
"${FILESDIR}/${PN}-1.14.0-no-docs.patch"
"${FILESDIR}/${PN}-1.16.2-enable-tests.patch" # enable tests with 
system libbson
@@ -44,7 +44,7 @@ PATCHES=(
 )
 
 src_prepare() {
-   cmake-utils_src_prepare
+   cmake_src_prepare
 
# copy private headers for tests since we don't build libbson
if use test; then
@@ -72,7 +72,7 @@ src_configure() {
-DENABLE_ZSTD=ON
)
 
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 # FEATURES="test -network-sandbox" USE="static-libs" emerge 
dev-libs/mongo-c-driver
@@ -90,5 +90,5 @@ src_install() {
dodoc src/libmongoc/examples/*.c
fi
 
-   cmake-utils_src_install
+   cmake_src_install
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2020-09-01 Thread Michał Górny
commit: 1f9775ea0949d27444d5fa6496f69b523d78cb32
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  1 10:47:22 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  1 10:47:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f9775ea

dev-libs/mongo-c-driver: Fix Manifest

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

 dev-libs/mongo-c-driver/Manifest | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 8cac0c8b48f..9570420ca16 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,5 +1,3 @@
-DIST mongo-c-driver-0.7.1.tar.gz 108537 BLAKE2B 
29d7f6680d700d15d02b3d5deefbdc27b4e0841a2ac30205ed148216d15e95fe487f4cea4decacdf573a4ce78248cfd12cba72b9dbf90065e127fa7fb56cad27
 SHA512 
5c6996dc47ecbe4d77971e3aa983a877e7de736bf358c467808eceba8b1a5eea342376249cdc682a034fc7ec39290d234527cec3c3732686f184281a72aec724
-DIST mongo-c-driver-0.8.1.tar.gz 124053 BLAKE2B 
1c6b0d3998c6497c39fc2f6597021e84571c717e5d6f288d79d3862e7f15f131604648595ca0e12200352a7fbf40652803afd0f60a80eac657b9853a1de51173
 SHA512 
7b61ac4b1b154ee1f518eddb2bbc0cdafe0da8786eed4475e5703c2a735ec5a09efde59f5bfa45fb226cbce24d8c0ba0de403d8fc3e561c0e48507dfb07962b1
 DIST mongo-c-driver-0.98.2.tar.gz 5342760 BLAKE2B 
399fb03464234c87dcb66647c5383c505e654238e72e86794fdbc56716590ea6637aa7bfb0d25c0fb6aae8fce6055741753ac33125cb1b475c7bfe1e198a0a1e
 SHA512 
6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb
 DIST mongo-c-driver-1.1.10.tar.gz 5321144 BLAKE2B 
d63ba4b1a256b8b29654398a53d9ca46d49faad0e0327db0d51cfc4e2a1771568341ff4e7ba6ff2ff31fb11ad8a14c452e52cabdd83da7eb1c1ceb8af7bef7d2
 SHA512 
10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B 
f8004486baf6d2d3086e458bdb4bc8060462fd52ba700cbf05fdb9827adcbd087b61d7e0e00169cf635c8021983dc851b7f34c3e08d66efc65483fce98a85f74
 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/, dev-libs/mongo-c-driver/files/

2020-09-01 Thread Michał Górny
commit: e950fd580a7212e3adaf225ceac0c00693dbf2bf
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  1 09:33:13 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  1 10:04:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e950fd58

dev-libs/mongo-c-driver: Remove old (python2)

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

 .../mongo-c-driver/files/0.8.1-api-version.diff| 14 -
 .../mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild  | 59 --
 .../mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild  | 53 ---
 3 files changed, 126 deletions(-)

diff --git a/dev-libs/mongo-c-driver/files/0.8.1-api-version.diff 
b/dev-libs/mongo-c-driver/files/0.8.1-api-version.diff
deleted file mode 100644
index 2bd52253a17..000
--- a/dev-libs/mongo-c-driver/files/0.8.1-api-version.diff
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -uNr mongo-c-driver-0.8.1.ORIG/src/mongo.h 
mongo-c-driver-0.8.1/src/mongo.h
 mongo-c-driver-0.8.1.ORIG/src/mongo.h  2014-03-27 17:00:42.880465606 
+
-+++ mongo-c-driver-0.8.1/src/mongo.h   2014-03-27 17:01:05.131465940 +
-@@ -33,8 +33,8 @@
- #endif
- 
- #define MONGO_MAJOR 0
--#define MONGO_MINOR 7
--#define MONGO_PATCH 0
-+#define MONGO_MINOR 8
-+#define MONGO_PATCH 1
- 
- #define MONGO_OK 0
- #define MONGO_ERROR -1

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
deleted file mode 100644
index f342b65bf46..000
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit flag-o-matic multilib python-any-r1 toolchain-funcs
-
-DESCRIPTION="C Driver for MongoDB"
-HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver;
-SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ~s390 x86"
-IUSE="doc static-libs"
-
-# tests fails to build
-RESTRICT="test"
-
-RDEPEND=""
-DEPEND="${PYTHON_DEPS}
-   doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )
-"
-
-python_check_deps() {
-   if use doc; then
-   has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
-   fi
-}
-
-src_unpack() {
-   unpack ${A}
-   mv *-${PN}-* "${S}"
-}
-
-src_prepare() {
-   # bug #510722
-   sed -e 's/-O3//g' \
-   -e 's/-ggdb//g' \
-   -e "s/CC:=.*/CC:=$(tc-getCC)/g" \
-   -i Makefile || die
-}
-
-src_compile() {
-   append-cflags -D_POSIX_C_SOURCE=200112L
-   emake
-   use doc && make -C docs/source/sphinx html
-}
-
-src_install() {
-   emake install \
-   INSTALL_LIBRARY_PATH="${D}/usr/$(get_libdir)" \
-   INSTALL_INCLUDE_PATH="${D}/usr/include"
-
-   use static-libs || find "${ED}" -name '*.a' -exec rm -f {} +
-
-   use doc && dohtml -r docs/source/sphinx/build/html/*
-}

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
deleted file mode 100644
index 0220abebd22..000
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-
-inherit base flag-o-matic multilib python-any-r1 toolchain-funcs
-
-DESCRIPTION="C Driver for MongoDB"
-HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver;
-SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ~s390 x86"
-IUSE="doc static-libs"
-
-# tests fails to build
-RESTRICT="test"
-
-RDEPEND=""
-DEPEND="${PYTHON_DEPS}
-   doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )
-"
-PATCHES=( "${FILESDIR}/${PV}-api-version.diff" )
-
-python_check_deps() {
-   if use doc; then
-   has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
-   fi
-}
-
-src_unpack() {
-   unpack ${A}
-   mv *-${PN}-* "${S}"
-}
-
-src_compile() {
-   append-cflags -D_POSIX_C_SOURCE=200112L
-   tc-export CC
-   emake
-   use doc && make -C docs/source/sphinx html
-}
-
-src_install() {
-   emake install \
-   INSTALL_LIBRARY_PATH="${D}/usr/$(get_libdir)" \
-   INSTALL_INCLUDE_PATH="${D}/usr/include"
-
-   use static-libs || find "${ED}" -name '*.a' -exec rm -f {} +
-
-   use doc && dohtml -r docs/source/sphinx/build/html/*
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2020-08-06 Thread Thomas Deutschmann
commit: 3cab417582b0798034cd15fa0426f60cc74871fb
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Aug  6 14:28:25 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Aug  6 14:34:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cab4175

dev-libs/mongo-c-driver: bump to v1.17.0

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

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.17.0.ebuild| 94 ++
 2 files changed, 95 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 539559f914e..8cac0c8b48f 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -11,6 +11,7 @@ DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 
92184df6f15f951564a7df14d8ec52
 DIST mongo-c-driver-1.14.0.tar.gz 6573651 BLAKE2B 
0b1157473554a5aa49e61cf1c85dc7b1f1917581e661a4295876d4c93e72137b4c7c04e1b7545ba7272706499dbe868a36f1c888d2d07a8176f1c4dc01f9fa5f
 SHA512 
99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994
 DIST mongo-c-driver-1.15.1.tar.gz 6699867 BLAKE2B 
afb75b6f50173bbe161a37a5cd3afd7d2ce3d9ab73019e2a27e2b15b0be0a54c5e3b423dda2e6d65b85ff7c1dbbd883f3a0e0ebc244a13c531d2c39297d9a5e9
 SHA512 
7544900809dd008da110b412acc1e5e42ea908d804fdf3bced8100e48f1695844605407c9733b285b8833b636bcaec8687df25a01c9749612c61df2325214fe5
 DIST mongo-c-driver-1.16.2.tar.gz 6888287 BLAKE2B 
40d2b73f495a8c71ca8b3c39c1b3c85b4a01ea088428967ed49f4758ef749e3288b046bde767a83aad022933f30f7307a4be65141f477bb1dcf912b4099129d6
 SHA512 
0930a80692f08329cad558644c25c46da64a0c8b6a9fc7412db0f547dae63bf59e9d29ee774d329c63af186eea751670bf21ccee8cf255f8bc8d5bd78c0e736a
+DIST mongo-c-driver-1.17.0.tar.gz 7092911 BLAKE2B 
f93de6f3ded0f22ff8af65113ed207ca6dcc8ecbaedb24b33ddf7ada93b913eae33a802245f386d75fef01bf53c2d9630e68138a5715de001b7acea7dbde05f1
 SHA512 
49889b9d777dc3cb151b9cbef7bc2dd1785e327ae641569281efcc040d208cb034da3a74ae1115a033cc86e5b70079dab76c3478df8f171cc083d686f7568858
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
new file mode 100644
index 000..72b58f751ba
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Client library written in C for MongoDB"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
+IUSE="debug examples icu libressl sasl ssl static-libs test"
+REQUIRED_USE="test? ( static-libs )"
+
+RDEPEND="app-arch/snappy:=
+   app-arch/zstd:=
+   >=dev-libs/libbson-${PV}[static-libs?]
+   dev-python/sphinx
+   sys-libs/zlib:=
+   icu? ( dev-libs/icu:= )
+   sasl? ( dev-libs/cyrus-sasl:= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${RDEPEND}
+   test? (
+   dev-db/mongodb
+   dev-libs/libbson[static-libs]
+   )"
+
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )
+   !test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.14.0-no-docs.patch"
+   "${FILESDIR}/${PN}-1.16.2-enable-tests.patch" # enable tests with 
system libbson
+   "${FILESDIR}/${PN}-1.16.2-sphinx.patch"
+)
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   # copy private headers for tests since we don't build libbson
+   if use test; then
+   mkdir -p src/libbson/tests/bson || die
+   cp 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2020-07-18 Thread Sam James
commit: b14e18dab438e9aea62fbcb7075c3c7eede146b2
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 18 22:36:47 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 18 22:38:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b14e18da

dev-libs/mongo-c-driver: amd64 stable (bug #721120)

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
index e82f7086042..8e3e7618734 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~s390 x86"
+KEYWORDS="amd64 ~hppa ~s390 x86"
 IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2020-05-29 Thread Agostino Sarubbo
commit: d5efe17409a8a6d46ee692be0513872a6d84fc1d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 29 07:41:58 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 29 07:41:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5efe174

dev-libs/mongo-c-driver: x86 stable wrt bug #721120

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
index e5f55ceb625..e82f7086042 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~s390 ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 x86"
 IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/, dev-libs/mongo-c-driver/files/

2020-04-21 Thread Thomas Deutschmann
commit: 09f8e9f297b0ab0451db26d4cc52caee06cfee46
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Apr 21 17:26:26 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Apr 21 17:26:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f8e9f2

dev-libs/mongo-c-driver: fix building against >=sphinx-3

Closes: https://bugs.gentoo.org/716774
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../files/mongo-c-driver-1.16.2-sphinx.patch  | 19 +++
 dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild  |  1 +
 2 files changed, 20 insertions(+)

diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-sphinx.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-sphinx.patch
new file mode 100644
index 000..7a165b61c59
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-sphinx.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/716774
+
+--- a/build/sphinx/taglist.py
 b/build/sphinx/taglist.py
+@@ -24,7 +24,12 @@ THE SOFTWARE.
+ """
+ 
+ from docutils import nodes, utils
+-from sphinx.environment import NoUri
++
++try:
++from sphinx.environment import NoUri
++except ImportError:
++from sphinx.errors import NoUri
++
+ try:
+ from sphinx.util.compat import Directive
+ except ImportError:
+ 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
index 66adfafad3a..e5f55ceb625 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
@@ -41,6 +41,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.14.0-no-docs.patch"
"${FILESDIR}/${PN}-1.16.2-enable-tests.patch" # enable tests with 
system libbson
"${FILESDIR}/${PN}-1.16.2-single-doc-job.patch"
+   "${FILESDIR}/${PN}-1.16.2-sphinx.patch"
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/, dev-libs/mongo-c-driver/files/

2020-04-11 Thread Thomas Deutschmann
commit: 8b63cf35840b8b1cde6189a648e4311d4963d73f
Author: Tomáš Mózes  gmail  com>
AuthorDate: Wed Mar 25 07:32:41 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Apr 11 21:13:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b63cf35

dev-libs/mongo-c-driver: bump to 1.16.2

Closes: https://bugs.gentoo.org/714164
Signed-off-by: Tomáš Mózes  gmail.com>
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../files/mongo-c-driver-1.16.2-enable-tests.patch | 35 
 .../mongo-c-driver-1.16.2-single-doc-job.patch | 22 +
 .../mongo-c-driver/mongo-c-driver-1.16.2.ebuild| 94 ++
 4 files changed, 152 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 0e15101cd2a..539559f914e 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -10,6 +10,7 @@ DIST mongo-c-driver-1.13.0.tar.gz 5734887 BLAKE2B 
ce5c78dde31edc753a6678e90889a0
 DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 
92184df6f15f951564a7df14d8ec52eb0199a49af102d44c8fb7678db82a41f915c984e95f5301f533dde63139221cb6e161fa5053b9fcc33080abe1095d9c35
 SHA512 
454670a145a5f2272daa5ca88f2e7d7e42c9b7df62dfc29b3c4b602ef8f819a740890c40872fa47dc411cc5ef9a34b55a6feea3657a802a5be378c4dbe79f42d
 DIST mongo-c-driver-1.14.0.tar.gz 6573651 BLAKE2B 
0b1157473554a5aa49e61cf1c85dc7b1f1917581e661a4295876d4c93e72137b4c7c04e1b7545ba7272706499dbe868a36f1c888d2d07a8176f1c4dc01f9fa5f
 SHA512 
99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994
 DIST mongo-c-driver-1.15.1.tar.gz 6699867 BLAKE2B 
afb75b6f50173bbe161a37a5cd3afd7d2ce3d9ab73019e2a27e2b15b0be0a54c5e3b423dda2e6d65b85ff7c1dbbd883f3a0e0ebc244a13c531d2c39297d9a5e9
 SHA512 
7544900809dd008da110b412acc1e5e42ea908d804fdf3bced8100e48f1695844605407c9733b285b8833b636bcaec8687df25a01c9749612c61df2325214fe5
+DIST mongo-c-driver-1.16.2.tar.gz 6888287 BLAKE2B 
40d2b73f495a8c71ca8b3c39c1b3c85b4a01ea088428967ed49f4758ef749e3288b046bde767a83aad022933f30f7307a4be65141f477bb1dcf912b4099129d6
 SHA512 
0930a80692f08329cad558644c25c46da64a0c8b6a9fc7412db0f547dae63bf59e9d29ee774d329c63af186eea751670bf21ccee8cf255f8bc8d5bd78c0e736a
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-enable-tests.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-enable-tests.patch
new file mode 100644
index 000..47cce862c8b
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-enable-tests.patch
@@ -0,0 +1,35 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1a2b7ba..26fbe9b 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -161,8 +161,6 @@ if (ENABLE_BSON STREQUAL SYSTEM)
+endif ()
+ 
+message ("--   libbson found version \"${bson-1.0_VERSION}\"")
+-   message ("--   disabling test-libmongoc since using system libbson")
+-   SET (ENABLE_TESTS OFF)
+ 
+if (ENABLE_STATIC MATCHES "ON|AUTO")
+   set (MONGOC_ENABLE_STATIC ON)
+@@ -174,7 +172,7 @@ if (ENABLE_BSON STREQUAL SYSTEM)
+endif ()
+set (BSON_LIBRARIES mongo::bson_shared)
+if (NOT TARGET mongo::bson_static)
+-   message (FATAL_ERROR "System libbson built without static library 
target")
++ message (STATUS "System libbson built without static library target")
+endif ()
+set (BSON_STATIC_LIBRARIES mongo::bson_static)
+ endif ()
+diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c
+index c949d22..4d5a47f 100644
+--- a/src/libbson/tests/test-bson.c
 b/src/libbson/tests/test-bson.c
+@@ -17,7 +17,7 @@
+ 
+ #include 
+ #include 
+-#include 
++#include "bson/bson-private.h"
+ #include 
+ #include 
+ 

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-single-doc-job.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-single-doc-job.patch
new file mode 100644
index 000..933081b32a3
--- /dev/null
+++ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2020-02-02 Thread Matt Turner
commit: f07dfab1350b2eb227d654d6552e892f313b5161
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Feb  2 21:59:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Feb  2 22:28:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f07dfab1

dev-libs/mongo-c-driver: Drop ppc keywords

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
index 3530dfaeb04..7cc15fd70e1 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ppc ~s390 x86"
+KEYWORDS="amd64 ~hppa ~s390 x86"
 IUSE="doc static-libs"
 
 # tests fails to build

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 846ae840b0f..4e6f6d780c6 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~s390 x86"
+KEYWORDS="amd64 ~hppa ~s390 x86"
 IUSE="doc static-libs"
 
 # tests fails to build



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2019-12-12 Thread Michał Górny
commit: 71fde338f2bdb118f383356ea01ddab28434dc89
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec 12 15:32:46 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 12 16:34:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71fde338

dev-libs/mongo-c-driver: [QA] Fix MissingTestRestrict

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

 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild| 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild| 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild  | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild| 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild| 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild| 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild| 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild| 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index 73a6478fd07..e57a3560443 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -27,7 +27,7 @@ DOCS=( NEWS README.rst TUTORIAL.md )
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
# https://github.com/mongodb/mongo-c-driver/issues/54

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index e7ca688a3cd..06580e8e4bb 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -27,7 +27,7 @@ DOCS=( NEWS README.rst TUTORIAL.md )
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
rm -r src/libbson || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index 46adaf6e0c4..8bb38f88351 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -27,7 +27,7 @@ DOCS=( NEWS README.rst TUTORIAL.md )
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
rm -r src/libbson || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
index e9641be05a9..7e671d96e05 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
"${FILESDIR}/${P}-enable-tests.patch" # enable tests without libbson

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
index 9555f7a1f3c..ec8f0657725 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
"${FILESDIR}/${P}-enable-tests.patch" # enable tests without libbson

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild
index 8b1af6b106f..0755827f849 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
"${FILESDIR}/${PN}-1.11.0-enable-tests.patch" # enable tests without 
libbson

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
index 78ede21f852..415dc707833 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
+++ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2019-11-15 Thread Alexys Jacob
commit: 925e3e95a2a374c215ee6585fa52c8e3e4f64fe0
Author: Tomas Mozes  gmail  com>
AuthorDate: Sat Nov  2 22:03:22 2019 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Fri Nov 15 21:54:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925e3e95

dev-libs/mongo-c-driver: bump to 1.15.1

Signed-off-by: Tomáš Mózes  gmail.com>
Signed-off-by: Alexys Jacob  gentoo.org>

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.15.1.ebuild| 95 ++
 2 files changed, 96 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 9ecf336d91e..0e15101cd2a 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -9,6 +9,7 @@ DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 
113db7ec95f8e9b65433fc20def722
 DIST mongo-c-driver-1.13.0.tar.gz 5734887 BLAKE2B 
ce5c78dde31edc753a6678e90889a0da7129cd1fcf1dce7222df4d25ca109b1bfbb545c755abf8e4cc39dd40dde7ba4c50dd51dcfc67c970e2b8eb278bd543fc
 SHA512 
d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907
 DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 
92184df6f15f951564a7df14d8ec52eb0199a49af102d44c8fb7678db82a41f915c984e95f5301f533dde63139221cb6e161fa5053b9fcc33080abe1095d9c35
 SHA512 
454670a145a5f2272daa5ca88f2e7d7e42c9b7df62dfc29b3c4b602ef8f819a740890c40872fa47dc411cc5ef9a34b55a6feea3657a802a5be378c4dbe79f42d
 DIST mongo-c-driver-1.14.0.tar.gz 6573651 BLAKE2B 
0b1157473554a5aa49e61cf1c85dc7b1f1917581e661a4295876d4c93e72137b4c7c04e1b7545ba7272706499dbe868a36f1c888d2d07a8176f1c4dc01f9fa5f
 SHA512 
99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994
+DIST mongo-c-driver-1.15.1.tar.gz 6699867 BLAKE2B 
afb75b6f50173bbe161a37a5cd3afd7d2ce3d9ab73019e2a27e2b15b0be0a54c5e3b423dda2e6d65b85ff7c1dbbd883f3a0e0ebc244a13c531d2c39297d9a5e9
 SHA512 
7544900809dd008da110b412acc1e5e42ea908d804fdf3bced8100e48f1695844605407c9733b285b8833b636bcaec8687df25a01c9749612c61df2325214fe5
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild
new file mode 100644
index 000..6bded6a0a99
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Client library written in C for MongoDB"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
+IUSE="debug examples icu libressl sasl ssl static-libs test"
+REQUIRED_USE="test? ( static-libs )"
+
+RDEPEND="app-arch/snappy:=
+   app-arch/zstd:=
+   >=dev-libs/libbson-${PV}
+   dev-python/sphinx
+   sys-libs/zlib:=
+   icu? ( dev-libs/icu:= )
+   sasl? ( dev-libs/cyrus-sasl:= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${RDEPEND}
+   test? (
+   dev-db/mongodb
+   dev-libs/libbson[static-libs]
+   )"
+
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )
+   !test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.14.0-enable-tests.patch" # enable tests with 
system libbson
+   "${FILESDIR}/${PN}-1.14.0-no-docs.patch"
+)
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   # copy private headers for tests since we don't build libbson
+   if use test; then
+   mkdir -p src/libbson/tests/bson || die
+   for f in bson-context-private.h bson-iso8601-private.h 
bson-private.h; do
+   cp 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/files/, dev-libs/mongo-c-driver/

2019-04-14 Thread Alexys Jacob
commit: 674f7d916bc4286e107ae103946f5c279eedcb5c
Author: Tomas Mozes  gmail  com>
AuthorDate: Thu Mar 21 09:42:06 2019 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Sun Apr 14 10:38:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=674f7d91

dev-libs/mongo-c-driver: bump to 1.14.0

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Tomáš Mózes  gmail.com>
Signed-off-by: Alexys Jacob  gentoo.org>

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../files/mongo-c-driver-1.14.0-enable-tests.patch | 25 ++
 .../files/mongo-c-driver-1.14.0-no-docs.patch  | 15 
 .../mongo-c-driver/mongo-c-driver-1.14.0.ebuild| 93 ++
 4 files changed, 134 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 57acfd97ec7..9ecf336d91e 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -8,6 +8,7 @@ DIST mongo-c-driver-1.11.0.tar.gz 5681593 BLAKE2B 
43f70943cc7f1a9f6285c71136b128
 DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 
113db7ec95f8e9b65433fc20def7224ee8d54c9ddb14cfc68ccf7ccb1995808f4c4c372806e85e1c8bb8b8541bb8b8b5236fd06d7605b78a4bbcee6560642bec
 SHA512 
e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f
 DIST mongo-c-driver-1.13.0.tar.gz 5734887 BLAKE2B 
ce5c78dde31edc753a6678e90889a0da7129cd1fcf1dce7222df4d25ca109b1bfbb545c755abf8e4cc39dd40dde7ba4c50dd51dcfc67c970e2b8eb278bd543fc
 SHA512 
d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907
 DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 
92184df6f15f951564a7df14d8ec52eb0199a49af102d44c8fb7678db82a41f915c984e95f5301f533dde63139221cb6e161fa5053b9fcc33080abe1095d9c35
 SHA512 
454670a145a5f2272daa5ca88f2e7d7e42c9b7df62dfc29b3c4b602ef8f819a740890c40872fa47dc411cc5ef9a34b55a6feea3657a802a5be378c4dbe79f42d
+DIST mongo-c-driver-1.14.0.tar.gz 6573651 BLAKE2B 
0b1157473554a5aa49e61cf1c85dc7b1f1917581e661a4295876d4c93e72137b4c7c04e1b7545ba7272706499dbe868a36f1c888d2d07a8176f1c4dc01f9fa5f
 SHA512 
99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-enable-tests.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-enable-tests.patch
new file mode 100644
index 000..76202b5e387
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-enable-tests.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c0e01a8..3371dae 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -163,7 +163,6 @@ if (ENABLE_BSON STREQUAL SYSTEM)
+   message ("--   libbson include path \"${BSON_INCLUDE_DIRS}\"")
+   message ("--   libbson libraries \"${BSON_LIBRARIES}\"")
+   message ("--   disabling test-libmongoc since using system libbson")
+-  SET (ENABLE_TESTS OFF)
+ 
+   if (ENABLE_STATIC MATCHES "ON|AUTO")
+  find_package (libbson-static-1.0
+diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c
+index 95356fa..9f9aea3 100644
+--- a/src/libbson/tests/test-bson.c
 b/src/libbson/tests/test-bson.c
+@@ -17,7 +17,7 @@
+ 
+ #include 
+ #include 
+-#include 
++#include "bson/bson-private.h"
+ #include 
+ #include 
+ 

diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-no-docs.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-no-docs.patch
new file mode 100644
index 000..d33fba105ab
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-no-docs.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3371dae..a6edf0f 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -380,10 +380,6 @@ if (ENABLE_MONGOC)
+ 
+ endif ()
+ 
+-install (FILES COPYING NEWS README.rst THIRD_PARTY_NOTICES
+-   DESTINATION 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2019-03-03 Thread Mikle Kolyada
commit: 3c0c2da986dce8aad77b3b05f046da4d8ef1deda
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar  3 11:11:53 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar  3 11:11:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c0c2da9

dev-libs/mongo-c-driver: mark ~s390

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

 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild  | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild  | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild| 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild| 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild  | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild| 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild| 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild| 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild| 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild | 4 ++--
 14 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
index a9d4a790780..3530dfaeb04 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ppc x86"
+KEYWORDS="amd64 ~hppa ppc ~s390 x86"
 IUSE="doc static-libs"
 
 # tests fails to build

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 495c4072b10..846ae840b0f 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-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="5"
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc x86"
+KEYWORDS="amd64 ~hppa ~ppc ~s390 x86"
 IUSE="doc static-libs"
 
 # tests fails to build

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index c5f0ca6a857..73a6478fd07 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.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=5
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-0.98.0

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index 2af17a8e308..e7ca688a3cd 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.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=5
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.1.10

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index aa9e3818623..46adaf6e0c4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.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=5
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/files/, dev-libs/mongo-c-driver/

2019-02-13 Thread Thomas Deutschmann
commit: 8dc5486bea3d89d664b179bcb7184430b7fb8402
Author: Tomas Mozes  gmail  com>
AuthorDate: Fri Feb  8 12:33:00 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Feb 13 13:41:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dc5486b

dev-libs/mongo-c-driver: bump to 1.13.1

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Tomáš Mózes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11006
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver-1.13.1-drop-failing-test.patch  | 17 
 .../mongo-c-driver/mongo-c-driver-1.13.1.ebuild| 92 ++
 3 files changed, 110 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 750896dd6b6..57acfd97ec7 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -7,6 +7,7 @@ DIST mongo-c-driver-1.10.3.tar.gz 5616159 BLAKE2B 
368e273aedc21ec79b804625276a49
 DIST mongo-c-driver-1.11.0.tar.gz 5681593 BLAKE2B 
43f70943cc7f1a9f6285c71136b1284be7ef0f223b777d5884d795102910aedb8d4f516d5d50cdecfa9219835a884b237aa98ab3742067c36944f0abdc67a8e4
 SHA512 
d20d83c9470972641407550bf835701df28c196b1cf19097450a062fd3c560c452c658aa5080bb28066079cea27888731f3670e81bd1b0cd5be1b97a2988074e
 DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 
113db7ec95f8e9b65433fc20def7224ee8d54c9ddb14cfc68ccf7ccb1995808f4c4c372806e85e1c8bb8b8541bb8b8b5236fd06d7605b78a4bbcee6560642bec
 SHA512 
e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f
 DIST mongo-c-driver-1.13.0.tar.gz 5734887 BLAKE2B 
ce5c78dde31edc753a6678e90889a0da7129cd1fcf1dce7222df4d25ca109b1bfbb545c755abf8e4cc39dd40dde7ba4c50dd51dcfc67c970e2b8eb278bd543fc
 SHA512 
d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907
+DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 
92184df6f15f951564a7df14d8ec52eb0199a49af102d44c8fb7678db82a41f915c984e95f5301f533dde63139221cb6e161fa5053b9fcc33080abe1095d9c35
 SHA512 
454670a145a5f2272daa5ca88f2e7d7e42c9b7df62dfc29b3c4b602ef8f819a740890c40872fa47dc411cc5ef9a34b55a6feea3657a802a5be378c4dbe79f42d
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.1-drop-failing-test.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.1-drop-failing-test.patch
new file mode 100644
index 000..6ef137fdba7
--- /dev/null
+++ 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.1-drop-failing-test.patch
@@ -0,0 +1,17 @@
+diff --git a/src/libmongoc/tests/test-mongoc-topology.c 
b/src/libmongoc/tests/test-mongoc-topology.c
+index d1ca7cf..245a470 100644
+--- a/src/libmongoc/tests/test-mongoc-topology.c
 b/src/libmongoc/tests/test-mongoc-topology.c
+@@ -1964,12 +1964,6 @@ test_topology_install (TestSuite *suite)
+ NULL,
+ NULL,
+ test_framework_skip_if_slow);
+-   TestSuite_AddFull (suite,
+-  "/Topology/multiple_selection_errors",
+-  test_multiple_selection_errors,
+-  NULL,
+-  NULL,
+-  test_framework_skip_if_offline);
+TestSuite_AddMockServerTest (
+   suite, "/Topology/connect_timeout/succeed", test_select_after_timeout);
+TestSuite_AddMockServerTest (

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild
new file mode 100644
index 000..7e327de1bdc
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Client library written in C for MongoDB"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2019-01-18 Thread Thomas Deutschmann
commit: 94ce2cab54aacbe0381377f680be1eaa42b0532a
Author: Tomas Mozes  gmail  com>
AuthorDate: Wed Jan  9 15:27:23 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jan 19 02:16:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ce2cab

dev-libs/mongo-c-driver: disable automagic on dev-libs/icu

Closes: https://bugs.gentoo.org/666592
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Tomáš Mózes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10788
Signed-off-by: Thomas Deutschmann  gentoo.org>

 ...mongo-c-driver-1.13.0.ebuild => mongo-c-driver-1.13.0-r1.ebuild} | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
similarity index 93%
rename from dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
rename to dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
index 5eeca7c911d..33fa5771803 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.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=7
@@ -12,13 +12,14 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~hppa x86"
-IUSE="debug examples libressl sasl ssl static-libs test"
+IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 
 RDEPEND="app-arch/snappy:=
>=dev-libs/libbson-${PV}
dev-python/sphinx
sys-libs/zlib:=
+   icu? ( dev-libs/icu:= )
sasl? ( dev-libs/cyrus-sasl:= )
ssl? (
!libressl? ( dev-libs/openssl:0= )
@@ -56,6 +57,7 @@ src_configure() {
-DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath
-DENABLE_BSON=SYSTEM
-DENABLE_EXAMPLES=OFF
+   -DENABLE_ICU="$(usex icu ON OFF)"
-DENABLE_MAN_PAGES=ON
-DENABLE_MONGOC=ON
-DENABLE_SNAPPY=SYSTEM



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-12-23 Thread Mikle Kolyada
commit: 8b1e4301b36cb4f8e7949a5780788f3f94f22270
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Dec 23 14:28:30 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Dec 23 14:28:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1e4301

dev-libs/mongo-c-driver: amd64 stable wrt bug #668856

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
index 1fb6ab6edaf..5eeca7c911d 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa x86"
+KEYWORDS="amd64 ~hppa x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-12-22 Thread Thomas Deutschmann
commit: ba78ad462fc410f59208d2d4e5e183b657154c4a
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Dec 22 22:20:45 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Dec 22 22:20:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba78ad46

dev-libs/mongo-c-driver: x86 stable (bug #668856)

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

 dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
index 2537001423d..1fb6ab6edaf 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.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=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/files/, dev-libs/mongo-c-driver/

2018-12-16 Thread Thomas Deutschmann
commit: 174061c8b1c673f8f97c2874159772398c46d4f7
Author: Tomas Mozes  gmail  com>
AuthorDate: Sat Dec 15 00:02:56 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Dec 16 23:30:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174061c8

dev-libs/mongo-c-driver: bump to 1.13.0

Closes: https://bugs.gentoo.org/673086
Signed-off-by: Tomáš Mózes  gmail.com>
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../files/mongo-c-driver-1.13.0-enable-tests.patch | 25 ++
 .../files/mongo-c-driver-1.13.0-no-uninstall.patch | 27 +++
 .../mongo-c-driver/mongo-c-driver-1.13.0.ebuild| 89 ++
 4 files changed, 142 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index d2b17209e15..750896dd6b6 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -6,6 +6,7 @@ DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B 
f8004486baf6d2d3086e458bdb4bc80
 DIST mongo-c-driver-1.10.3.tar.gz 5616159 BLAKE2B 
368e273aedc21ec79b804625276a49f7b670f027b410595b1e6455228dc776f0ed629d6ee599d16b9d0db08ec08a8e4dac2bdf06fa931ef1578849bf86d85726
 SHA512 
47af1baad1ad74bbbdf2fd22a437034d317a2f3ec02fee485e983ae6829b3f01af2649a09577f08144a88385fa940dfa211ea02bfa3c0e25b59dbe2090269603
 DIST mongo-c-driver-1.11.0.tar.gz 5681593 BLAKE2B 
43f70943cc7f1a9f6285c71136b1284be7ef0f223b777d5884d795102910aedb8d4f516d5d50cdecfa9219835a884b237aa98ab3742067c36944f0abdc67a8e4
 SHA512 
d20d83c9470972641407550bf835701df28c196b1cf19097450a062fd3c560c452c658aa5080bb28066079cea27888731f3670e81bd1b0cd5be1b97a2988074e
 DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 
113db7ec95f8e9b65433fc20def7224ee8d54c9ddb14cfc68ccf7ccb1995808f4c4c372806e85e1c8bb8b8541bb8b8b5236fd06d7605b78a4bbcee6560642bec
 SHA512 
e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f
+DIST mongo-c-driver-1.13.0.tar.gz 5734887 BLAKE2B 
ce5c78dde31edc753a6678e90889a0da7129cd1fcf1dce7222df4d25ca109b1bfbb545c755abf8e4cc39dd40dde7ba4c50dd51dcfc67c970e2b8eb278bd543fc
 SHA512 
d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-enable-tests.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-enable-tests.patch
new file mode 100644
index 000..983e025b917
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-enable-tests.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 22d1f4f..8ab33c6 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -118,7 +118,6 @@ if (ENABLE_BSON STREQUAL SYSTEM)
+   message ("--   libbson include path \"${BSON_INCLUDE_DIRS}\"")
+   message ("--   libbson libraries \"${BSON_LIBRARIES}\"")
+   message ("--   disabling test-libmongoc since using system libbson")
+-  SET (ENABLE_TESTS OFF)
+ 
+   if (ENABLE_STATIC MATCHES "ON|AUTO")
+  find_package (libbson-static-1.0
+diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c
+index 6ac94f3..cec430f 100644
+--- a/src/libbson/tests/test-bson.c
 b/src/libbson/tests/test-bson.c
+@@ -18,7 +18,7 @@
+ #include 
+ #include 
+ #define BSON_INSIDE
+-#include 
++#include "bson/bson-private.h"
+ #undef BSON_INSIDE
+ #include 
+ #include 

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch
new file mode 100644
index 000..64a90bbe3ec
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch
@@ -0,0 +1,27 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f7a0dfe..22d1f4f 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -271,7 +271,6 @@ if (ENABLE_MONGOC)
+   VERSION_CURRENT
+   VERSION_RELEASED
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-10-26 Thread Thomas Deutschmann
commit: 2fc14c499be9cdc5736bfde619039b5413d6a5bc
Author: Tomas Mozes  sygic  com>
AuthorDate: Wed Oct 17 08:55:05 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 26 13:17:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc14c49

dev-libs/mongo-c-driver: drop tests on x86

Closes: https://bugs.gentoo.org/668288
Signed-off-by: Tomáš Mózes  gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild   | 6 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild   | 6 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 6 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild| 6 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild| 6 +-
 5 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index c8cfa98b12d..c5f0ca6a857 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
# https://github.com/mongodb/mongo-c-driver/issues/54
sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index 270c3fa2549..2af17a8e308 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
rm -r src/libbson || die
sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index 44af34364f2..aa9e3818623 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
rm -r src/libbson || die
sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
index 4ae9ba80014..90f322d03b4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
rm -r src/libbson || die
sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
index 09d274361f4..841127cf7d9 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.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
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
rm -r src/libbson || die
sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/files/, dev-libs/mongo-c-driver/

2018-08-14 Thread Alexys Jacob
commit: b9dc8b675101482e1fd9da68e877cf2127fde71a
Author: Tomas Mozes  gmail  com>
AuthorDate: Thu Aug  2 07:16:17 2018 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Tue Aug 14 21:30:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9dc8b67

dev-libs/mongo-c-driver: bump to 1.12.0

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

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../files/mongo-c-driver-1.12.0-libressl.patch | 15 
 .../mongo-c-driver/mongo-c-driver-1.12.0.ebuild| 88 ++
 3 files changed, 104 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 0479e6f960f..d2b17209e15 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -5,6 +5,7 @@ DIST mongo-c-driver-1.1.10.tar.gz 5321144 BLAKE2B 
d63ba4b1a256b8b29654398a53d9ca
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B 
f8004486baf6d2d3086e458bdb4bc8060462fd52ba700cbf05fdb9827adcbd087b61d7e0e00169cf635c8021983dc851b7f34c3e08d66efc65483fce98a85f74
 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95
 DIST mongo-c-driver-1.10.3.tar.gz 5616159 BLAKE2B 
368e273aedc21ec79b804625276a49f7b670f027b410595b1e6455228dc776f0ed629d6ee599d16b9d0db08ec08a8e4dac2bdf06fa931ef1578849bf86d85726
 SHA512 
47af1baad1ad74bbbdf2fd22a437034d317a2f3ec02fee485e983ae6829b3f01af2649a09577f08144a88385fa940dfa211ea02bfa3c0e25b59dbe2090269603
 DIST mongo-c-driver-1.11.0.tar.gz 5681593 BLAKE2B 
43f70943cc7f1a9f6285c71136b1284be7ef0f223b777d5884d795102910aedb8d4f516d5d50cdecfa9219835a884b237aa98ab3742067c36944f0abdc67a8e4
 SHA512 
d20d83c9470972641407550bf835701df28c196b1cf19097450a062fd3c560c452c658aa5080bb28066079cea27888731f3670e81bd1b0cd5be1b97a2988074e
+DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 
113db7ec95f8e9b65433fc20def7224ee8d54c9ddb14cfc68ccf7ccb1995808f4c4c372806e85e1c8bb8b8541bb8b8b5236fd06d7605b78a4bbcee6560642bec
 SHA512 
e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch
new file mode 100644
index 000..e61bffafeed
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch
@@ -0,0 +1,15 @@
+diff --git a/src/libmongoc/CMakeLists.txt b/src/libmongoc/CMakeLists.txt
+index d09d706..5d84225 100644
+--- a/src/libmongoc/CMakeLists.txt
 b/src/libmongoc/CMakeLists.txt
+@@ -109,7 +109,9 @@ if (NOT ENABLE_SSL STREQUAL OFF)
+   if (LIBRESSL_FOUND)
+  message ("--   Found ${LIBRESSL_LIBRARIES}")
+  set (SSL_LIBRARIES ${LIBRESSL_LIBRARIES})
+- include_directories ("${LIBRESSL_INCLUDE_DIRS}")
++ if (${LIBRESSL_INCLUDE_DIRS})
++   include_directories ("${LIBRESSL_INCLUDE_DIRS}")
++ endif ()
+  link_directories ("${LIBRESSL_LIBRARY_DIRS}")
+  set (LIBRESSL 1)
+   else ()

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild
new file mode 100644
index 000..06783997aca
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Client library written in C for MongoDB"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+REQUIRED_USE="test? ( static-libs )"
+
+RDEPEND="app-arch/snappy:=
+   >=dev-libs/libbson-${PV}
+   dev-python/sphinx

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/, dev-libs/mongo-c-driver/files/

2018-08-01 Thread Alexys Jacob
commit: c862745e3e07663bd0fdc2d5f811bc25b27537ad
Author: Tomas Mozes  gmail  com>
AuthorDate: Tue Jun 26 14:31:33 2018 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Wed Aug  1 19:23:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c862745e

dev-libs/mongo-c-driver: bump to 1.11.0

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../files/mongo-c-driver-1.11.0-enable-tests.patch | 25 +++
 .../mongo-c-driver/mongo-c-driver-1.11.0.ebuild| 87 ++
 3 files changed, 113 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index ace85a1ab45..0479e6f960f 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -4,6 +4,7 @@ DIST mongo-c-driver-0.98.2.tar.gz 5342760 BLAKE2B 
399fb03464234c87dcb66647c5383c
 DIST mongo-c-driver-1.1.10.tar.gz 5321144 BLAKE2B 
d63ba4b1a256b8b29654398a53d9ca46d49faad0e0327db0d51cfc4e2a1771568341ff4e7ba6ff2ff31fb11ad8a14c452e52cabdd83da7eb1c1ceb8af7bef7d2
 SHA512 
10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B 
f8004486baf6d2d3086e458bdb4bc8060462fd52ba700cbf05fdb9827adcbd087b61d7e0e00169cf635c8021983dc851b7f34c3e08d66efc65483fce98a85f74
 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95
 DIST mongo-c-driver-1.10.3.tar.gz 5616159 BLAKE2B 
368e273aedc21ec79b804625276a49f7b670f027b410595b1e6455228dc776f0ed629d6ee599d16b9d0db08ec08a8e4dac2bdf06fa931ef1578849bf86d85726
 SHA512 
47af1baad1ad74bbbdf2fd22a437034d317a2f3ec02fee485e983ae6829b3f01af2649a09577f08144a88385fa940dfa211ea02bfa3c0e25b59dbe2090269603
+DIST mongo-c-driver-1.11.0.tar.gz 5681593 BLAKE2B 
43f70943cc7f1a9f6285c71136b1284be7ef0f223b777d5884d795102910aedb8d4f516d5d50cdecfa9219835a884b237aa98ab3742067c36944f0abdc67a8e4
 SHA512 
d20d83c9470972641407550bf835701df28c196b1cf19097450a062fd3c560c452c658aa5080bb28066079cea27888731f3670e81bd1b0cd5be1b97a2988074e
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch
new file mode 100644
index 000..67fafafc93b
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 860e4ea..7d646b1 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -110,7 +110,6 @@ if (ENABLE_BSON STREQUAL SYSTEM)
+   message ("--   libbson include path \"${BSON_INCLUDE_DIRS}\"")
+   message ("--   libbson libraries \"${BSON_LIBRARIES}\"")
+   message ("--   disabling test-libmongoc since using system libbson")
+-  SET (ENABLE_TESTS OFF)
+ 
+   if (ENABLE_STATIC MATCHES "ON|AUTO")
+  find_package (libbson-static-1.0
+diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c
+index 51514ed..accb251 100644
+--- a/src/libbson/tests/test-bson.c
 b/src/libbson/tests/test-bson.c
+@@ -18,7 +18,7 @@
+ #include 
+ #include 
+ #define BSON_INSIDE
+-#include 
++#include "bson-private.h"
+ #undef BSON_INSIDE
+ #include 
+ #include 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
new file mode 100644
index 000..aaa06162f88
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Client library written in C for MongoDB"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/files/, dev-libs/mongo-c-driver/

2018-06-22 Thread Thomas Deutschmann
commit: 142c1673e9bbc9ca0eb8d2bc87bf26fc06431adf
Author: Tomas Mozes  gmail  com>
AuthorDate: Wed Jun 20 12:16:40 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Jun 22 21:35:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=142c1673

dev-libs/mongo-c-driver: bump to 1.10.3

Closes: https://github.com/gentoo/gentoo/pull/8919
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../files/mongo-c-driver-1.10.3-enable-tests.patch | 25 +++
 .../mongo-c-driver/mongo-c-driver-1.10.3.ebuild| 86 ++
 3 files changed, 112 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 0f187f8dd87..ace85a1ab45 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -3,6 +3,7 @@ DIST mongo-c-driver-0.8.1.tar.gz 124053 BLAKE2B 
1c6b0d3998c6497c39fc2f6597021e84
 DIST mongo-c-driver-0.98.2.tar.gz 5342760 BLAKE2B 
399fb03464234c87dcb66647c5383c505e654238e72e86794fdbc56716590ea6637aa7bfb0d25c0fb6aae8fce6055741753ac33125cb1b475c7bfe1e198a0a1e
 SHA512 
6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb
 DIST mongo-c-driver-1.1.10.tar.gz 5321144 BLAKE2B 
d63ba4b1a256b8b29654398a53d9ca46d49faad0e0327db0d51cfc4e2a1771568341ff4e7ba6ff2ff31fb11ad8a14c452e52cabdd83da7eb1c1ceb8af7bef7d2
 SHA512 
10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B 
f8004486baf6d2d3086e458bdb4bc8060462fd52ba700cbf05fdb9827adcbd087b61d7e0e00169cf635c8021983dc851b7f34c3e08d66efc65483fce98a85f74
 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95
+DIST mongo-c-driver-1.10.3.tar.gz 5616159 BLAKE2B 
368e273aedc21ec79b804625276a49f7b670f027b410595b1e6455228dc776f0ed629d6ee599d16b9d0db08ec08a8e4dac2bdf06fa931ef1578849bf86d85726
 SHA512 
47af1baad1ad74bbbdf2fd22a437034d317a2f3ec02fee485e983ae6829b3f01af2649a09577f08144a88385fa940dfa211ea02bfa3c0e25b59dbe2090269603
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch
new file mode 100644
index 000..af26b695313
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2eeb6cb..aeaa23b 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -109,7 +109,6 @@ if (ENABLE_BSON STREQUAL SYSTEM)
+   message ("--   libbson include path \"${BSON_INCLUDE_DIRS}\"")
+   message ("--   libbson libraries \"${BSON_LIBRARIES}\"")
+   message ("--   disabling test-libmongoc since using system libbson")
+-  SET (ENABLE_TESTS OFF)
+ 
+   if (ENABLE_STATIC MATCHES "ON|AUTO")
+  find_package (libbson-static-1.0
+diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c
+index 51514ed..accb251 100644
+--- a/src/libbson/tests/test-bson.c
 b/src/libbson/tests/test-bson.c
+@@ -18,7 +18,7 @@
+ #include 
+ #include 
+ #define BSON_INSIDE
+-#include 
++#include "bson-private.h"
+ #undef BSON_INSIDE
+ #include 
+ #include 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
new file mode 100644
index 000..e2009f3e717
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Client library written in C for MongoDB"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-04-17 Thread Thomas Deutschmann
commit: 7a59d718e062dca5925b4b2eda7539c348dd95c3
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Apr 17 22:04:10 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Apr 17 22:09:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a59d718

dev-libs/mongo-c-driver: x86 stable (bug #652964)

Package-Manager: Portage-2.3.30, Repoman-2.3.9

 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index e926293376f..495c4072b10 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~x86"
+KEYWORDS="amd64 ~hppa ~ppc x86"
 IUSE="doc static-libs"
 
 # tests fails to build



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-04-16 Thread Aaron Bauman
commit: 276b4b0144f622ca4e2631fd8a8bcf95b577f423
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Apr 16 17:20:49 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Apr 16 17:20:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276b4b01

dev-libs/mongo-c-driver: amd64 stable

Bug: https://bugs.gentoo.org/652964
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 764dce23aa5..e926293376f 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.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="5"
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~x86"
 IUSE="doc static-libs"
 
 # tests fails to build



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-04-07 Thread Jeroen Roovers
commit: f56708279dae8443bf7db2fb8e78bb6b8b5faa33
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Apr  7 11:01:49 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Apr  7 11:02:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5670827

dev-libs/mongo-c-driver: Stable for HPPA too.

Package-Manager: Portage-2.3.28, Repoman-2.3.9
RepoMan-Options: --ignore-arches

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index 1ea4eb35a6d..d034808158e 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
+KEYWORDS="amd64 hppa x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND="app-arch/snappy:=



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-03-02 Thread Alexys Jacob
commit: 5cbfd3cc045c82bf71bb5ecb13506ed5a8f19a9c
Author: Tomas Mozes  gmail  com>
AuthorDate: Fri Mar  2 06:34:35 2018 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Fri Mar  2 14:35:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cbfd3cc

dev-libs/mongo-c-driver: bump to 1.9.3

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.9.3.ebuild | 84 ++
 2 files changed, 85 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 7538d34f794..0f187f8dd87 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -6,3 +6,4 @@ DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B 
f8004486baf6d2d3086e458bdb4bc80
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B 
a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0
 SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 
7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60
 SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76
+DIST mongo-c-driver-1.9.3.tar.gz 7716783 BLAKE2B 
9f5fc8cddbc1c4cf1f85016027e49d4c3bf2ebe50b1df45eda8569d48b88e174fe2c73e76f7afd4f3a36b74c5d02b826f55c610b8c4df273d8ebd4047e823edc
 SHA512 
2c3f915c4f367f5614a904741b4b480896dd521b7039158b2f421d0d7579a45862d5099cd26b6d14cb088f9db49019538aca553c5cf72d9706ec9ab6516ff40a

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
new file mode 100644
index 000..8c5b2194c35
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+
+RDEPEND="app-arch/snappy:=
+   >=dev-libs/libbson-1.8.2
+   sys-libs/zlib:=
+   sasl? ( dev-libs/cyrus-sasl )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${RDEPEND}
+   test? ( dev-db/mongodb )"
+
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
+src_prepare() {
+   # remove bundled libs
+   rm -rv src/{libbson,zlib*} || die
+
+   # bundled headers are gone
+   sed -e '/^ac_config_files/s@src/zlib-.*/zconf.h@@g' \
+   -i configure || die
+
+   # this test fails
+   sed -e '/test_topology_install ()/d' \
+   -i tests/test-libmongoc.c || die
+
+   default
+}
+
+src_configure() {
+   econf --with-libbson=system \
+   --with-snappy=system \
+   --with-zlib=system \
+   --disable-optimizations \
+   --disable-shm-counters \
+   --disable-examples \
+   --docdir="${EPREFIX}/usr/share/doc/${P}" \
+   $(use_enable sasl) \
+   $(use_enable ssl ssl $(usex libressl libressl openssl)) \
+   $(use_enable debug) \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   default_src_install
+
+   # Only install the mongoc man pages to avoid conflicts of common names
+   doman doc/man/mongoc_*.3
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+
+   if use examples; then
+   docinto examples
+   dodoc -r examples/*.c examples/aggregation examples/bulk
+   fi
+}
+
+src_test() {
+   # Avoid allocating too much disk space by using server.smallFiles = 1
+   echo -e "storage:\nsmallFiles: true" > "${T}/mongod.conf" || die
+   local PORT=27099
+   mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+   -f "${T}/mongod.conf" --dbpath="${T}" \
+   --logpath="${T}/mongod.log" || die
+   MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test
+   kill 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-02-09 Thread Thomas Deutschmann
commit: fea8d58bb660d3ec36b8c04dd37f11f81b3145d1
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Feb 10 00:29:53 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Feb 10 00:31:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fea8d58b

dev-libs/mongo-c-driver: x86 stable (bug #645870)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index 256c3356f43..1ea4eb35a6d 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~x86"
+KEYWORDS="amd64 ~hppa x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND="app-arch/snappy:=



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-02-09 Thread Thomas Deutschmann
commit: 18602efd3de03bd491dcf492bd3cea8f3fa0992d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Feb  9 14:12:25 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Feb  9 14:12:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18602efd

dev-libs/mongo-c-driver: Restrict tests for x86

Tests require a local mongodb instance. However, dev-db/mongodb upstream
doesn't support x86 anymore [Bug 646016] so we are restricting tests.

Bug: https://bugs.gentoo.org/646016
Closes: https://bugs.gentoo.org/645994
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index 179b8e0a175..256c3356f43 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -23,6 +23,10 @@ RDEPEND="app-arch/snappy:=
 DEPEND="${RDEPEND}
test? ( dev-db/mongodb )"
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
# remove bundled libs
rm -rv src/{libbson,zlib*} || die



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2018-01-28 Thread Mikle Kolyada
commit: bf62713f75b306e9d7e7d860ebb09f163f78c110
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jan 28 16:04:20 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jan 28 16:08:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf62713f

dev-libs/mongo-c-driver: amd64 stable wrt bug #645870

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index 86291cab07b..179b8e0a175 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.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
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="amd64 ~hppa ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND="app-arch/snappy:=



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2017-12-07 Thread Patrice Clement
commit: 3a2946cb04fefc024f1a4b416185150903812377
Author: Tomas Mozes  gmail  com>
AuthorDate: Fri Nov 24 05:57:01 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Dec  7 17:33:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a2946cb

dev-libs/mongo-c-driver: version bump to 1.8.2.

Closes: https://bugs.gentoo.org/635728
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 80 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 0f114832b4c..130390d1160 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -5,3 +5,4 @@ DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 
19c076fcca1e7b22a731f10b757a049
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 
ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95
 WHIRLPOOL 
d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 SHA256 
374d37a6d6e49fbb2ed6cab0a305ced347651ec04d57808961d03afa8caa68df SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 WHIRLPOOL 
6583ba6e93e15ba025232bed1bb1964e85a90695d340d14c873fee26c0c9229d66eb1acfe53e718957210c2dbec67bfc06a1b7b95a9ed4dce0fe8cdad138ac6e
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 SHA256 
7ec27e9be4da2bf9e4b316374f8c29f816f0a0f019b984411777e9681e17f70e SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 WHIRLPOOL 
f973aff4c7f457d6b7d61f4e015ed2bcdc1f4668506eb267e15891144a790f6cf2f4a660bb21cc70c63cd91d388cb5b2b323476d55f05243c3d5a5f8c89df37d
+DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B 
ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a
 SHA512 
af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
new file mode 100644
index 000..86291cab07b
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+
+RDEPEND="app-arch/snappy:=
+   >=dev-libs/libbson-1.8.2
+   sys-libs/zlib:=
+   sasl? ( dev-libs/cyrus-sasl )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${RDEPEND}
+   test? ( dev-db/mongodb )"
+
+src_prepare() {
+   # remove bundled libs
+   rm -rv src/{libbson,zlib*} || die
+
+   # bundled headers are gone
+   sed -e '/^ac_config_files/s@src/zlib-.*/zconf.h@@g' \
+   -i configure || die
+
+   # this test fails
+   sed -e '/test_topology_install ()/d' \
+   -i tests/test-libmongoc.c || die
+
+   default
+}
+
+src_configure() {
+   econf --with-libbson=system \
+   --with-snappy=system \
+   --with-zlib=system \
+   --disable-optimizations \
+   --disable-shm-counters \
+   --disable-examples \
+   --docdir="${EPREFIX}/usr/share/doc/${P}" \
+   $(use_enable sasl) \
+   $(use_enable ssl ssl $(usex libressl libressl openssl)) \
+   $(use_enable debug) \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   default_src_install
+
+   # Only install the mongoc man pages to avoid conflicts of common names
+   doman doc/man/mongoc_*.3
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+
+   if use examples; then
+   docinto examples
+   dodoc -r examples/*.c examples/aggregation examples/bulk
+   fi
+}
+
+src_test() {
+   # Avoid allocating too much disk space by using server.smallFiles = 1
+   echo -e "storage:\nsmallFiles: true" > "${T}/mongod.conf" || die
+   local PORT=27099
+   mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+   -f 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2017-05-30 Thread Alexys Jacob
commit: c3adbb83a0ef5f5854d17cf02be00037e8e899f1
Author: Tomáš Mózes  gmail  com>
AuthorDate: Sat May 20 18:56:19 2017 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Tue May 30 13:30:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3adbb83

dev-libs/mongo-c-driver: fix building with libressl (bug #618988)

Closes: https://github.com/gentoo/gentoo/pull/4686

 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
index 2c2953383bb..09d274361f4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -44,7 +44,7 @@ src_configure() {
--disable-examples \
--docdir="${EPREFIX}/usr/share/doc/${P}" \
$(use_enable sasl) \
-   $(use_enable ssl ssl openssl) \
+   $(use_enable ssl ssl $(usex libressl libressl openssl)) \
$(use_enable debug) \
$(use_enable static-libs static)
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2017-05-25 Thread Mike Gilbert
commit: 3cea5038fffa867a5371cf073788a9fec04fce55
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu May 25 15:23:27 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu May 25 15:23:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cea5038

dev-libs/mongo-c-driver: fix python_check_deps logic

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild | 4 +++-
 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
index 25e9c58a643..a9d4a790780 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
@@ -24,7 +24,9 @@ DEPEND="${PYTHON_DEPS}
 "
 
 python_check_deps() {
-   use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+   if use doc; then
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+   fi
 }
 
 src_unpack() {

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index cadb8fb4812..764dce23aa5 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -25,7 +25,9 @@ DEPEND="${PYTHON_DEPS}
 PATCHES=( "${FILESDIR}/${PV}-api-version.diff" )
 
 python_check_deps() {
-   use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+   if use doc; then
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+   fi
 }
 
 src_unpack() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2017-05-19 Thread Michał Górny
commit: 234990c8a2077daf7b43bcff1110a5535490da40
Author: Tomas Mozes  gmail  com>
AuthorDate: Thu May 18 05:22:35 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 19 10:51:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234990c8

dev-libs/mongo-c-driver: bump to 1.6.2

Closes: https://github.com/gentoo/gentoo/pull/4366
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 77 ++
 2 files changed, 78 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 92fb979e460..0f114832b4c 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -4,3 +4,4 @@ DIST mongo-c-driver-0.98.2.tar.gz 5342760 SHA256 
ac0edebd6ee55ac5c63047addc67d18
 DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 
19c076fcca1e7b22a731f10b757a049fd94b4aee6bbd0d7b7a0bcbd454e9dee8 SHA512 
10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df
 WHIRLPOOL 
ee42e78fbab15b964a04ec70c4a782bb7cd0c46275619b46d32b2c00094df90e3de4a756e6f8496fec87a596af23a403d3cf33b391309e8a044334cbaec58a06
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 
ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95
 WHIRLPOOL 
d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 SHA256 
374d37a6d6e49fbb2ed6cab0a305ced347651ec04d57808961d03afa8caa68df SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 WHIRLPOOL 
6583ba6e93e15ba025232bed1bb1964e85a90695d340d14c873fee26c0c9229d66eb1acfe53e718957210c2dbec67bfc06a1b7b95a9ed4dce0fe8cdad138ac6e
+DIST mongo-c-driver-1.6.2.tar.gz 6907818 SHA256 
7ec27e9be4da2bf9e4b316374f8c29f816f0a0f019b984411777e9681e17f70e SHA512 
b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 WHIRLPOOL 
f973aff4c7f457d6b7d61f4e015ed2bcdc1f4668506eb267e15891144a790f6cf2f4a660bb21cc70c63cd91d388cb5b2b323476d55f05243c3d5a5f8c89df37d

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
new file mode 100644
index 000..2c2953383bb
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+
+RDEPEND=">=dev-libs/libbson-1.6.2
+   sasl? ( dev-libs/cyrus-sasl )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${RDEPEND}
+   test? ( dev-db/mongodb )"
+
+DOCS=( NEWS README.rst )
+
+src_prepare() {
+   rm -r src/libbson || die
+   sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die
+
+   # https://github.com/mongodb/mongo-c-driver/issues/54
+   sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \
+   tests/Makefile.am || die
+   eautoreconf
+
+   default
+}
+
+src_configure() {
+   econf --with-libbson=system \
+   --disable-optimizations \
+   --disable-shm-counters \
+   --disable-examples \
+   --docdir="${EPREFIX}/usr/share/doc/${P}" \
+   $(use_enable sasl) \
+   $(use_enable ssl ssl openssl) \
+   $(use_enable debug) \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   default_src_install
+
+   # Only install the mongoc man pages to avoid conflicts of common names
+   doman doc/man/mongoc_*.3
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+
+   if use examples; then
+   docinto examples
+   dodoc -r examples/*.c examples/aggregation examples/bulk
+   fi
+}
+
+src_test() {
+   # Avoid allocating too much disk space by using server.smallFiles = 1
+   echo -e "storage:\nsmallFiles: true" > "${T}/mongod.conf" || die
+   local PORT=27099
+   mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+   -f "${T}/mongod.conf" --dbpath="${T}" \
+   --logpath="${T}/mongod.log" 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2017-04-22 Thread Jeroen Roovers
commit: 93fa016c35ea45398acbbc88d73687125af6cd45
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Apr 22 08:27:44 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Apr 22 08:33:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93fa016c

dev-libs/mongo-c-driver: Work around "error: storage size of ‘ai_hints’ isn’t 
known" (bug #564334 by Marcin Mirosław).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild | 5 +++--
 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
index 4a4f4366d13..7226e95ee5d 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 PYTHON_COMPAT=(python2_7)
 
-inherit multilib python-r1 toolchain-funcs
+inherit flag-o-matic multilib python-r1 toolchain-funcs
 
 DESCRIPTION="C Driver for MongoDB"
 HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver;
@@ -35,6 +35,7 @@ src_prepare() {
 }
 
 src_compile() {
+   append-cflags -D_POSIX_C_SOURCE=200112L
emake
use doc && make -C docs/source/sphinx html
 }

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 17902af5511..aaf844fa1fc 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 PYTHON_COMPAT=( python2_7 )
 
-inherit base multilib python-any-r1 toolchain-funcs
+inherit base flag-o-matic multilib python-any-r1 toolchain-funcs
 
 DESCRIPTION="C Driver for MongoDB"
 HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver;
@@ -34,6 +34,7 @@ src_unpack() {
 }
 
 src_compile() {
+   append-cflags -D_POSIX_C_SOURCE=200112L
tc-export CC
emake
use doc && make -C docs/source/sphinx html



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2016-11-03 Thread Göktürk Yüksek
commit: f84aed0777f5b947917f64715ef34949e1d2a2eb
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Thu Nov  3 15:51:26 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Thu Nov  3 16:16:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84aed07

dev-libs/mongo-c-driver: remove proxied maintainer per his request

Package-Manager: portage-2.2.28

 dev-libs/mongo-c-driver/metadata.xml | 10 --
 1 file changed, 10 deletions(-)

diff --git a/dev-libs/mongo-c-driver/metadata.xml 
b/dev-libs/mongo-c-driver/metadata.xml
index fb0f183..a833260 100644
--- a/dev-libs/mongo-c-driver/metadata.xml
+++ b/dev-libs/mongo-c-driver/metadata.xml
@@ -5,16 +5,6 @@
ultra...@gentoo.org
Alexys Jacob

-   
-   b...@bergstroem.nu
-   Johan Bergström
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
-   
-   

mongodb/mongo-c-driver




[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2016-06-30 Thread Brian Evans
commit: fa0e587e1a06c111db3b3991d402fb5a331f911c
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Jun 30 16:48:13 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Jun 30 16:59:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa0e587e

dev-libs/mongo-c-driver: Version bump

Non-maintainer commit;  ack'd by Ultrabug in #gentoo-dev

Package-Manager: portage-2.3.0

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.3.5.ebuild | 76 ++
 2 files changed, 77 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 03a1ea3..92fb979 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -3,3 +3,4 @@ DIST mongo-c-driver-0.8.1.tar.gz 124053 SHA256 
9575f05fa87fe1f7c6562b1ec9202fd4b
 DIST mongo-c-driver-0.98.2.tar.gz 5342760 SHA256 
ac0edebd6ee55ac5c63047addc67d1801440586e6a9388cb3938c5bb0319afc5 SHA512 
6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb
 WHIRLPOOL 
931a20b916778fcff0d419a73e1263b72b3293ce320254b050ed2211b56449e5e8dcd608459dcce8af98922e64a4aefc2908883f12a590d9e3e754573aed17c1
 DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 
19c076fcca1e7b22a731f10b757a049fd94b4aee6bbd0d7b7a0bcbd454e9dee8 SHA512 
10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df
 WHIRLPOOL 
ee42e78fbab15b964a04ec70c4a782bb7cd0c46275619b46d32b2c00094df90e3de4a756e6f8496fec87a596af23a403d3cf33b391309e8a044334cbaec58a06
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 
ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95
 WHIRLPOOL 
d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b
+DIST mongo-c-driver-1.3.5.tar.gz 5860804 SHA256 
374d37a6d6e49fbb2ed6cab0a305ced347651ec04d57808961d03afa8caa68df SHA512 
23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 WHIRLPOOL 
6583ba6e93e15ba025232bed1bb1964e85a90695d340d14c873fee26c0c9229d66eb1acfe53e718957210c2dbec67bfc06a1b7b95a9ed4dce0fe8cdad138ac6e

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
new file mode 100644
index 000..1d04a46
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+
+RDEPEND=">=dev-libs/libbson-1.3.5
+   sasl? ( dev-libs/cyrus-sasl )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
+DEPEND="${RDEPEND}
+   test? ( dev-db/mongodb )"
+
+DOCS=( NEWS README.rst )
+
+src_prepare() {
+   rm -r src/libbson || die
+   sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die
+
+   # https://github.com/mongodb/mongo-c-driver/issues/54
+   sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \
+   tests/Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   econf --with-libbson=system \
+   --disable-hardening \
+   --disable-optimizations \
+   --disable-examples \
+   --docdir="${EPREFIX}/usr/share/doc/${P}" \
+   $(use_enable sasl) \
+   $(use_enable ssl ssl openssl) \
+   $(use_enable debug) \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   default_src_install
+   if [[ -f "${D}usr/share/doc/${P}/COPYING" ]] ; then
+   rm "${D}usr/share/doc/${P}/COPYING" || die
+   fi
+   # Only install the mongoc man pages to avoid conflicts of common names
+   doman doc/man/mongoc_*.3
+
+   use static-libs || find "${D}" -name '*.la' -delete
+
+   if use examples; then
+   insinto /usr/share/${PF}/examples
+   doins -r examples/*.c examples/aggregation examples/bulk
+   fi
+}
+
+src_test() {
+   # Avoid allocating too much disk space by using server.smallFiles = 1
+   echo -e "storage:\nsmallFiles: true" > "${T}/mongod.conf"
+   local PORT=27099
+   mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+   -f 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2016-06-25 Thread Anthony G. Basile
commit: 19239aaef7013ca1a51fd6d0b55c55c7382104c0
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sat Jun 25 23:44:09 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat Jun 25 23:44:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19239aae

dev-libs/mongo-c-driver: add libressl support

Package-Manager: portage-2.2.28

 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild   | 9 ++---
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild   | 9 ++---
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 9 ++---
 3 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index 0bb5f3e..2b0d4ac 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-0.98.0
sasl? ( dev-libs/cyrus-sasl )
-   ssl? ( dev-libs/openssl:= )"
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
 DEPEND="${RDEPEND}
test? ( dev-db/mongodb )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index a745d2d..ab6aedf 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.1.10
sasl? ( dev-libs/cyrus-sasl )
-   ssl? ( dev-libs/openssl:= )"
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
 DEPEND="${RDEPEND}
test? ( dev-db/mongodb )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index 65f19c5..b5b39fd 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.0
sasl? ( dev-libs/cyrus-sasl )
-   ssl? ( dev-libs/openssl:= )"
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )"
 DEPEND="${RDEPEND}
test? ( dev-db/mongodb )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/

2015-09-17 Thread Alexys Jacob
commit: efd14559f7398293d507dc366cb6df42721e3d3a
Author: Ultrabug  gentoo  org>
AuthorDate: Thu Sep 17 11:56:49 2015 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Thu Sep 17 11:56:49 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd14559

dev-libs/mongo-c-driver: version bump

Package-Manager: portage-2.2.20.1

 dev-libs/mongo-c-driver/Manifest   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.1.10.ebuild| 68 ++
 2 files changed, 69 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 7aacf26..03a1ea3 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,4 +1,5 @@
 DIST mongo-c-driver-0.7.1.tar.gz 108537 SHA256 
6670b50bb4232cc617a114d1320ea97abc55f9570b4ebf53e1e6c22671ffc328 SHA512 
5c6996dc47ecbe4d77971e3aa983a877e7de736bf358c467808eceba8b1a5eea342376249cdc682a034fc7ec39290d234527cec3c3732686f184281a72aec724
 WHIRLPOOL 
c3aadbb61bd7bd295398b4510708f95c0a05383e80baba510609870aa39f5442d4bbfb6441889f605578e07e2c97d44d2e2d75b5a2ec6950a362825c6110fbd3
 DIST mongo-c-driver-0.8.1.tar.gz 124053 SHA256 
9575f05fa87fe1f7c6562b1ec9202fd4b8a98950a4d65ea44c1c62fadc2b48b0 SHA512 
7b61ac4b1b154ee1f518eddb2bbc0cdafe0da8786eed4475e5703c2a735ec5a09efde59f5bfa45fb226cbce24d8c0ba0de403d8fc3e561c0e48507dfb07962b1
 WHIRLPOOL 
1474a7b5fced35b511cedd97f558f284d70135c591bd6d671c34519f68097a1e2e6a32a6323acfa4ea3d0146529d3be79f2f91d1187ba3d01a7da6aaacaabf2d
 DIST mongo-c-driver-0.98.2.tar.gz 5342760 SHA256 
ac0edebd6ee55ac5c63047addc67d1801440586e6a9388cb3938c5bb0319afc5 SHA512 
6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb
 WHIRLPOOL 
931a20b916778fcff0d419a73e1263b72b3293ce320254b050ed2211b56449e5e8dcd608459dcce8af98922e64a4aefc2908883f12a590d9e3e754573aed17c1
+DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 
19c076fcca1e7b22a731f10b757a049fd94b4aee6bbd0d7b7a0bcbd454e9dee8 SHA512 
10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df
 WHIRLPOOL 
ee42e78fbab15b964a04ec70c4a782bb7cd0c46275619b46d32b2c00094df90e3de4a756e6f8496fec87a596af23a403d3cf33b391309e8a044334cbaec58a06
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 
ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 
d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95
 WHIRLPOOL 
d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
new file mode 100644
index 000..a745d2d
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver;
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples sasl ssl static-libs test"
+
+RDEPEND=">=dev-libs/libbson-1.1.10
+   sasl? ( dev-libs/cyrus-sasl )
+   ssl? ( dev-libs/openssl:= )"
+DEPEND="${RDEPEND}
+   test? ( dev-db/mongodb )"
+
+DOCS=( NEWS README.rst TUTORIAL.md )
+
+src_prepare() {
+   rm -r src/libbson || die
+   sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die
+
+   # https://github.com/mongodb/mongo-c-driver/issues/54
+   sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \
+   tests/Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   econf --with-libbson=system \
+   --disable-hardening \
+   --disable-optimizations \
+   --disable-examples \
+   $(use_enable sasl) \
+   $(use_enable ssl) \
+   $(use_enable debug) \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+   doman doc/*.3
+
+   use static-libs || find "${D}" -name '*.la' -delete
+
+   if use examples; then
+   insinto /usr/share/${PF}/examples
+   doins -r examples/*.c examples/aggregation examples/bulk
+   fi
+}
+
+src_test() {
+   # Avoid allocating too much disk space by using server.smallFiles = 1
+   echo -e "storage:\nsmallFiles: true" > "${T}/mongod.conf"
+   local PORT=27099
+   mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+   -f "${T}/mongod.conf" --dbpath="${T}" \
+   --logpath="${T}/mongod.log" || die
+