summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-19 02:21:28 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-19 02:24:09 -0400
commit12f1e00beea6eea51a31b79b1e422c5093cdc7ee (patch)
tree378510d5d256823b34b99838c68644f263328a76 /net-misc/youtube-dl
parentdev-ruby/nokogiri: add 1.13.9 (diff)
downloadgentoo-12f1e00beea6eea51a31b79b1e422c5093cdc7ee.tar.gz
gentoo-12f1e00beea6eea51a31b79b1e422c5093cdc7ee.tar.bz2
gentoo-12f1e00beea6eea51a31b79b1e422c5093cdc7ee.zip
net-misc/youtube-dl: restrict tests
see ebuild comment, upstream is still active but the direction is rather incompatible with us just being kept to give time to other packages to adapt, no reason to worry about tests in this state Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc/youtube-dl')
-rw-r--r--net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild6
-rw-r--r--net-misc/youtube-dl/youtube-dl-9999.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild b/net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild
index cbae1a3e9ecc..4a6c7e575ec8 100644
--- a/net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild
+++ b/net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild
@@ -16,13 +16,17 @@ LICENSE="Unlicense"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
IUSE="+yt-dlp"
+# tests need deprecated nose, and given upstream is still refusing to make new
+# releases or modernize anything (wants to support old python more) it will
+# likely be last rited along with any revdeps that still can't use yt-dlp
+RESTRICT="test"
RDEPEND="
dev-python/pycryptodome[${PYTHON_USEDEP}]
yt-dlp? ( >=net-misc/yt-dlp-2022.2.4-r1 )
!yt-dlp? ( !net-misc/yt-dlp )"
-distutils_enable_tests nose
+#distutils_enable_tests nose
python_prepare_all() {
distutils-r1_python_prepare_all
diff --git a/net-misc/youtube-dl/youtube-dl-9999.ebuild b/net-misc/youtube-dl/youtube-dl-9999.ebuild
index 284776e3ee5c..2a725598bb09 100644
--- a/net-misc/youtube-dl/youtube-dl-9999.ebuild
+++ b/net-misc/youtube-dl/youtube-dl-9999.ebuild
@@ -14,13 +14,17 @@ EGIT_REPO_URI="https://github.com/ytdl-org/${PN}.git"
LICENSE="Unlicense"
SLOT="0"
IUSE="+yt-dlp"
+# tests need deprecated nose, and given upstream is still refusing to make new
+# releases or modernize anything (wants to support old python more) it will
+# likely be last rited along with any revdeps that still can't use yt-dlp
+RESTRICT="test"
RDEPEND="
dev-python/pycryptodome[${PYTHON_USEDEP}]
yt-dlp? ( >=net-misc/yt-dlp-2022.2.4-r1 )
!yt-dlp? ( !net-misc/yt-dlp )"
-distutils_enable_tests nose
+#distutils_enable_tests nose
python_prepare_all() {
distutils-r1_python_prepare_all