From 4b85148a7c1196c409abe15da9c964f8d2aadc3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 1 Feb 2022 20:01:09 +0100 Subject: [PATCH] sys-cluster/ceph: Fix Python dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DISTUTILS_USE_SETUPTOOLS is not used with DISTUTILS_OPTIONAL, the dep on setuptools needs to be declared explicitly. Signed-off-by: Michał Górny --- sys-cluster/ceph/ceph-14.2.22-r1.ebuild | 6 ++++-- sys-cluster/ceph/ceph-15.2.15-r2.ebuild | 6 ++++-- sys-cluster/ceph/ceph-16.2.5.ebuild | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/sys-cluster/ceph/ceph-14.2.22-r1.ebuild b/sys-cluster/ceph/ceph-14.2.22-r1.ebuild index 9675c7235f2b2..860ccfb147682 100644 --- a/sys-cluster/ceph/ceph-14.2.22-r1.ebuild +++ b/sys-cluster/ceph/ceph-14.2.22-r1.ebuild @@ -3,7 +3,6 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8} ) -DISTUTILS_USE_SETUPTOOLS=rdepend CMAKE_MAKEFILE_GENERATOR=emake DISTUTILS_OPTIONAL=1 @@ -87,14 +86,15 @@ DEPEND=" system-boost? ( dev-libs/boost:=[threads(+),context,python,${PYTHON_USEDEP}] ) xfs? ( sys-fs/xfsprogs:= ) zfs? ( sys-fs/zfs:= ) - ${PYTHON_DEPS} " BDEPEND=" + ${PYTHON_DEPS} amd64? ( dev-lang/yasm ) x86? ( dev-lang/yasm ) app-arch/cpio >=dev-util/cmake-3.5.0 dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] dev-python/sphinx dev-util/cunit dev-util/gperf @@ -116,6 +116,7 @@ BDEPEND=" ) " RDEPEND="${DEPEND} + ${PYTHON_DEPS} app-admin/sudo net-misc/socat sys-apps/gptfdisk @@ -133,6 +134,7 @@ RDEPEND="${DEPEND} dev-python/prettytable[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] mgr? ( dev-python/more-itertools[${PYTHON_USEDEP}] diff --git a/sys-cluster/ceph/ceph-15.2.15-r2.ebuild b/sys-cluster/ceph/ceph-15.2.15-r2.ebuild index 8d09a94fc96eb..6faac62ff8140 100644 --- a/sys-cluster/ceph/ceph-15.2.15-r2.ebuild +++ b/sys-cluster/ceph/ceph-15.2.15-r2.ebuild @@ -3,7 +3,6 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend CMAKE_MAKEFILE_GENERATOR=emake DISTUTILS_OPTIONAL=1 @@ -95,14 +94,15 @@ DEPEND=" uring? ( sys-libs/liburing:= ) xfs? ( sys-fs/xfsprogs:= ) zfs? ( sys-fs/zfs:= ) - ${PYTHON_DEPS} " BDEPEND=" + ${PYTHON_DEPS} amd64? ( dev-lang/yasm ) x86? ( dev-lang/yasm ) app-arch/cpio >=dev-util/cmake-3.5.0 dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] dev-python/sphinx dev-util/cunit dev-util/gperf @@ -124,6 +124,7 @@ BDEPEND=" ) " RDEPEND="${DEPEND} + ${PYTHON_DEPS} app-admin/sudo net-misc/socat sys-apps/gptfdisk @@ -143,6 +144,7 @@ RDEPEND="${DEPEND} dev-python/prettytable[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] mgr? ( dev-python/jsonpatch[${PYTHON_USEDEP}] diff --git a/sys-cluster/ceph/ceph-16.2.5.ebuild b/sys-cluster/ceph/ceph-16.2.5.ebuild index 37d70a69897e8..4e1446212d240 100644 --- a/sys-cluster/ceph/ceph-16.2.5.ebuild +++ b/sys-cluster/ceph/ceph-16.2.5.ebuild @@ -4,7 +4,6 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend DISTUTILS_OPTIONAL=1 LUA_COMPAT=( lua5-3 ) @@ -102,14 +101,15 @@ DEPEND=" xfs? ( sys-fs/xfsprogs:= ) zbd? ( sys-block/libzbd:= ) zfs? ( sys-fs/zfs:= ) - ${PYTHON_DEPS} " BDEPEND=" + ${PYTHON_DEPS} amd64? ( dev-lang/nasm ) x86? ( dev-lang/yasm ) app-arch/cpio >=dev-util/cmake-3.5.0 dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] dev-python/sphinx dev-util/cunit dev-util/gperf @@ -136,6 +136,7 @@ BDEPEND=" " RDEPEND=" ${DEPEND} + ${PYTHON_DEPS} app-admin/sudo net-misc/socat sys-apps/gptfdisk @@ -155,6 +156,7 @@ RDEPEND=" dev-python/prettytable[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] mgr? ( dev-python/jsonpatch[${PYTHON_USEDEP}]