[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/
commit: 1c6dd8232de3df459d2c96a78b3a38345ae0a789 Author: Henri Gasc eurecom fr> AuthorDate: Fri May 31 21:32:32 2024 + Commit: Julien Roy jroy ca> CommitDate: Fri May 31 22:16:02 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c6dd823 dev-python/textual: add 0.63.6, drop 0.62.0 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual/Manifest | 2 +- dev-python/textual/{textual-0.62.0.ebuild => textual-0.63.6.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 42b57b5dc..0817aca3d 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST textual-0.62.0.gh.tar.gz 28258058 BLAKE2B bc9cab701beb5a0a7ce01c845c95ec00b13d1843b2fbca69f1a7e5bf1fe8df13afaa4735d88731857f3561b46ad2948e67489b14337e69b0fb0ec4e2fb71592b SHA512 e03a00abf647500e0233ea24378691b16296c5827a476b9f5530f0fcc83e9c36cf94ec7839a8eb58c2bb1a570ec8bc8b4b6c478e9249055b2d40b47429300111 +DIST textual-0.63.6.gh.tar.gz 28258385 BLAKE2B 4cdb85407db92888a632946d1386454b2b82307a4270acdf301ec325a936439a1f012de8fbe5dc7e07880601e23ae99599b4249fde3b1af5622567d485f25a9a SHA512 89c6773c19779af4dbb23c6c079921a2742b80d77e110403491dd1888dcac6ffc1e32098cbceff465feea63d56a1cd49ff5c16e3cffb663da2ac248c988a8496 diff --git a/dev-python/textual/textual-0.62.0.ebuild b/dev-python/textual/textual-0.63.6.ebuild similarity index 100% rename from dev-python/textual/textual-0.62.0.ebuild rename to dev-python/textual/textual-0.63.6.ebuild
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/
commit: 13b10e961c666156624db24bef3787456ea764da Author: Henri Gasc eurecom fr> AuthorDate: Tue May 21 14:33:27 2024 + Commit: Julien Roy jroy ca> CommitDate: Tue May 21 20:35:49 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13b10e96 dev-python/textual: add 0.62.0, drop 0.58.1 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual/Manifest | 2 +- dev-python/textual/{textual-0.58.1.ebuild => textual-0.62.0.ebuild} | 6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 998d32c86a..42b57b5dcd 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST textual-0.58.1.gh.tar.gz 28246721 BLAKE2B 3ab2d8610677cc45d8cc8fdb07882e1ccc4f5a01555939cd9a39141de08e5ad774aad889d3716a033f7ab30ac9f1637d3ed8605e23f87d055726ab6aa1e2b75b SHA512 3cb8410a352a7bb6d36e29e2ae6900e80cb18cf1f0f5c779f0858bb727a3b27a0e4342b692dbba096698a73564ede0ca9fb27f8a46e87eda4209034e8de3 +DIST textual-0.62.0.gh.tar.gz 28258058 BLAKE2B bc9cab701beb5a0a7ce01c845c95ec00b13d1843b2fbca69f1a7e5bf1fe8df13afaa4735d88731857f3561b46ad2948e67489b14337e69b0fb0ec4e2fb71592b SHA512 e03a00abf647500e0233ea24378691b16296c5827a476b9f5530f0fcc83e9c36cf94ec7839a8eb58c2bb1a570ec8bc8b4b6c478e9249055b2d40b47429300111 diff --git a/dev-python/textual/textual-0.58.1.ebuild b/dev-python/textual/textual-0.62.0.ebuild similarity index 89% rename from dev-python/textual/textual-0.58.1.ebuild rename to dev-python/textual/textual-0.62.0.ebuild index f85851e3e7..efbe7ab5fd 100644 --- a/dev-python/textual/textual-0.58.1.ebuild +++ b/dev-python/textual/textual-0.62.0.ebuild @@ -10,8 +10,9 @@ DOCS_BUILDER="mkdocs" DOCS_DEPEND=" dev-python/mkdocstrings dev-python/mkdocstrings-python - dev-python/mkdocs-material dev-python/mkdocs-exclude + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-material dev-python/mkdocs-rss-plugin dev-python/pytz " @@ -36,6 +37,7 @@ BDEPEND=" dev-python/httpx[${PYTHON_USEDEP}] >=dev-python/textual-dev-1.2.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/, dev-python/textual/files/
commit: c47a4aabc169a5a4afb3669b2e91d1f5839c30bc Author: Henri Gasc eurecom fr> AuthorDate: Thu Apr 11 21:38:49 2024 + Commit: Julien Roy jroy ca> CommitDate: Thu Apr 11 21:38:49 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c47a4aab dev-python/textual: add 0.56.4, drop 0.52.1 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual/Manifest| 2 +- dev-python/textual/files/fix-mkdocstrings.patch| 7 --- .../textual/{textual-0.52.1.ebuild => textual-0.56.4.ebuild} | 7 --- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index c880c1485a..d0e1368f11 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST textual-0.52.1.gh.tar.gz 27949270 BLAKE2B 3251df04137316b416b19ce91293034d226b5c54eaf4550578cc0b874a4ae4b1ab45578981ee98b41de04693b2d4fd43c55c8882f03bb8e8b35339faac2ffef7 SHA512 7eb8d54e7e18fab3d4013004d68c629b0f6a72258dc8e2c879c4ed54d32ca0e94594a992e25687d39356f61bd6a64372f67064d706bfa48df2e8ccce833d +DIST textual-0.56.4.gh.tar.gz 28108154 BLAKE2B e27b62a3c00516a494f06e7817405aeacd0bbe2ee6e9b235921a8458679047420cac198f1bbe352d66583a432a3f10088059df22c078d52ddb8aafe83477 SHA512 230ff995ab26feaf347f9fb630fead751573eefcca291219eabae61380fa49f99c51715616619b65504071cfa1424bdb3720293f7909ea7958f53ff47db472be diff --git a/dev-python/textual/files/fix-mkdocstrings.patch b/dev-python/textual/files/fix-mkdocstrings.patch index a412fea238..d1b13868f4 100644 --- a/dev-python/textual/files/fix-mkdocstrings.patch +++ b/dev-python/textual/files/fix-mkdocstrings.patch @@ -24,10 +24,3 @@ index 58a4c37ad..c5e574ffa 100644 {% if show_full_path %}{{ function.path }}{% else %}{{ function.name }}{% endif %} {% include "signature.html" with context %} {% endfilter %}: -diff --git a/docs/api/constants.md b/docs/api/constants.md -index f4d97e8df..88aa35b2f 100644 a/docs/api/constants.md -+++ b/docs/api/constants.md -@@ -1 +1 @@ --::: textuals.constants -+::: textual.constants diff --git a/dev-python/textual/textual-0.52.1.ebuild b/dev-python/textual/textual-0.56.4.ebuild similarity index 97% rename from dev-python/textual/textual-0.52.1.ebuild rename to dev-python/textual/textual-0.56.4.ebuild index b67924c3e5..f85851e3e7 100644 --- a/dev-python/textual/textual-0.52.1.ebuild +++ b/dev-python/textual/textual-0.56.4.ebuild @@ -42,16 +42,17 @@ BDEPEND=" " DEPEND="${RDEPEND}" -PATCHES=("${FILESDIR}/fix-mkdocstrings.patch") +PATCHES=( + "${FILESDIR}/fix-mkdocstrings.patch" +) -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 ) +distutils_enable_tests pytest python_compile_all() { echo "INHERIT: mkdocs-offline.yml" > "${S}/mkdocs.yml"
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual-dev/
commit: 98e100ba369802009023564bf17506ae00984789 Author: Henri Gasc eurecom fr> AuthorDate: Wed Mar 13 21:04:15 2024 + Commit: David Roman gmail com> CommitDate: Wed Mar 13 21:31:21 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98e100ba dev-python/textual-dev: add 1.5.1, drop 1.4.0 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual-dev/Manifest | 2 +- .../{textual-dev-1.4.0.ebuild => textual-dev-1.5.1.ebuild} | 9 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/dev-python/textual-dev/Manifest b/dev-python/textual-dev/Manifest index 46d729dc02..31ebc51a44 100644 --- a/dev-python/textual-dev/Manifest +++ b/dev-python/textual-dev/Manifest @@ -1 +1 @@ -DIST textual-dev-1.4.0.gh.tar.gz 60050 BLAKE2B 8af83ef31445a2ef7d82ecad6fa9893d1312e83b45753138e291c8ee0786dd50b738eb7032cc7e0cbb41d5c2f0ad293a240d691ba340d3322bfd5ac4e78f5a16 SHA512 2dac7e8d8ed33c783a1a1fb84fc27404c22074ab5bbbf5390d8a8e0a4ebdaafa9d22eac556b66a7d207d59b0367dba8f627a575c7117909a857066a11c0c3e78 +DIST textual-dev-1.5.1.gh.tar.gz 61043 BLAKE2B 9c208e8eb61121dadbae450d7027c436634796d428eed31d9550da738a60e1eb02a5a2ae45be1898595228776e73c8003ece652439fc81aa65f5bbbaf61118d7 SHA512 d34100a0bf92a43088f3f5ac7c911cc9e8aaa9f5eb04b9aab328518e66fb54e29ed47617323cc3c39fd77255f08b3f33087909f97d0e60d987706d991caca8b1 diff --git a/dev-python/textual-dev/textual-dev-1.4.0.ebuild b/dev-python/textual-dev/textual-dev-1.5.1.ebuild similarity index 77% rename from dev-python/textual-dev/textual-dev-1.4.0.ebuild rename to dev-python/textual-dev/textual-dev-1.5.1.ebuild index 8a569ff1df..d0cecdd30a 100644 --- a/dev-python/textual-dev/textual-dev-1.4.0.ebuild +++ b/dev-python/textual-dev/textual-dev-1.5.1.ebuild @@ -17,20 +17,19 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" + >=dev-python/textual-0.36.0[${PYTHON_USEDEP}] >=dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}] >=dev-python/click-8.1.2[${PYTHON_USEDEP}] - dev-python/importlib-metadata[${PYTHON_USEDEP}] >=dev-python/msgpack-1.0.3[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - >=dev-python/textual-0.32.0[${PYTHON_USEDEP}] =dev-python/typing-extensions-4*[${PYTHON_USEDEP}] " BDEPEND=" test? ( ${RDEPEND} - =dev-python/pytest-aiohttp-1*[${PYTHON_USEDEP}] - =dev-python/time-machine-2*[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + >=dev-python/time-machine-2.6.0[${PYTHON_USEDEP}] +
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/files/, dev-python/textual/
commit: 30eaec69dfe9008d12847e35418bba0233a91b63 Author: Henri Gasc eurecom fr> AuthorDate: Mon Mar 11 08:41:25 2024 + Commit: David Roman gmail com> CommitDate: Mon Mar 11 08:42:06 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30eaec69 dev-python/textual: add 0.52.1, drop 0.47.1 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual/Manifest| 2 +- dev-python/textual/files/fix-mkdocstrings.patch| 33 + ...textual-0.47.1.ebuild => textual-0.52.1.ebuild} | 41 -- 3 files changed, 57 insertions(+), 19 deletions(-) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 14e206e3aa..c880c1485a 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST textual-0.47.1.gh.tar.gz 27860405 BLAKE2B f4047755d4faf7796ece4f8e08c409e4dc93ecd4eaa9543b6ca23b2824b8eb70c1e382509f55a15421eebd666f137c0ada7a4b99b6bc9d1f91f45ae2f251ddcf SHA512 f17684f8e822423164a6b549c261f5662b6997e9934e1c76f159610d1ed682e26d34e39ae22c3b8fe47e84c8b4a87cc6bd70e0121806b498ddda5ddb9f575bd1 +DIST textual-0.52.1.gh.tar.gz 27949270 BLAKE2B 3251df04137316b416b19ce91293034d226b5c54eaf4550578cc0b874a4ae4b1ab45578981ee98b41de04693b2d4fd43c55c8882f03bb8e8b35339faac2ffef7 SHA512 7eb8d54e7e18fab3d4013004d68c629b0f6a72258dc8e2c879c4ed54d32ca0e94594a992e25687d39356f61bd6a64372f67064d706bfa48df2e8ccce833d diff --git a/dev-python/textual/files/fix-mkdocstrings.patch b/dev-python/textual/files/fix-mkdocstrings.patch new file mode 100644 index 00..a412fea238 --- /dev/null +++ b/dev-python/textual/files/fix-mkdocstrings.patch @@ -0,0 +1,33 @@ +diff --git a/docs/_templates/python/material/_base/class.html b/docs/_templates/python/material/_base/class.html +index 120fe338f..731d2ae73 100644 +--- a/docs/_templates/python/material/_base/class.html b/docs/_templates/python/material/_base/class.html +@@ -46,7 +46,7 @@ + {% if "__init__" in class.members %} + {% with function = class.members["__init__"] %} + {% filter highlight(language="python", inline=False) -%} +-def {% filter format_signature(config.line_length) %} ++def {% filter format_signature(function, config.line_length) %} + __init__{% include "signature.html" with context %} + {% endfilter %}: + {% endfilter %} +diff --git a/docs/_templates/python/material/_base/function.html b/docs/_templates/python/material/_base/function.html +index 58a4c37ad..c5e574ffa 100644 +--- a/docs/_templates/python/material/_base/function.html b/docs/_templates/python/material/_base/function.html +@@ -37,7 +37,7 @@ + + {% if config.separate_signature %} + {% filter highlight(language="python", inline=False) %} +-def {% filter format_signature(config.line_length) %} ++def {% filter format_signature(function, config.line_length) %} + {% if show_full_path %}{{ function.path }}{% else %}{{ function.name }}{% endif %} + {% include "signature.html" with context %} + {% endfilter %}: +diff --git a/docs/api/constants.md b/docs/api/constants.md +index f4d97e8df..88aa35b2f 100644 +--- a/docs/api/constants.md b/docs/api/constants.md +@@ -1 +1 @@ +-::: textuals.constants ++::: textual.constants diff --git a/dev-python/textual/textual-0.47.1.ebuild b/dev-python/textual/textual-0.52.1.ebuild similarity index 64% rename from dev-python/textual/textual-0.47.1.ebuild rename to dev-python/textual/textual-0.52.1.ebuild index 65e553d1fa..b67924c3e5 100644 --- a/dev-python/textual/textual-0.47.1.ebuild +++ b/dev-python/textual/textual-0.52.1.ebuild @@ -3,12 +3,21 @@ EAPI=8 -DOCS_BUILDER="mkdocs" -DOCS_DIR="docs" DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 optfeature +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocstrings + dev-python/mkdocstrings-python + dev-python/mkdocs-material + dev-python/mkdocs-exclude + dev-python/mkdocs-rss-plugin + dev-python/pytz +" +DOCS_INITIALIZE_GIT=1 + +inherit distutils-r1 docs optfeature DESCRIPTION="Modern Text User Interface framework" HOMEPAGE="https://github.com/Textualize/textual https://pypi.org/project/textual/"; @@ -17,24 +26,13 @@ SRC_URI="https://github.com/Textualize/textual/archive/refs/tags/v${PV}.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}] + >=dev-python/rich-13.3.3[${PYTHON_USEDEP}] " - BDEPEND=" test? ( - dev-python/pytest-cov[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.3.0[${PYTHON_USEDEP}] - =dev-python/mkdocs-material-9.0.11[${PYTHON_USEDEP}] - =dev-python/time-machine-2.6.0[${PYTHON_USEDEP}] - =dev-python/textual-dev-1.2.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual-dev/
commit: 654250453d708cf02a8321b35ce7d3ff3060e122 Author: Henri Gasc eurecom fr> AuthorDate: Wed Jan 10 14:49:01 2024 + Commit: David Roman gmail com> CommitDate: Wed Jan 10 14:49:01 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=65425045 dev-python/textual-dev: add 1.4.0, drop 1.2.0 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual-dev/Manifest| 2 +- .../{textual-dev-1.2.0.ebuild => textual-dev-1.4.0.ebuild} | 7 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dev-python/textual-dev/Manifest b/dev-python/textual-dev/Manifest index 24330810b3..46d729dc02 100644 --- a/dev-python/textual-dev/Manifest +++ b/dev-python/textual-dev/Manifest @@ -1 +1 @@ -DIST textual-dev-1.2.0.gh.tar.gz 71409 BLAKE2B c878243b9d6b9683ec59796e24553c506379f90f32c1adf67200e63dcda141427c692ee1d529c26055669ec759dc63ec2f8f01d37bdc184fdf99c5d07ec93a79 SHA512 a0aff879d5bf8792d46577192e89cd3136a63515dcfe4b4c3e033665c535629ef52a52b1c38186d9593605b94672fda19a241e67e6df0ff5400cf82d19cb97b8 +DIST textual-dev-1.4.0.gh.tar.gz 60050 BLAKE2B 8af83ef31445a2ef7d82ecad6fa9893d1312e83b45753138e291c8ee0786dd50b738eb7032cc7e0cbb41d5c2f0ad293a240d691ba340d3322bfd5ac4e78f5a16 SHA512 2dac7e8d8ed33c783a1a1fb84fc27404c22074ab5bbbf5390d8a8e0a4ebdaafa9d22eac556b66a7d207d59b0367dba8f627a575c7117909a857066a11c0c3e78 diff --git a/dev-python/textual-dev/textual-dev-1.2.0.ebuild b/dev-python/textual-dev/textual-dev-1.4.0.ebuild similarity index 79% rename from dev-python/textual-dev/textual-dev-1.2.0.ebuild rename to dev-python/textual-dev/textual-dev-1.4.0.ebuild index 3c0ad5b5a1..8a569ff1df 100644 --- a/dev-python/textual-dev/textual-dev-1.2.0.ebuild +++ b/dev-python/textual-dev/textual-dev-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,12 +8,9 @@ PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 -hash_commit="be6340920e0f31a362bcedaf0f08ef1ce2c64a8b" - 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/${hash_commit}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/${PN}-${hash_commit}" +SRC_URI="https://github.com/Textualize/textual-dev/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0"
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/
commit: af6ac88ba227fecd94673f74cc21db09ea7746e9 Author: Henri Gasc eurecom fr> AuthorDate: Wed Jan 10 14:48:30 2024 + Commit: David Roman gmail com> CommitDate: Wed Jan 10 14:48:30 2024 + 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 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..00 --- 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 00..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-material-9.0.11[${PYTHON_USEDEP}] + =dev-python/time-machine-2.6.0[${PYTHON_USEDEP}] + =dev-python/textual-dev-1.2.0[${PYTHON_USEDEP}] +
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/
commit: 0ed46f7a0e8e7a53cc31db8c641fe4f31106a7bb Author: Henri Gasc eurecom fr> AuthorDate: Fri Dec 1 20:46:43 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Dec 1 20:50:04 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ed46f7a dev-python/textual: add 0.44.0, drop 0.36.0 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual/Manifest | 2 +- .../{textual-0.36.0.ebuild => textual-0.44.0.ebuild} | 15 +-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index d7be15c01f..216cbf7bfc 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST textual-0.36.0.gh.tar.gz 25861324 BLAKE2B fa4b31b743452e583e40f95a86bb9b0e05a984a04aa83b4820eeed0124bebdb88e011f7d4cfd362cd686bab2df85913a2f4642218b25da9521c871926bbfe46b SHA512 506f04a4eaa363e4423a823b8f4c804d2a531dd246905cf48d0cb001b59f1e1e936bd7b755424d69e5037f4d631fe6c8ea8799cb2d60c4a3fcf2982625d0cc86 +DIST textual-0.44.0.gh.tar.gz 27829324 BLAKE2B 2e2e62aa2b05f09a4f29e96465b5228bcc8df0c165560fd4d5a76cb7153c55c6e7eb4434ec167893a888be1c54d24f9b41af1c7c17a8642b9341f245d22b7a73 SHA512 44d10806361571e6cacb087b0ee1fa78a8b55bfdaac14190d70f580e51911dc990ca6d3c9db85bef5df872cc0d7caf20d0ae3bba1020e44889dd487fb5bad97a diff --git a/dev-python/textual/textual-0.36.0.ebuild b/dev-python/textual/textual-0.44.0.ebuild similarity index 77% rename from dev-python/textual/textual-0.36.0.ebuild rename to dev-python/textual/textual-0.44.0.ebuild index 7b1d86b02b..2208322031 100644 --- a/dev-python/textual/textual-0.36.0.ebuild +++ b/dev-python/textual/textual-0.44.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2023 Gentoo Authors +# 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..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -41,8 +41,11 @@ python_install_all() { elog "If you want the documentation, you can read it at https://textual.textualize.io/"; } -python_test() { +EPYTEST_DESELECT=( # Those tests ask to press keys - local EPYTEST_IGNORE="tests/snapshot_tests/test_snapshots.py" - epytest "${S}/tests" || die "Tests failed with ${EPYTHON}" -} + 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 +)
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual-dev/
commit: 89d98ee8045d31d293651cf4f481c03edc640f10 Author: Henri Gasc eurecom fr> AuthorDate: Fri Dec 1 19:32:26 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Dec 1 20:50:04 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89d98ee8 dev-python/textual-dev: add 1.2.0, drop 1.1.0 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual-dev/Manifest | 2 +- .../{textual-dev-1.1.0.ebuild => textual-dev-1.2.0.ebuild}| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-python/textual-dev/Manifest b/dev-python/textual-dev/Manifest index 86642fefd5..24330810b3 100644 --- a/dev-python/textual-dev/Manifest +++ b/dev-python/textual-dev/Manifest @@ -1 +1 @@ -DIST textual-dev-1.1.0.gh.tar.gz 70381 BLAKE2B 4fa7ba78b596ca075f614d1d9fb62a05a4225c2016692e4b3dafcc116bbee6e9d3d685f80c057987a9e9fdfcca913b1cb141b4ab67c2c4cfbe87f645cf77e8fc SHA512 ce2cd1e6c3761d3e8ff680b55e6ca77b3aa0ba6ff18f1a901cf412b3cc7281d5028f15e30603d7a5fe9b74d3a962deda25a788035d82b4bff3ce6b5ab8a22c59 +DIST textual-dev-1.2.0.gh.tar.gz 71409 BLAKE2B c878243b9d6b9683ec59796e24553c506379f90f32c1adf67200e63dcda141427c692ee1d529c26055669ec759dc63ec2f8f01d37bdc184fdf99c5d07ec93a79 SHA512 a0aff879d5bf8792d46577192e89cd3136a63515dcfe4b4c3e033665c535629ef52a52b1c38186d9593605b94672fda19a241e67e6df0ff5400cf82d19cb97b8 diff --git a/dev-python/textual-dev/textual-dev-1.1.0.ebuild b/dev-python/textual-dev/textual-dev-1.2.0.ebuild similarity index 91% rename from dev-python/textual-dev/textual-dev-1.1.0.ebuild rename to dev-python/textual-dev/textual-dev-1.2.0.ebuild index b1e705cfbe..3c0ad5b5a1 100644 --- a/dev-python/textual-dev/textual-dev-1.1.0.ebuild +++ b/dev-python/textual-dev/textual-dev-1.2.0.ebuild @@ -4,11 +4,11 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 -hash_commit="4e742d7cf4cdc7e2d8a9a768305fd9f7060b6b74" +hash_commit="be6340920e0f31a362bcedaf0f08ef1ce2c64a8b" DESCRIPTION="Modern Text User Interface framework" HOMEPAGE="https://github.com/Textualize/textual-dev https://pypi.org/project/textual-dev/";
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/
commit: c208f617545bb6c49e973d541fbfa4f066ddf9d0 Author: Henri Gasc eurecom fr> AuthorDate: Wed Sep 6 22:02:23 2023 + Commit: David Roman gmail com> CommitDate: Wed Sep 6 22:02:23 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c208f617 dev-python/textual: drop 0.14.0, add 0.36.0 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual/Manifest | 2 +- dev-python/textual/metadata.xml | 1 + dev-python/textual/textual-0.14.0.ebuild | 82 dev-python/textual/textual-0.36.0.ebuild | 48 +++ 4 files changed, 50 insertions(+), 83 deletions(-) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index bdae15212d..d7be15c01f 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST textual-0.14.0.gh.tar.gz 25273607 BLAKE2B 9ce16bcb6e4fc5e3dea432f7a15086f5edef1740d9a0f55f6eeabf373fd7e64d0a3b06c277d1e61020def66b2d1d7d2b8f095747583b3a80da06c1103b198fe1 SHA512 1830546f8b07078f94525127f6a99771e54e29a9c4a217fda59f9b9de0fc85e893014af0d1a0b79fab4c237a76114516513662f67ce0203e72d2cba7f4f1bec7 +DIST textual-0.36.0.gh.tar.gz 25861324 BLAKE2B fa4b31b743452e583e40f95a86bb9b0e05a984a04aa83b4820eeed0124bebdb88e011f7d4cfd362cd686bab2df85913a2f4642218b25da9521c871926bbfe46b SHA512 506f04a4eaa363e4423a823b8f4c804d2a531dd246905cf48d0cb001b59f1e1e936bd7b755424d69e5037f4d631fe6c8ea8799cb2d60c4a3fcf2982625d0cc86 diff --git a/dev-python/textual/metadata.xml b/dev-python/textual/metadata.xml index 5e66dc8605..35709d6f1a 100644 --- a/dev-python/textual/metadata.xml +++ b/dev-python/textual/metadata.xml @@ -8,5 +8,6 @@ textual Textualize/textual + https://textual.textualize.io/ diff --git a/dev-python/textual/textual-0.14.0.ebuild b/dev-python/textual/textual-0.14.0.ebuild deleted file mode 100644 index ae054bf68e..00 --- a/dev-python/textual/textual-0.14.0.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..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 -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -# KEYWORDS="~amd64" # If set, can not commit because of dev-python/py-nanoid and dev-python/mkdocs-blog-plugin -IUSE="doc" - -RDEPEND=" - dev-python/rich[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/importlib_metadata[${PYTHON_USEDEP}] - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/pytest-syrupy[${PYTHON_USEDEP}] - dev-python/py-nanoid[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/time-machine[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) - doc? ( - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/mkdocs[${PYTHON_USEDEP}] - dev-python/mkdocs-exclude[${PYTHON_USEDEP}] - dev-python/mkdocs-mkdocstrings[${PYTHON_USEDEP}] - dev-python/mkdocs-mkdocstrings-python[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-material-extensions[${PYTHON_USEDEP}] - dev-python/mkdocs-blog-plugin[${PYTHON_USEDEP}] - dev-python/mkdocs-rss-plugin[${PYTHON_USEDEP}] - dev-python/mkdocs-autorefs[${PYTHON_USEDEP}] - dev-python/py-nanoid[${PYTHON_USEDEP}] - ) -" -DEPEND=" - ${BDEPEND} - ${RDEPEND} -" - -distutils_enable_tests pytest - -python_prepare_all() { - # MkDocs need git repo - if use doc; then - git init -b temp || die - git config user.email "y...@example.com" || die - git config user.name "Your Name" || die - git add . || die - git commit -m 'init' -q || die - fi - distutils-r1_python_prepare_all -} - -python_install() { - if use doc; then - mkdocs build --config-file mkdocs-common.yml - einstalldocs site - fi - distutils-r1_python_install -} - -python_test() { - # Those tests ask to press keys - local EPYTEST_IGNORE="tests/snapshot_tests/test_snapshots.py" - epytest "${S}/tests" || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/textual/textual-0.36.0.ebuild b/dev-python/textual/textual-0.36.0.ebuild new file mode 100644 index 0
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual-dev/
commit: ed70cdd22d64a2c29f3b89e6d86517dbc86178ab Author: Henri Gasc eurecom fr> AuthorDate: Wed Sep 6 22:02:05 2023 + Commit: David Roman gmail com> CommitDate: Wed Sep 6 22:02:05 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed70cdd2 dev-python/textual-dev: new package, add 1.1.0 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual-dev/Manifest | 1 + dev-python/textual-dev/metadata.xml | 13 dev-python/textual-dev/textual-dev-1.1.0.ebuild | 42 + 3 files changed, 56 insertions(+) diff --git a/dev-python/textual-dev/Manifest b/dev-python/textual-dev/Manifest new file mode 100644 index 00..86642fefd5 --- /dev/null +++ b/dev-python/textual-dev/Manifest @@ -0,0 +1 @@ +DIST textual-dev-1.1.0.gh.tar.gz 70381 BLAKE2B 4fa7ba78b596ca075f614d1d9fb62a05a4225c2016692e4b3dafcc116bbee6e9d3d685f80c057987a9e9fdfcca913b1cb141b4ab67c2c4cfbe87f645cf77e8fc SHA512 ce2cd1e6c3761d3e8ff680b55e6ca77b3aa0ba6ff18f1a901cf412b3cc7281d5028f15e30603d7a5fe9b74d3a962deda25a788035d82b4bff3ce6b5ab8a22c59 diff --git a/dev-python/textual-dev/metadata.xml b/dev-python/textual-dev/metadata.xml new file mode 100644 index 00..eddcc4360e --- /dev/null +++ b/dev-python/textual-dev/metadata.xml @@ -0,0 +1,13 @@ + +https://www.gentoo.org/dtd/metadata.dtd'> + + + g...@eurecom.fr + Gasc Henri + + + textual-dev + Textualize/textual-dev + https://textual.textualize.io/ + + diff --git a/dev-python/textual-dev/textual-dev-1.1.0.ebuild b/dev-python/textual-dev/textual-dev-1.1.0.ebuild new file mode 100644 index 00..b1e705cfbe --- /dev/null +++ b/dev-python/textual-dev/textual-dev-1.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +hash_commit="4e742d7cf4cdc7e2d8a9a768305fd9f7060b6b74" + +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/${hash_commit}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${hash_commit}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}] + >=dev-python/click-8.1.2[${PYTHON_USEDEP}] + dev-python/importlib-metadata[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.0.3[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + >=dev-python/textual-0.32.0[${PYTHON_USEDEP}] + =dev-python/typing-extensions-4*[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + ${RDEPEND} + =dev-python/pytest-aiohttp-1*[${PYTHON_USEDEP}] + =dev-python/time-machine-2*[${PYTHON_USEDEP}] + ) +" + +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/
commit: 81cb9e7d46fa58537c50e92fe58fb386e38f4755 Author: Henri Gasc eurecom fr> AuthorDate: Sat Mar 11 14:34:24 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Sun Mar 12 17:37:46 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81cb9e7d dev-python/textual: Update atom, allow tests Closes: https://bugs.gentoo.org/893386 Signed-off-by: Henri Gasc eurecom.fr> dev-python/textual/Manifest | 2 +- dev-python/textual/textual-0.10.1.ebuild | 35 -- dev-python/textual/textual-0.14.0.ebuild | 82 3 files changed, 83 insertions(+), 36 deletions(-) diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 00cd6ba2b..bdae15212 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST v0.10.1.gh.tar.gz 24509468 BLAKE2B 12747e3d602087d848687b8fe4fcd230c2dc842a50a808d103bfa6eff6bd71393cd0ec9a0ef3bdb46f1f887cc1c32a2d8d44041842c30f46440e2135dc8ae433 SHA512 1b8e584dc2872a5067bcb7e1568c77c92d431344bc2e244a222f00699468fd0153c78e8dc91c4e2b9c0149d4248bddb7d37d9eee3e68e4c334abb3eee951 +DIST textual-0.14.0.gh.tar.gz 25273607 BLAKE2B 9ce16bcb6e4fc5e3dea432f7a15086f5edef1740d9a0f55f6eeabf373fd7e64d0a3b06c277d1e61020def66b2d1d7d2b8f095747583b3a80da06c1103b198fe1 SHA512 1830546f8b07078f94525127f6a99771e54e29a9c4a217fda59f9b9de0fc85e893014af0d1a0b79fab4c237a76114516513662f67ce0203e72d2cba7f4f1bec7 diff --git a/dev-python/textual/textual-0.10.1.ebuild b/dev-python/textual/textual-0.10.1.ebuild deleted file mode 100644 index 031e2a1b2..0 --- a/dev-python/textual/textual-0.10.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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 diff --git a/dev-python/textual/textual-0.14.0.ebuild b/dev-python/textual/textual-0.14.0.ebuild new file mode 100644 index 0..6a188c7f5 --- /dev/null +++ b/dev-python/textual/textual-0.14.0.ebuild @@ -0,0 +1,82 @@ +# 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 -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +# KEYWORDS="~amd64" # If set, can not commit because of dev-python/py-nanoid and dev-python/mkdocs-blog-plugin +IUSE="doc" + +RDEPEND=" + dev-python/rich[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/importlib_metadata[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/pytest-syrupy[${PYTHON_USEDEP}] + dev-python/py-nanoid[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) + doc? ( + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/mkdocs[${PYTHON_USEDEP}] + dev-python/mkdocs-exclude[${PYTHON_USEDEP}] + dev-python/mkdocs-mkdocstrings[${PYTHON_USEDEP}] + dev-python/mkdocs-mkdocstrings-python[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocs-material-extensions[${PYTHON_USEDEP}] + dev-python/mkdocs-blog-plugin[${PYTHON_USEDEP}] + dev-python/mkdocs-rss-plugin[${PYTHON_USEDEP}] + dev-python/mkdocs-autorefs[${PYTHON_USEDEP}] + dev-python/py-nanoid[${PYTHON_USEDEP}] + ) +" +DEPEND=" + ${BDEPEND} + ${RDEPEND} +" + +distutils_enable_tests pytest + +python_prepare_all() { + # MkDocs need git repo + if use doc; then + git in
[gentoo-commits] repo/proj/guru:master commit in: dev-python/textual/
commit: 502289b0c5cb780621ded93259673aae91d30981 Author: Henri Gasc eurecom fr> AuthorDate: Sun Feb 5 14:38:39 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Sun Feb 5 15:23:18 2023 + 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 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 0..00cd6ba2b --- /dev/null +++ b/dev-python/textual/Manifest @@ -0,0 +1 @@ +DIST v0.10.1.gh.tar.gz 24509468 BLAKE2B 12747e3d602087d848687b8fe4fcd230c2dc842a50a808d103bfa6eff6bd71393cd0ec9a0ef3bdb46f1f887cc1c32a2d8d44041842c30f46440e2135dc8ae433 SHA512 1b8e584dc2872a5067bcb7e1568c77c92d431344bc2e244a222f00699468fd0153c78e8dc91c4e2b9c0149d4248bddb7d37d9eee3e68e4c334abb3eee951 diff --git a/dev-python/textual/metadata.xml b/dev-python/textual/metadata.xml new file mode 100644 index 0..5e66dc860 --- /dev/null +++ b/dev-python/textual/metadata.xml @@ -0,0 +1,12 @@ + +https://www.gentoo.org/dtd/metadata.dtd'> + + + g...@eurecom.fr + Gasc Henri + + + textual + Textualize/textual + + 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 0..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