2025-10-20 20:19:25 +02:00
|
|
|
# Copyright 1999-2025 Gentoo Authors
|
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
|
|
DISTUTILS_USE_PEP517=poetry
|
2026-03-27 03:33:17 +01:00
|
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
2025-10-20 20:19:25 +02:00
|
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="Modern Text User Interface framework"
|
|
|
|
|
HOMEPAGE="https://github.com/Textualize/textual-dev https://pypi.org/project/textual-dev/"
|
|
|
|
|
SRC_URI="https://github.com/Textualize/textual-dev/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
SLOT="0"
|
2026-03-27 03:33:17 +01:00
|
|
|
KEYWORDS="~amd64 ~arm64"
|
2025-10-20 20:19:25 +02:00
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
|
>=dev-python/textual-0.86.2[${PYTHON_USEDEP}]
|
|
|
|
|
>=dev-python/textual-serve-1.0.3[${PYTHON_USEDEP}]
|
|
|
|
|
>=dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
|
|
|
|
|
>=dev-python/click-8.1.2[${PYTHON_USEDEP}]
|
|
|
|
|
>=dev-python/msgpack-1.0.3[${PYTHON_USEDEP}]
|
|
|
|
|
=dev-python/typing-extensions-4*[${PYTHON_USEDEP}]
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
2026-03-27 03:31:56 +01:00
|
|
|
EPYTEST_PLUGINS=(
|
|
|
|
|
pytest-{asyncio,aiohttp}
|
|
|
|
|
time-machine
|
|
|
|
|
)
|
2025-10-20 20:19:25 +02:00
|
|
|
distutils_enable_tests pytest
|