From ed207c4b3d48838a24e999c809a5f692abe4febe Mon Sep 17 00:00:00 2001 From: OscarL Date: Wed, 28 Dec 2022 11:03:26 -0300 Subject: [PATCH] yt_dlp: switch to Python 3.9. (#7684) --- net-misc/yt_dlp/yt_dlp-2022.11.11.recipe | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net-misc/yt_dlp/yt_dlp-2022.11.11.recipe b/net-misc/yt_dlp/yt_dlp-2022.11.11.recipe index 89ca239b2..1cc2ce790 100644 --- a/net-misc/yt_dlp/yt_dlp-2022.11.11.recipe +++ b/net-misc/yt_dlp/yt_dlp-2022.11.11.recipe @@ -9,7 +9,7 @@ to download these videos by itself." HOMEPAGE="https://github.com/yt-dlp/yt-dlp" COPYRIGHT="2006-2022 youtube-dl and yt-dlp contributors" LICENSE="Unlicense" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/yt-dlp/yt-dlp/releases/download/$portVersion/yt-dlp.tar.gz" SOURCE_FILENAME="yt-dlp-$portVersion.tar.gz" CHECKSUM_SHA256="51fa055912c7fc742a882ff58236bd25b39055b98168a3563ed17cc575c3c3ae" @@ -24,7 +24,7 @@ PROVIDES=" REQUIRES=" haiku ffmpeg_tools - cmd:python3.7 + cmd:python3 " BUILD_REQUIRES=" @@ -36,8 +36,8 @@ BUILD_PREREQUIRES=" cmd:zip " -PYTHON_PACKAGES=(python3) -PYTHON_VERSIONS=(3.7) +PYTHON_PACKAGES=(python39) +PYTHON_VERSIONS=(3.9) for i in "${!PYTHON_PACKAGES[@]}"; do pythonPackage=${PYTHON_PACKAGES[i]} pythonVersion=${PYTHON_VERSIONS[$i]} @@ -97,6 +97,6 @@ INSTALL() TEST() { - export PYTHON=/system/bin/python3.7 + export PYTHON=/system/bin/python3 make offlinetest }