diff options
author | Huang Rui <vowstar@gmail.com> | 2023-11-02 17:04:19 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2023-11-02 17:04:29 +0800 |
commit | 733992b05abdb38c74dc641acc0f9cadc8e46932 (patch) | |
tree | dacdd3ed27ebf7e7fbbb9ff1fca5c3db28b21011 | |
parent | net-misc/youtube-dl: fix QA for net-misc/yt-dlg, add 2021.12.17 (diff) | |
download | guru-733992b05abdb38c74dc641acc0f9cadc8e46932.tar.gz guru-733992b05abdb38c74dc641acc0f9cadc8e46932.tar.bz2 guru-733992b05abdb38c74dc641acc0f9cadc8e46932.zip |
net-misc/yt-dlg: update SRC_URI, fix QA
Signed-off-by: Huang Rui <vowstar@gmail.com>
-rw-r--r-- | net-misc/yt-dlg/Manifest | 2 | ||||
-rw-r--r-- | net-misc/yt-dlg/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild | 12 |
3 files changed, 15 insertions, 8 deletions
diff --git a/net-misc/yt-dlg/Manifest b/net-misc/yt-dlg/Manifest index f6dd7950d..9831e9e51 100644 --- a/net-misc/yt-dlg/Manifest +++ b/net-misc/yt-dlg/Manifest @@ -1 +1 @@ -DIST yt-dlg-2023.08.16.tar.gz 1481142 BLAKE2B d64bd9e52531c1c66ef83e18d960dc63200cfd7185af9b14339a5fd852a36966e8cbbd769ecc65e457d52fb0a46f84f84147116a8771d18ea80237d03ec0ab20 SHA512 efc7aaa88b18bc58466fbc0fa62d7b26f857bf759cb7960f3728a351e66d2dc4d13ae8002fce140e03f9e0ff89940686a3753c24796e78777b33928d86fcdedc +DIST yt-dlg-2023.08.16.gh.tar.gz 1481142 BLAKE2B d64bd9e52531c1c66ef83e18d960dc63200cfd7185af9b14339a5fd852a36966e8cbbd769ecc65e457d52fb0a46f84f84147116a8771d18ea80237d03ec0ab20 SHA512 efc7aaa88b18bc58466fbc0fa62d7b26f857bf759cb7960f3728a351e66d2dc4d13ae8002fce140e03f9e0ff89940686a3753c24796e78777b33928d86fcdedc diff --git a/net-misc/yt-dlg/metadata.xml b/net-misc/yt-dlg/metadata.xml new file mode 100644 index 000000000..58777a8ac --- /dev/null +++ b/net-misc/yt-dlg/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">yt-dlg/yt-dlg</remote-id> + <remote-id type="pypi">yt-dlg</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild b/net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild index 325aa2bc6..b65b75a8f 100644 --- a/net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild +++ b/net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit desktop distutils-r1 xdg DESCRIPTION="A cross platform front-end GUI of the popular youtube-dl written in wxPython." @@ -13,7 +13,7 @@ HOMEPAGE="https://yt-dlg.github.io/yt-dlg/" # Latest releases and tags are from 2021 and are probably deprecated and incompatible with current Python versions. # Same applies for the dependencies of yt-dlp. SHA="692e5c5deee95c721a4ad92ecae7ca86de8bef35" -SRC_URI="https://github.com/yt-dlg/yt-dlg/archive/${SHA}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/yt-dlg/yt-dlg/archive/${SHA}.tar.gz -> ${P}.gh.tar.gz" LICENSE="public-domain" SLOT="0" @@ -21,9 +21,8 @@ KEYWORDS="~amd64" IUSE="ffmpeg test" - - -# net-misc/youtube-dl isn't available in gentoo anymore but I kept it as a dependency option just in case someone still use it or yt-dlp gets merged to youtube-dl. +# net-misc/youtube-dl isn't available in gentoo anymore but I kept it as a dependency option just in case someone still +# use it or yt-dlp gets merged to youtube-dl. DEPEND="${PYTHON_DEPS} >=dev-python/wxpython-4.2.0:*[${PYTHON_USEDEP}] || ( @@ -34,13 +33,12 @@ DEPEND="${PYTHON_DEPS} ffmpeg? ( media-video/ffmpeg ) " RDEPEND="${DEPEND}" -BDEPEND="" python_test() { local tests=( ditem dlist parsers utils widgets ) local current_test for current_test in tests; do - "${EPYTHON}" "tests/test_${curent_test}.py" || die "Tests fail with ${EPYTHON}" + "${EPYTHON}" "tests/test_${curent_test}.py" || die "Tests fail with ${EPYTHON}" done } |