commit: 12f1e00beea6eea51a31b79b1e422c5093cdc7ee
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 19 06:21:28 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Oct 19 06:24:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f1e00b
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 <AT> gentoo.org>
net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild | 6 +++++-
net-misc/youtube-dl/youtube-dl-9999.ebuild | 6 +++++-
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