Install this version:
emerge -a =media-video/youtube-unofficial-0.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-video/youtube-unofficial-0.4.0
Or alternatively:
emerge --autounmask-write -a =media-video/youtube-unofficial-0.4.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.4.0 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..14} )
PYPI_VERIFY_REPO="https://github.com/Tatsh/youtube-unofficial"
inherit distutils-r1 pypi
DESCRIPTION="Access parts of your account unavailable through normal YouTube API access."
HOMEPAGE="
https://github.com/Tatsh/youtube-unofficial
https://pypi.org/project/youtube-unofficial/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/anyio-4.13.0[${PYTHON_USEDEP}]
>=dev-python/bascom-0.1.2[${PYTHON_USEDEP}]
>=dev-python/beautifulsoup4-4.14.3[${PYTHON_USEDEP}]
>=dev-python/click-8.3.2[${PYTHON_USEDEP}]
>=dev-python/html5lib-1.1[${PYTHON_USEDEP}]
>=dev-python/more-itertools-11.0.2[${PYTHON_USEDEP}]
>=dev-python/niquests-cache-0.0.3[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.15.0[${PYTHON_USEDEP}]
>=dev-python/yt-dlp-utils-0.1.0[${PYTHON_USEDEP}]"
BDEPEND="test? (
${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
)"
src_install() {
distutils-r1_src_install
doman "man/${PN}.1"
}
EPYTEST_PLUGINS=( pytest-mock )
distutils_enable_tests pytest
>=dev-python/anyio-4.13.0[] >=dev-python/bascom-0.1.2[] >=dev-python/beautifulsoup4-4.14.3[] >=dev-python/click-8.3.2[] >=dev-python/html5lib-1.1[] >=dev-python/more-itertools-11.0.2[] >=dev-python/niquests-cache-0.0.3[] >=dev-python/typing-extensions-4.15.0[] >=dev-python/yt-dlp-utils-0.1.0[]
test? ( >=dev-python/anyio-4.13.0[] >=dev-python/bascom-0.1.2[] >=dev-python/beautifulsoup4-4.14.3[] >=dev-python/click-8.3.2[] >=dev-python/html5lib-1.1[] >=dev-python/more-itertools-11.0.2[] >=dev-python/niquests-cache-0.0.3[] >=dev-python/typing-extensions-4.15.0[] >=dev-python/yt-dlp-utils-0.1.0[] dev-python/mock[] dev-python/pytest-mock[] )