38 lines
858 B
Bash
38 lines
858 B
Bash
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
PYTHON_COMPAT=( python3_{8,9} )
|
||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||
|
PYTERM_REF="77bb383d3333b19277bc278db80b92d425646908"
|
||
|
MY_P="pyterminal-${PV}-${PYTERM_REF}"
|
||
|
S="${WORKDIR}/${MY_P}"
|
||
|
|
||
|
inherit distutils-r1
|
||
|
|
||
|
if [[ ${PV} != *9999* ]]; then
|
||
|
SRC_URI="https://gitlab.com/mocchapi/pyterminal/-/archive/${PV}/archive.tar.gz -> ${P}.tar.gz"
|
||
|
KEYWORDS="~amd64"
|
||
|
else
|
||
|
inherit git-r3
|
||
|
EGIT_REPO_URI="https://gitlab.com/mocchapi/pyterminal.git"
|
||
|
fi
|
||
|
|
||
|
DESCRIPTION="Command line YouTube music streamer"
|
||
|
HOMEPAGE="https://gitlab.com/mocchapi/pyterminal"
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND="
|
||
|
${DEPEND}
|
||
|
dev-python/feedparser
|
||
|
dev-python/pafy
|
||
|
dev-python/python-vlc
|
||
|
dev-python/pypresence
|
||
|
dev-python/youtube-search-python
|
||
|
net-misc/youtube-dl
|
||
|
"
|
||
|
BDEPEND=""
|