summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-06-16 12:58:51 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-06-16 13:01:06 +0200
commit627c4f1888586a915cbae2d06a4878d0353680a9 (patch)
treee06455d1c201975083ddb75469c50fa022b50472 /net-misc/rsync
parentapp-text/docbook-xsl-ns-stylesheets: Bump to version 1.79.1 (diff)
downloadgentoo-627c4f1888586a915cbae2d06a4878d0353680a9.tar.gz
gentoo-627c4f1888586a915cbae2d06a4878d0353680a9.tar.bz2
gentoo-627c4f1888586a915cbae2d06a4878d0353680a9.zip
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@gentoo.org>
Diffstat (limited to 'net-misc/rsync')
-rw-r--r--net-misc/rsync/rsync-3.2.0_pre2.ebuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/net-misc/rsync/rsync-3.2.0_pre2.ebuild b/net-misc/rsync/rsync-3.2.0_pre2.ebuild
index 905428051c73..239ceb958538 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=(