commit: c7a8cf1d75e09370f5b7c35fffc115d63a3bbbae Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Thu Nov 3 20:59:05 2022 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Thu Nov 3 20:59:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a8cf1d
sys-libs/libnvme: Revbump, fix python deps (bug #878935), swig dep Closes: https://bugs.gentoo.org/878935 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> .../libnvme/{libnvme-1.2.ebuild => libnvme-1.2-r1.ebuild} | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sys-libs/libnvme/libnvme-1.2.ebuild b/sys-libs/libnvme/libnvme-1.2-r1.ebuild similarity index 88% rename from sys-libs/libnvme/libnvme-1.2.ebuild rename to sys-libs/libnvme/libnvme-1.2-r1.ebuild index ab243c0836c3..afe0173da916 100644 --- a/sys-libs/libnvme/libnvme-1.2.ebuild +++ b/sys-libs/libnvme/libnvme-1.2-r1.ebuild @@ -23,6 +23,10 @@ DEPEND=" " RDEPEND="${DEPEND}" +BDEPEND=" + dev-lang/swig +" + REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) " @@ -44,14 +48,16 @@ python_compile() { src_compile() { meson_src_compile - python_copy_sources - use python && python_foreach_impl python_compile + if use python; then + python_copy_sources + python_foreach_impl python_compile + fi } python_install() { meson_src_install - python_optimize + use python && python_optimize } src_install() {