mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
media-sound/streamrip: new package, add 2.2.0
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
1
media-sound/streamrip/Manifest
Normal file
1
media-sound/streamrip/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST streamrip-2.2.0.tar.gz 1549785 BLAKE2B a4cd87f438000afe2c53e732492fe4bc3fc37cad01bc20b1f3fcfa66d6167f8bc4a5dd14f04fb402ef766987b87aa1e6bac03478d21ceb89f4692aa7383c7626 SHA512 e2e21f242fac10b4a3faff95d665bea60c679961c841b24e18df8424dfec04a3a83dbea86ed594d5e4ed4d6a9f76339a3f2ccc796e6f88fdb7e489b7f80829e9
|
||||
12
media-sound/streamrip/metadata.xml
Normal file
12
media-sound/streamrip/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Pavel Sobolev</name>
|
||||
<email>contact@paveloom.dev</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/nathom/streamrip/issues</bugs-to>
|
||||
<remote-id type="github">nathom/streamrip</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
57
media-sound/streamrip/streamrip-2.2.0.ebuild
Normal file
57
media-sound/streamrip/streamrip-2.2.0.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A fast, all-in-one music downloader for Qobuz, Deezer, Tidal, and SoundCloud"
|
||||
HOMEPAGE="https://github.com/nathom/streamrip"
|
||||
SRC_URI="https://github.com/nathom/streamrip/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/aiodns[${PYTHON_USEDEP}]
|
||||
dev-python/aiofiles[${PYTHON_USEDEP}]
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/aiolimiter[${PYTHON_USEDEP}]
|
||||
dev-python/appdirs[${PYTHON_USEDEP}]
|
||||
dev-python/click-help-colors[${PYTHON_USEDEP}]
|
||||
dev-python/deezer-py[${PYTHON_USEDEP}]
|
||||
dev-python/m3u8[${PYTHON_USEDEP}]
|
||||
dev-python/pathvalidate[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
dev-python/rich[${PYTHON_USEDEP}]
|
||||
dev-python/simple-term-menu[${PYTHON_USEDEP}]
|
||||
dev-python/tomlkit[${PYTHON_USEDEP}]
|
||||
media-libs/mutagen[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# Both install `/usr/bin/rip`
|
||||
DEPEND+="
|
||||
!!media-sound/rip
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-asyncio )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s/Cryptodome/Crypto/g" \
|
||||
"streamrip/client/deezer.py" \
|
||||
"streamrip/client/downloadable.py" || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
dodoc LICENSE
|
||||
}
|
||||
Reference in New Issue
Block a user