From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1589119-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F7DB15846A for <garchives@archives.gentoo.org>; Wed, 10 Jan 2024 14:49:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 524B4E2AA7; Wed, 10 Jan 2024 14:49:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33CB8E2AA8 for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jan 2024 14:49:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E18463431AE for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jan 2024 14:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 207D612C8 for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jan 2024 14:49:49 +0000 (UTC) From: "Henri Gasc" <gasc@eurecom.fr> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Henri Gasc" <gasc@eurecom.fr> Message-ID: <1704898110.af6ac88ba227fecd94673f74cc21db09ea7746e9.gasc@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/textual/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/textual/Manifest dev-python/textual/textual-0.44.0.ebuild dev-python/textual/textual-0.47.1.ebuild X-VCS-Directories: dev-python/textual/ X-VCS-Committer: gasc X-VCS-Committer-Name: Henri Gasc X-VCS-Revision: af6ac88ba227fecd94673f74cc21db09ea7746e9 X-VCS-Branch: dev Date: Wed, 10 Jan 2024 14:49:49 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 938939a9-bcdb-4d03-9ce1-1e9bc28bb4d1 X-Archives-Hash: 98c9e3612a8cd7299ff490717210e6c5 commit: af6ac88ba227fecd94673f74cc21db09ea7746e9 Author: Henri Gasc <gasc <AT> eurecom <DOT> fr> AuthorDate: Wed Jan 10 14:48:30 2024 +0000 Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr> CommitDate: Wed Jan 10 14:48:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af6ac88b dev-python/textual: add 0.47.1, drop 0.44.0 Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr> dev-python/textual/Manifest | 2 +- dev-python/textual/textual-0.44.0.ebuild | 51 -------------------------- dev-python/textual/textual-0.47.1.ebuild | 61 ++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 52 deletions(-) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 216cbf7bfc..14e206e3aa 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST textual-0.44.0.gh.tar.gz 27829324 BLAKE2B 2e2e62aa2b05f09a4f29e96465b5228bcc8df0c165560fd4d5a76cb7153c55c6e7eb4434ec167893a888be1c54d24f9b41af1c7c17a8642b9341f245d22b7a73 SHA512 44d10806361571e6cacb087b0ee1fa78a8b55bfdaac14190d70f580e51911dc990ca6d3c9db85bef5df872cc0d7caf20d0ae3bba1020e44889dd487fb5bad97a +DIST textual-0.47.1.gh.tar.gz 27860405 BLAKE2B f4047755d4faf7796ece4f8e08c409e4dc93ecd4eaa9543b6ca23b2824b8eb70c1e382509f55a15421eebd666f137c0ada7a4b99b6bc9d1f91f45ae2f251ddcf SHA512 f17684f8e822423164a6b549c261f5662b6997e9934e1c76f159610d1ed682e26d34e39ae22c3b8fe47e84c8b4a87cc6bd70e0121806b498ddda5ddb9f575bd1 diff --git a/dev-python/textual/textual-0.44.0.ebuild b/dev-python/textual/textual-0.44.0.ebuild deleted file mode 100644 index 2208322031..0000000000 --- a/dev-python/textual/textual-0.44.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) - -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 -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/importlib-metadata-4.11.3[${PYTHON_USEDEP}] - dev-python/markdown-it-py[${PYTHON_USEDEP}] - >=dev-python/rich-13.3.3[${PYTHON_USEDEP}] - =dev-python/typing-extensions-4*[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/markdown-it-py[${PYTHON_USEDEP}] - >=dev-python/rich-13.3.3[${PYTHON_USEDEP}] - =dev-python/typing-extensions-4*[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/textual-dev[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - elog "If you want the documentation, you can read it at https://textual.textualize.io/" -} - -EPYTEST_DESELECT=( - # Those tests ask to press keys - tests/snapshot_tests/test_snapshots.py - - # Need a package that should be optional - tests/text_area/test_languages.py::test_register_language - tests/text_area/test_languages.py::test_register_language_existing_language -) diff --git a/dev-python/textual/textual-0.47.1.ebuild b/dev-python/textual/textual-0.47.1.ebuild new file mode 100644 index 0000000000..65e553d1fa --- /dev/null +++ b/dev-python/textual/textual-0.47.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="mkdocs" +DOCS_DIR="docs" +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 optfeature + +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 -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +RDEPEND=" + >=dev-python/rich-13.3.3[${PYTHON_USEDEP}] + >=dev-python/markdown-it-py-2.1.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-cov[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.3.0[${PYTHON_USEDEP}] + <dev-python/mkdocs-2.0.0[${PYTHON_USEDEP}] + dev-python/mkdocstrings[${PYTHON_USEDEP}] + dev-python/mkdocstrings-python[${PYTHON_USEDEP}] + >=dev-python/mkdocs-material-9.0.11[${PYTHON_USEDEP}] + <dev-python/mkdocs-material-10.0.0[${PYTHON_USEDEP}] + >=dev-python/time-machine-2.6.0[${PYTHON_USEDEP}] + <dev-python/time-machine-3.0.0[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + >=dev-python/textual-dev-1.2.0[${PYTHON_USEDEP}] + <dev-python/textual-dev-2.0.0[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/griffe[${PYTHON_USEDEP}] + ) +" + +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest +EPYTEST_DESELECT=( + # Those tests ask to press keys + tests/snapshot_tests/test_snapshots.py + + # Need a package that should be optional + tests/text_area/test_languages.py::test_register_language + tests/text_area/test_languages.py::test_register_language_existing_language +) + +pkg_postinst() { + optfeature "bindings for python" dev-python/tree-sitter + optfeature "support for [language]" dev-libs/tree-sitter-[language] +}