Files
guru/net-misc/toot/toot-0.51.0-r1.ebuild
David Roman 1c3ca9bc70 net-misc/toot: fix >=urwid-3.0.4 compatibility
Also:
- disalbe py3.11
- add missing test dependencies

Signed-off-by: David Roman <davidroman96@gmail.com>
2026-02-03 12:53:57 +01:00

31 lines
718 B
Bash

# 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_{12..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