diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-26 10:21:56 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-29 16:03:51 +0100 |
commit | 1b5fc1de3359cf9e15522286b0bc189ebcdb9347 (patch) | |
tree | 359e05b934fca9ad0309633b1ecb6bba3343f9e6 /dev-libs | |
parent | dev-libs/libbson: Drop 1.16.2, 1.17.0 (diff) | |
download | gentoo-1b5fc1de3359cf9e15522286b0bc189ebcdb9347.tar.gz gentoo-1b5fc1de3359cf9e15522286b0bc189ebcdb9347.tar.bz2 gentoo-1b5fc1de3359cf9e15522286b0bc189ebcdb9347.zip |
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 <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
5 files changed, 0 insertions, 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..000000000000 --- 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..000000000000 --- 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..000000000000 --- 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= - )" -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-single-doc-job.patch" - "${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 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-utils_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-utils_src_install -} 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 deleted file mode 100644 index d61656b6f84b..000000000000 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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 - "${FILESDIR}/${PN}-1.16.2-sphinx.patch" -) - -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 -} |