dev-python/textual: new package, add 0.10.1

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2023-02-05 15:38:39 +01:00
parent 33eb55c86b
commit 502289b0c5
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST v0.10.1.gh.tar.gz 24509468 BLAKE2B 12747e3d602087d848687b8fe4fcd230c2dc842a50a808d103bfa6eff6bd71393cd0ec9a0ef3bdb46f1f887cc1c32a2d8d44041842c30f46440e2135dc8ae433 SHA512 1b8e584dc2872a5067bcb7e1568c77c92d4313448888bc2e244a222f00699468fd0153c78e8dc91c4e2b9c0149d4248bddb7d37d9eee3e68e4c334abb3eee951

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>gasc@eurecom.fr</email>
<name>Gasc Henri</name>
</maintainer>
<upstream>
<remote-id type="pypi">textual</remote-id>
<remote-id type="github">Textualize/textual</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,35 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Modern Text User Interface framework"
HOMEPAGE="https://github.com/Textualize/textual https://pypi.org/project/textual"
SRC_URI="https://github.com/Textualize/textual/archive/refs/tags/v${PV}.tar.gz -> v${PV}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# For the tests we would need many python modules not in any overlays I could find
RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
BDEPEND="
dev-lang/python
dev-python/poetry-core[${PYTHON_USEDEP}]
dev-python/importlib_metadata[${PYTHON_USEDEP}]
"
DEPEND="
${BDEPEND}
${RDEPEND}
"
distutils_enable_tests pytest