media-sound/ytm-player: add 1.9.5

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf committed 2026-06-28 16:46:23 -03:00
1 parent f931776c48
commit 671fbdfec1
3 files changed
+69

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
DIST ytm-player-1.9.2.tar.gz 545280 BLAKE2B 5151d4ab521da0b141f6ceefbbb2ea998e739755913292fc0fab73c23ae587c24338e5a11dfcc5e732c5da80a82a797e3d0231cc88fee9cd327fb5fe1d36fa81 SHA512 870321c2ad5cb9853d514444c737372414bcc7bebd31bc659b56600786d92ee77229093720d7dfc7a42d83af4196fd4c9a1519911b3e3189dd06df2fc29d64ad
DIST ytm-player-1.9.3.tar.gz 1765546 BLAKE2B a7729b6c40494bd7e2e2e54044311eda1e1695620ebf1fa14bfcb81c99cc0eb3ed19f16a7ea359f0ba20fbf80d0d5afe3b110e28d2a41493a676424b1e45a51c SHA512 ce45e510d219796cf1c8f515e111e3912a524e1c47519b41662cb9f6da46bd9fc09bb31f48cd58cce975e759ae138fc12924cc4aa7f055f99a0adb3fe3736913
DIST ytm-player-1.9.4.tar.gz 1791782 BLAKE2B 140c11727b26663ca634c1aef00669fe797024295561743eebc6965652db20f8b8b2bd1738978a5b89d0dcf69bd8265e6b0897f7c353bf765a6f429dd2f73c38 SHA512 97501d8651038000eb568e6a71f0649a4c2e6232564f13755149b89304673bf8d3110e182d9e94de020f32695a22a106c27d5a17e008c5ba73caebb228be1c9c
DIST ytm-player-1.9.5.tar.gz 1807100 BLAKE2B f12f077eeb5d8e86369f5f51d68813762af544db7025a3905002fcc4f1081bbfc47961e167d0dd9790b1184e1690bda3876edb5019194660baf140c3dfd4cc5e SHA512 ca7db13f5c1a74cfbb2fbd72640746b82944555bd1ad729783030cf104be0ee57880077733867f931fe8d0b0620a45c51a4f986bf0e908be861f27a6d19516d6
+1
View File
@@ -13,5 +13,6 @@
</longdescription>
<upstream>
<remote-id type="github">peternaame-boop/ytm-player</remote-id>
<doc>https://ytm-player.com/#docs</doc>
</upstream>
</pkgmetadata>
@@ -0,0 +1,67 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 optfeature
DESCRIPTION="Full-featured YouTube Music TUI client with vim-style navigation"
HOMEPAGE="
https://ytm-player.com
https://github.com/peternaame-boop/ytm-player
"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/peternaame-boop/ytm-player.git"
else
SRC_URI="https://github.com/peternaame-boop/ytm-player/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
DOCS=(
{README,CONTRIBUTING,CHANGELOG,SECURITY}.md
docs/
)
RDEPEND="
media-video/mpv
>=net-misc/yt-dlp-2025.01.12[${PYTHON_USEDEP}]
>=dev-python/aiosqlite-0.20.0[${PYTHON_USEDEP}]
>=dev-python/click-8.1.0[${PYTHON_USEDEP}]
>=dev-python/python-mpv-1.0.0[${PYTHON_USEDEP}]
>=dev-python/pillow-10.0[${PYTHON_USEDEP}]
>=dev-python/textual-7.0.0[${PYTHON_USEDEP}]
>=dev-python/ytmusicapi-1.11.0[${PYTHON_USEDEP}]
>=dev-python/dbus-fast-4.0.0[${PYTHON_USEDEP}]
>=dev-python/packaging-21.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/anyascii-0.3.0[${PYTHON_USEDEP}]
>=dev-python/responses-0.25.0[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest
pkg_postinst() {
optfeature "last.fm scrobbling" dev-python/pylast
optfeature "Discord rich presence" dev-python/pypresence
optfeature "spotify playlist import" dev-python/spotipy # spotifyscraper & thefuzz are not packaged
optfeature "lyrics transliteration to ASCII" dev-python/anyascii
}
python_test() {
# The default portage tempdir is too long for AF_UNIX sockets
local -x TMPDIR=/tmp
epytest
}