aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-09 01:26:40 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-09 01:26:40 +0100
commit448f3842ef93bc25ba9c7abf45d14c77c0a62c7a (patch)
tree79add5c0947214218a3353ba3d9d37892a500ae5 /dev-cpp
parentsys-apps/intel-cmt-cat: fix patch (diff)
downloadguru-448f3842ef93bc25ba9c7abf45d14c77c0a62c7a.tar.gz
guru-448f3842ef93bc25ba9c7abf45d14c77c0a62c7a.tar.bz2
guru-448f3842ef93bc25ba9c7abf45d14c77c0a62c7a.zip
dev-cpp/fbthrift: add python-six dependency
Bug: https://bugs.gentoo.org/834745 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/fbthrift/fbthrift-2022.02.28.00-r1.ebuild (renamed from dev-cpp/fbthrift/fbthrift-2022.02.28.00.ebuild)14
1 files changed, 11 insertions, 3 deletions
diff --git a/dev-cpp/fbthrift/fbthrift-2022.02.28.00.ebuild b/dev-cpp/fbthrift/fbthrift-2022.02.28.00-r1.ebuild
index 3320d823e..d05d4ff9a 100644
--- a/dev-cpp/fbthrift/fbthrift-2022.02.28.00.ebuild
+++ b/dev-cpp/fbthrift/fbthrift-2022.02.28.00-r1.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit cmake python-single-r1
DESCRIPTION="Facebook's branch of Apache Thrift, including a new C++ server"
HOMEPAGE="https://github.com/facebook/fbthrift"
@@ -23,13 +25,19 @@ RDEPEND="
dev-libs/libfmt
dev-libs/openssl:0=
sys-libs/zlib
+ ${PYTHON_DEPS}
+"
+DEPEND="
+ ${RDEPEND}
+ $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]')
"
-DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/bison
sys-devel/flex
"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
src_configure() {
local mycmakeargs=(
-DLIB_INSTALL_DIR=$(get_libdir)