summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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