Nils Freydank
b97026ed8e
Package-Manager: Portage-3.0.3, Repoman-3.0.0 Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B Signed-off-by: Nils Freydank <holgersson@posteo.de>
35 lines
777 B
Bash
35 lines
777 B
Bash
# Copyright 2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{7..9} )
|
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="CLI/TUI mastodon client written in python"
|
|
HOMEPAGE="https://github.com/ihabunek/toot https://pypi.org/project/toot"
|
|
|
|
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=""
|