commit:     627c4f1888586a915cbae2d06a4878d0353680a9
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 16 10:58:51 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Jun 16 11:01:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=627c4f18

net-misc/rsync: Added missing python build dependency

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/rsync/rsync-3.2.0_pre2.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/net-misc/rsync/rsync-3.2.0_pre2.ebuild 
b/net-misc/rsync/rsync-3.2.0_pre2.ebuild
index 905428051c7..239ceb95853 100644
--- a/net-misc/rsync/rsync-3.2.0_pre2.ebuild
+++ b/net-misc/rsync/rsync-3.2.0_pre2.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit flag-o-matic prefix systemd
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit flag-o-matic prefix python-any-r1 systemd
 
 DESCRIPTION="File transfer program to keep remote files into sync"
 HOMEPAGE="https://rsync.samba.org/";
@@ -32,8 +34,17 @@ RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
 DEPEND="${RDEPEND}
        static? ( ${LIB_DEPEND} )"
 
+BDEPEND="${PYTHON_DEPS}
+       $(python_gen_any_dep '
+               dev-python/commonmark[${PYTHON_USEDEP}]
+       ')"
+
 S="${WORKDIR}/${P/_/}"
 
+python_check_deps() {
+       has_version "dev-python/commonmark[${PYTHON_USEDEP}]"
+}
+
 src_configure() {
        use static && append-ldflags -static
        local myeconfargs=(

Reply via email to