summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-03 23:11:23 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-03 23:23:03 +0100
commit3457d37b444d703d787d030c937a45c13396f04e (patch)
tree84d558df879fbb7701c9c845c5c6d4db7cc0590a /net-misc
parentnet-misc/youtube-dl: Remove defunct live ebuild (diff)
downloadgentoo-3457d37b444d703d787d030c937a45c13396f04e.tar.gz
gentoo-3457d37b444d703d787d030c937a45c13396f04e.tar.bz2
gentoo-3457d37b444d703d787d030c937a45c13396f04e.zip
net-misc/youtube-dl: Eliminate dep on flake8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild22
1 files changed, 6 insertions, 16 deletions
diff --git a/net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild b/net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild
index b1b5154480a6..0839988f367d 100644
--- a/net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild
+++ b/net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=(python3_{6,7,8,9})
+PYTHON_COMPAT=(python3_{6..9})
DISTUTILS_USE_SETUPTOOLS=rdepend
@@ -12,31 +12,21 @@ inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
DESCRIPTION="Download videos from YouTube.com (and more sites...)"
HOMEPAGE="https://youtube-dl.org/ https://github.com/ytdl-org/youtube-dl/"
SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
-LICENSE="public-domain"
+S=${WORKDIR}/${PN}
+LICENSE="public-domain"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- test? (
- dev-python/flake8[${PYTHON_USEDEP}]
- )
-"
RDEPEND="
dev-python/pycryptodome[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
-
distutils_enable_tests nose
-S=${WORKDIR}/${PN}
-
-src_compile() {
- distutils-r1_src_compile
+src_prepare() {
+ sed -i -e '/flake8/d' Makefile || die
+ distutils-r1_src_prepare
}
python_test() {