summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-03-14 13:58:51 +0100
committerJeroen Roovers <jer@gentoo.org>2019-03-14 13:59:32 +0100
commit785d68710367264f33e8b2bdd68934f61a7c9d5d (patch)
tree0f2b94fe97626ff5ae07ff62019fe6cb94ec268d /net-misc
parentapp-doc/eclass-manpages: Add 20190314 snapshot (diff)
downloadgentoo-785d68710367264f33e8b2bdd68934f61a7c9d5d.tar.gz
gentoo-785d68710367264f33e8b2bdd68934f61a7c9d5d.tar.bz2
gentoo-785d68710367264f33e8b2bdd68934f61a7c9d5d.zip
net-misc/youtube-dl: RDEPEND on dev-python/pycryptodome
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Fixes: https://bugs.gentoo.org/680306 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/youtube-dl/youtube-dl-2019.03.09-r1.ebuild (renamed from net-misc/youtube-dl/youtube-dl-2019.03.09.ebuild)10
-rw-r--r--net-misc/youtube-dl/youtube-dl-99999999.ebuild10
2 files changed, 14 insertions, 6 deletions
diff --git a/net-misc/youtube-dl/youtube-dl-2019.03.09.ebuild b/net-misc/youtube-dl/youtube-dl-2019.03.09-r1.ebuild
index b3603923fedb..8249fc9c0e19 100644
--- a/net-misc/youtube-dl/youtube-dl-2019.03.09.ebuild
+++ b/net-misc/youtube-dl/youtube-dl-2019.03.09-r1.ebuild
@@ -13,11 +13,15 @@ LICENSE="public-domain"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
RESTRICT="test"
SLOT="0"
-RDEPEND="
+DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
-DEPEND="
- ${RDEPEND}
+RDEPEND="
+ ${DEPEND}
+ || (
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/pycrypto[${PYTHON_USEDEP}]
+ )
"
S="${WORKDIR}/${PN}"
diff --git a/net-misc/youtube-dl/youtube-dl-99999999.ebuild b/net-misc/youtube-dl/youtube-dl-99999999.ebuild
index d7acffa97ea4..b34881e4d229 100644
--- a/net-misc/youtube-dl/youtube-dl-99999999.ebuild
+++ b/net-misc/youtube-dl/youtube-dl-99999999.ebuild
@@ -13,11 +13,15 @@ LICENSE="public-domain"
KEYWORDS=""
RESTRICT="test"
SLOT="0"
-RDEPEND="
+DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
-DEPEND="
- ${RDEPEND}
+RDEPEND="
+ ${DEPEND}
+ || (
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/pycrypto[${PYTHON_USEDEP}]
+ )
"
src_compile() {