sys-cluster/ceph: Rev bump, fix building of python modules
authorPatrick McLean <chutzpah@gentoo.org>
Thu, 9 Aug 2018 22:18:47 +0000 (15:18 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Thu, 9 Aug 2018 22:19:16 +0000 (15:19 -0700)
Package-Manager: Portage-2.3.45, Repoman-2.3.10

sys-cluster/ceph/ceph-13.2.1-r1.ebuild [moved from sys-cluster/ceph/ceph-13.2.1.ebuild with 98% similarity]

similarity index 98%
rename from sys-cluster/ceph/ceph-13.2.1.ebuild
rename to sys-cluster/ceph/ceph-13.2.1-r1.ebuild
index 15c74939685c0d0b542aeefdafd7c0dfe53e46ff..bcb39ab07713349f383b1c3385847da2de9036df 100644 (file)
@@ -233,8 +233,12 @@ src_configure() {
 
 python_compile() {
        local CMAKE_USE_DIR="${S}"
+       ceph_src_configure
+
+       rm -r "${BUILD_DIR}/lib/cython_modules" || die
 
        pushd "${BUILD_DIR}/src/pybind" >/dev/null || die
+       emake VERBOSE=1 clean
        emake VERBOSE=1 all
 
        # python modules are only compiled with "make install" so we need to do this to
@@ -273,7 +277,7 @@ src_compile() {
                ) || die "failed to build node modules for mgr-frontend"
        fi
 
-       cmake-utils_src_make all
+       cmake-utils_src_make VERBOSE=1 all
 
        # we have to do this here to prevent from building everything multiple times
        BUILD_DIR="${CMAKE_BUILD_DIR}" python_copy_sources