media-sound/ytm-player: add 1.5.5

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf
2026-04-10 01:43:49 -03:00
parent 09386d9e9e
commit b6fceca24a
2 changed files with 58 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST ytm-player-1.5.1.tar.gz 332414 BLAKE2B acb053ba9b524204f2f162bbb78b7e3dcaf6d44da75b546be8d89efc80a0aeb7b653e90db3719e16613ad845bb9b547d3e79753faba43625eeff8871eb385f82 SHA512 9d7b1c517ffc8f1892955695ddda2956deea3ba49770ae782a7c916442c31044a98ba57531762b6f4d46a7a1adb4ad15c56ee04658388406523ab1de560b38a9
DIST ytm-player-1.5.2.tar.gz 332064 BLAKE2B 65a403b31b0f5cf47110f4fc4584bda70e369c663c07d66827fc83bab1409c371ffec5fb31b6d710777d2ac28c20495429d7a8666b5887efdbf6e16ed5467649 SHA512 e7acb42b830b1d631fa7cde39545fb421981cf758b226a57e3ff26b384d624839e11558da04d2cf5a8a4c1a6056489d03dff24d70e581247c62dbbcb8e9961d3
DIST ytm-player-1.5.5.tar.gz 337177 BLAKE2B af1e0c7666e2e5b33a51365ea7fba28255ecb4fa88d2bde05934a46cd4d760eadf6c4141843f10185611c0c784c5052752735a5fcf705d8db97bb617592e25e1 SHA512 4291ed3c801cb4db3f0bd702e95f0c4d2780878315324ee65e2e2f3601b7cf831a3bc3e406f19f0a3113f5d8f6cc2bdd0a11de000e0c736b39ef0d3ddf0f7e94

View File

@@ -0,0 +1,57 @@
# 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..13} )
inherit distutils-r1 optfeature
DESCRIPTION="Full-featured YouTube Music TUI client with vim-style navigation"
HOMEPAGE="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"
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}]
"
BDEPEND="
test? (
dev-python/anyascii[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest
pkg_postinst() {
optfeature "MPRIS media key support" dev-python/dbus-next
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
}