* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/, dev-libs/mongo-c-driver/files/
@ 2020-09-01 10:05 99% Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2020-09-01 10:05 UTC (permalink / raw
To: gentoo-commits
commit: e950fd580a7212e3adaf225ceac0c00693dbf2bf
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 1 09:33:13 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 1 10:04:56 2020 +0000
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 <mgorny <AT> 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..00000000000
--- 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 +0000
-+++ mongo-c-driver-0.8.1/src/mongo.h 2014-03-27 17:01:05.131465940 +0000
-@@ -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..00000000000
--- 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..00000000000
--- 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/*
-}
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-09-01 10:05 99% [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/, dev-libs/mongo-c-driver/files/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox