2021-05-16 00:00:09 +02:00
|
|
|
# Copyright 2020-2021 Gentoo Authors
|
2020-08-18 15:19:58 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
2020-12-08 17:09:54 +01:00
|
|
|
PYTHON_COMPAT=( python3_{8..9} )
|
2020-08-18 15:19:58 +02:00
|
|
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="CLI/TUI mastodon client written in python"
|
2021-05-16 00:00:28 +02:00
|
|
|
HOMEPAGE="https://github.com/ihabunek/toot/ https://pypi.org/project/toot/"
|
2020-08-18 15:19:58 +02:00
|
|
|
|
|
|
|
if [ "${PV}" == "9999" ]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/ihabunek/toot"
|
|
|
|
else
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64 ~arm64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RESTRICT="test"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
dev-python/beautifulsoup[${PYTHON_USEDEP}]
|
|
|
|
dev-python/requests[${PYTHON_USEDEP}]
|
|
|
|
dev-python/urwid[${PYTHON_USEDEP}]
|
|
|
|
dev-python/wcwidth[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|