commit: 502289b0c5cb780621ded93259673aae91d30981 Author: Henri Gasc <gasc <AT> eurecom <DOT> fr> AuthorDate: Sun Feb 5 14:38:39 2023 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Sun Feb 5 15:23:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=502289b0
dev-python/textual: new package, add 0.10.1 Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr> dev-python/textual/Manifest | 1 + dev-python/textual/metadata.xml | 12 +++++++++++ dev-python/textual/textual-0.10.1.ebuild | 35 ++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest new file mode 100644 index 000000000..00cd6ba2b --- /dev/null +++ b/dev-python/textual/Manifest @@ -0,0 +1 @@ +DIST v0.10.1.gh.tar.gz 24509468 BLAKE2B 12747e3d602087d848687b8fe4fcd230c2dc842a50a808d103bfa6eff6bd71393cd0ec9a0ef3bdb46f1f887cc1c32a2d8d44041842c30f46440e2135dc8ae433 SHA512 1b8e584dc2872a5067bcb7e1568c77c92d4313448888bc2e244a222f00699468fd0153c78e8dc91c4e2b9c0149d4248bddb7d37d9eee3e68e4c334abb3eee951 diff --git a/dev-python/textual/metadata.xml b/dev-python/textual/metadata.xml new file mode 100644 index 000000000..5e66dc860 --- /dev/null +++ b/dev-python/textual/metadata.xml @@ -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>[email protected]</email> + <name>Gasc Henri</name> + </maintainer> + <upstream> + <remote-id type="pypi">textual</remote-id> + <remote-id type="github">Textualize/textual</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/textual/textual-0.10.1.ebuild b/dev-python/textual/textual-0.10.1.ebuild new file mode 100644 index 000000000..031e2a1b2 --- /dev/null +++ b/dev-python/textual/textual-0.10.1.ebuild @@ -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
