summaryrefslogtreecommitdiff
path: root/net-misc/toot/toot-0.51.0-r1.ebuild
blob: d6f6d377ce0b09fffb57dc292b4a7bd9f69c60f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{13..14} )

inherit distutils-r1 pypi

DESCRIPTION="toot - Mastodon CLI & TUI"
HOMEPAGE="https://github.com/ihabunek/toot"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
		dev-python/urwid[${PYTHON_USEDEP}]
		dev-python/wcwidth[${PYTHON_USEDEP}]
		dev-python/beautifulsoup4[${PYTHON_USEDEP}]
		dev-python/tomlkit[${PYTHON_USEDEP}]
		test? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${P}-urwid-compat.patch" )

EPYTEST_PLUGINS=( pytest-click python-dateutil pillow )
distutils_enable_tests pytest