From efd2e0bc2c2479b69ba2b2fea3d5ae06b15aa725 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 11 Jan 2024 20:52:27 +0000 Subject: Adding metadata --- dev-python/GitPython/GitPython-3.1.41.ebuild | 2 +- .../NSKeyedUnArchiver/NSKeyedUnArchiver-1.5.ebuild | 4 +- dev-python/adb-shell/Manifest | 2 +- dev-python/fonttools/Manifest | 1 + dev-python/fonttools/fonttools-4.47.2.ebuild | 98 ++++++++++++++++++++++ dev-python/google-auth/Manifest | 1 + dev-python/google-auth/google-auth-2.26.2.ebuild | 60 +++++++++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.92.8.ebuild | 90 ++++++++++++++++++++ dev-python/jinja/Manifest | 1 - dev-python/jinja/jinja-3.1.2.ebuild | 59 ------------- dev-python/jinja/jinja-3.1.3.ebuild | 2 +- dev-python/jupyter-server/Manifest | 1 + .../jupyter-server/jupyter-server-2.12.4.ebuild | 76 +++++++++++++++++ dev-python/langdetect/Manifest | 2 + dev-python/langdetect/metadata.xml | 10 ++- dev-python/nbconvert/Manifest | 1 + dev-python/nbconvert/nbconvert-7.14.1.ebuild | 74 ++++++++++++++++ dev-python/protobuf-python/Manifest | 2 +- .../protobuf-python/protobuf-python-4.25.0.ebuild | 57 ------------- .../protobuf-python/protobuf-python-4.25.2.ebuild | 57 +++++++++++++ dev-python/rpmautospec-core/Manifest | 3 +- .../rpmautospec-core/rpmautospec-core-0.1.2.ebuild | 26 ------ .../rpmautospec-core/rpmautospec-core-0.1.3.ebuild | 26 ------ .../rpmautospec-core/rpmautospec-core-0.1.4.ebuild | 26 ++++++ dev-python/setuptools/setuptools-69.0.2-r1.ebuild | 4 +- dev-python/setuptools/setuptools-69.0.3.ebuild | 6 +- dev-python/sphinx-celery/Manifest | 1 + .../sphinx-celery/sphinx-celery-2.1.0.ebuild | 24 ++++++ dev-python/sphinxext-opengraph/Manifest | 2 +- .../sphinxext-opengraph-0.9.0.ebuild | 46 ---------- .../sphinxext-opengraph-0.9.1.ebuild | 46 ++++++++++ dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild | 2 +- dev-python/textual-dev/Manifest | 2 +- dev-python/textual-dev/textual-dev-1.2.0.ebuild | 42 ---------- dev-python/textual-dev/textual-dev-1.4.0.ebuild | 39 +++++++++ dev-python/textual/Manifest | 2 +- dev-python/textual/textual-0.44.0.ebuild | 51 ----------- dev-python/textual/textual-0.47.1.ebuild | 61 ++++++++++++++ dev-python/twisted/twisted-23.10.0.ebuild | 4 +- dev-python/unidecode/Manifest | 1 + dev-python/unidecode/unidecode-1.3.8.ebuild | 20 +++++ dev-python/urwid/Manifest | 2 +- dev-python/urwid/urwid-2.2.3.ebuild | 30 ------- dev-python/urwid/urwid-2.4.2.ebuild | 30 +++++++ 45 files changed, 734 insertions(+), 363 deletions(-) create mode 100644 dev-python/fonttools/fonttools-4.47.2.ebuild create mode 100644 dev-python/google-auth/google-auth-2.26.2.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.92.8.ebuild delete mode 100644 dev-python/jinja/jinja-3.1.2.ebuild create mode 100644 dev-python/jupyter-server/jupyter-server-2.12.4.ebuild create mode 100644 dev-python/nbconvert/nbconvert-7.14.1.ebuild delete mode 100644 dev-python/protobuf-python/protobuf-python-4.25.0.ebuild create mode 100644 dev-python/protobuf-python/protobuf-python-4.25.2.ebuild delete mode 100644 dev-python/rpmautospec-core/rpmautospec-core-0.1.2.ebuild delete mode 100644 dev-python/rpmautospec-core/rpmautospec-core-0.1.3.ebuild create mode 100644 dev-python/rpmautospec-core/rpmautospec-core-0.1.4.ebuild create mode 100644 dev-python/sphinx-celery/sphinx-celery-2.1.0.ebuild delete mode 100644 dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.0.ebuild create mode 100644 dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.1.ebuild delete mode 100644 dev-python/textual-dev/textual-dev-1.2.0.ebuild create mode 100644 dev-python/textual-dev/textual-dev-1.4.0.ebuild delete mode 100644 dev-python/textual/textual-0.44.0.ebuild create mode 100644 dev-python/textual/textual-0.47.1.ebuild create mode 100644 dev-python/unidecode/unidecode-1.3.8.ebuild delete mode 100644 dev-python/urwid/urwid-2.2.3.ebuild create mode 100644 dev-python/urwid/urwid-2.4.2.ebuild (limited to 'dev-python') diff --git a/dev-python/GitPython/GitPython-3.1.41.ebuild b/dev-python/GitPython/GitPython-3.1.41.ebuild index d19a1b0019ea..2282fe7d3d13 100644 --- a/dev-python/GitPython/GitPython-3.1.41.ebuild +++ b/dev-python/GitPython/GitPython-3.1.41.ebuild @@ -29,7 +29,7 @@ SRC_URI+=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc" RDEPEND=" dev-vcs/git diff --git a/dev-python/NSKeyedUnArchiver/NSKeyedUnArchiver-1.5.ebuild b/dev-python/NSKeyedUnArchiver/NSKeyedUnArchiver-1.5.ebuild index 12e43d0f508e..8beef4bb8add 100644 --- a/dev-python/NSKeyedUnArchiver/NSKeyedUnArchiver-1.5.ebuild +++ b/dev-python/NSKeyedUnArchiver/NSKeyedUnArchiver-1.5.ebuild @@ -4,6 +4,7 @@ EAPI=8 PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 pypi @@ -14,6 +15,3 @@ KEYWORDS="~amd64 ~x86" LICENSE="GPL-2" SLOT="0" - -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/adb-shell/Manifest b/dev-python/adb-shell/Manifest index 92a4f979913b..b02bd49af68b 100644 --- a/dev-python/adb-shell/Manifest +++ b/dev-python/adb-shell/Manifest @@ -1,2 +1,2 @@ DIST adb-shell-0.4.3.gh.tar.gz 75004 BLAKE2B c7e49766dfa70db60eb300f747957397c252325670b40d0d7355ae321558ac671bdcc5beb6b16876b79f7d803b933c1d26d41a5799b4fe058fbdb9739442389a SHA512 be6d5a86ab094af0191dccea816a6688ed8d0e33811efe810d6d6306e0ff30f2afddc8f51e48981eb0d767eb4f98ab0fbbac924b7340f217b7bfbbf800241e54 -DIST adb-shell-0.4.4.gh.tar.gz 75043 BLAKE2B 2327a99e2eaffa783a4cdcbeb5dccf55ed0bccbb15a9f4d7f56dee7042f7b8a40458a3e4ed6b76e2db94ba525b3e01de4eb5d7767671b54d1eba08aec98f3d83 SHA512 417f999408ce4b38f963b6ede651b8ae634a52163ddf8ad488a2e8e93f7d917e0fe022f6ecec44557dd70bb1383faeb322b53b0ef23aef4c8a4e104e39f6d253 +DIST adb-shell-0.4.4.gh.tar.gz 77869 BLAKE2B f10cfd62fee6a7f81ef47b91b32fc2ea53121c29388bcd6722c2c30276f0f81d69dd93c63c9bb376009dda1ce0b0163a675672e882824619e6b858b5af44b27b SHA512 55533cdc04b5ff78bd5edbbf784a624ba33885933061fd7399194b529ce1d93deb8fea358909c6aee0133e95e4d6865be07a5ad48a612bb01686ae9f0e29565b diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 99fb4d1ac573..bdd980c860cd 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,2 +1,3 @@ DIST fonttools-4.46.0.gh.tar.gz 3796675 BLAKE2B 5e8affb809cc2a66208636557c2bcfac58abbbd2cbb921923686153138ef011db1f00edafdf2b998c9d26924ceb6b3038b65d593892a379b7c72fdaf8df10304 SHA512 67e805f11b47d9bebd9a538aa775c109c81b6ab85b66cd479b7c8c0c222420cb5a5e30d993c04bd9b091ba457b3fb3673ff217ecf61feb40e189c60fa6d6c6d8 DIST fonttools-4.47.0.gh.tar.gz 3810582 BLAKE2B a7821bca4507ba5638db537ba141bf7d1e2d5d23522f55766db0bc384ae366071e0848276285cff4056ffda513d94622f9b1154a43c2d8b341728790813b8124 SHA512 4a9a39b53248814dc2fcf648af5d7c8c79124a547d259571addb97c1e7181df7f20767baf5d2bb90f6c30790dd05c93c6bfac3281cedb91c73c45ad49039ee9b +DIST fonttools-4.47.2.gh.tar.gz 3813471 BLAKE2B 7c478395e1c0cad52a29bc504bac235c4e198284a7f1f4b32e9db0704d3eeb56ea69d563a862239396fd1e67f47f168ae2f42676fe5ba3f9e1c356de8c5039f2 SHA512 03b6411c72ce38eeaa6401440d9612a37cd2ff6a686d7c6dbe7328a876f9e4369c06edea184ea72c1002b26b956d0196c241e40fe28b0ccf42f616ce9a700a07 diff --git a/dev-python/fonttools/fonttools-4.47.2.ebuild b/dev-python/fonttools/fonttools-4.47.2.ebuild new file mode 100644 index 000000000000..c4dcb3b2034d --- /dev/null +++ b/dev-python/fonttools/fonttools-4.47.2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # flaky test + Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables + ) + + if [[ ${EPYTHON} == pypy3 ]] && + has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" && + { + has_version " - - gentoo-guru-overlay + + marcin.deranek@slonko.net + Marcin Deranek + + + https://github.com/Mimino666/langdetect/issues + + slonko-overlay \ No newline at end of file diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index fd0c6ba47581..78d20b0c8b3f 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,2 +1,3 @@ DIST nbconvert-7.13.1.tar.gz 851593 BLAKE2B aa9895257710b2e759c25f91723a69cdd1a4c27e7910c423ed8818497ae78d6a5896dc23333bc312a51d022d3de51a3afc0aecfc03e5ae9814dcea508b79e928 SHA512 33fd1bd41ea4b321875ac6a698b1bfd61e69ded672ee0e7ba4d1dd0a5bff7150f56f18f68212dd4a9e997c9642d83c237354fa8a5a62be492d8a292440cbc2d4 DIST nbconvert-7.14.0.tar.gz 851778 BLAKE2B dcad57a56b1d7070188eb864668e1a12f26fb45ad88b0c566b26bc262bef250559bc4e011280c792d82c614330f38816f5f8fc9c3035d5d218aff8c312b78df6 SHA512 140c335c1ad5fa8419f273d102e2f39179edadff96caaba78f3b87118ee7690dee2978981d972ddd06ed3a67182f7d24467f8d0ad44760d1f0d74a2f5dd7ac35 +DIST nbconvert-7.14.1.tar.gz 852119 BLAKE2B 22248b507220e7fc71fca95a2d43646c9365adc89ec89c2f840705937f2715a070c2d509301cf9252fd0489e2041f0c6f1df38c928ed5e449a3674a2f1639873 SHA512 91e29460f746ad6a9db898e27de755c469ba0011d21737f2149d8475c9dcc4442178802b79f890424666d81108a416c1727eaf3de7db13370713ec9cd9b77262 diff --git a/dev-python/nbconvert/nbconvert-7.14.1.ebuild b/dev-python/nbconvert/nbconvert-7.14.1.ebuild new file mode 100644 index 000000000000..dd5389e68114 --- /dev/null +++ b/dev-python/nbconvert/nbconvert-7.14.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Converting Jupyter Notebooks" +HOMEPAGE=" + https://nbconvert.readthedocs.io/ + https://github.com/jupyter/nbconvert/ + https://pypi.org/project/nbconvert/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] + dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] + =dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.7[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.1[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + >=dev-python/ipywidgets-7.5[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name + tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor + # crazy qtweb* stuff, perhaps permissions + tests/exporters/test_qtpdf.py::TestQtPDFExporter::test_export + tests/exporters/test_qtpng.py::TestQtPNGExporter::test_export + ) + + # virtx implies nonfatal, make it explicit to avoid confusion + nonfatal epytest || die +} + +pkg_postinst() { + if ! has_version virtual/pandoc; then + einfo "Pandoc is required for converting to formats other than Python," + einfo "HTML, and Markdown. If you need this functionality, install" + einfo "app-text/pandoc or app-text/pandoc-bin." + fi +} diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest index bb7942b4cdd5..ea89a3925b38 100644 --- a/dev-python/protobuf-python/Manifest +++ b/dev-python/protobuf-python/Manifest @@ -4,5 +4,5 @@ DIST protobuf-24.1.tar.gz 5178595 BLAKE2B d45f4961620685515e815849bf2a83a4cfc435 DIST protobuf-24.2.tar.gz 5179130 BLAKE2B a1e3da4e95072391fa4abf671a9eb77806f1b3864219e1e0c024156558e2ecd9e3cabee367efaf15626a199ae413dced3f29f601820611d37dd733c92ffc06c0 SHA512 fee9f5fc0e615e49347320e37b560112f43d13c63050701e25b3348e9d4aa59e80c7d810f7da12764b1b9eeee8efa35be7743c5ebbb0a12c78f5924f1544c356 DIST protobuf-24.3.tar.gz 5179711 BLAKE2B 9473a1a9489d4cb92fb7ee56ac51a891cd6de005607be3f5a385957318045d2d8e6bdaa9ffa3c3f88d376b1d9a499ba9560054ae87fe031afffb62b3292ef365 SHA512 2c1a381f81bb2c0afa3a2ff6681f9f37bc7aef3a3882c371eea7284f4e9524c2a0c834de6c7f681706890eee2220a42442367b8f8dc8370f182fab9e2c37cfd2 DIST protobuf-24.4.tar.gz 5180235 BLAKE2B 1c7e9035d9f3810886baaea7d679414c882463c79828c99dd8895a9549638c1ca17f9ab3b38d461019f3e1412d9cb9584b995b1da99866eb6fdbb8bdeb063e6f SHA512 52b6ab5587d03cbd1f35cf3cdc388e1710fa50f3031559ac53cf754965407ded7602cdead56080444ab695588112cc3391a1d7fdd5e565d90d0af7ad08706315 -DIST protobuf-25.0.tar.gz 5873954 BLAKE2B 4886d2a00bc3d15bdde967586633b512f0c5e693f33a08946c7aa1ef44692153e221c7993b92ff01307761472417b9bc85ed684aee670c09a83d3a4672e092c1 SHA512 4dc0b483533cefaf92610524bf131aeff448d4e176a615643804f49cdfbd8efe7d8fdb60cd6e1ed70ffe6e7f1ad00657957f876458cdb093361049e2c83846ad DIST protobuf-25.1.tar.gz 5878124 BLAKE2B a0b917e4518b07b221afd01e801e45b5b6fa35c7ccf8c21120d6a63f7174e53cc37d0516b1802d9243f8bb37b72b7f460a36dcbf0fffb09e011b05315c53efc3 SHA512 d2fad2188118ced2cd951bdb472d72cc9e9b2158c88eeca652c76332a884b5b5b4b58628f7777272fa693140753823584ea9c7924f1655b1d5a363f59bdf7a4c +DIST protobuf-25.2.tar.gz 5878387 BLAKE2B 1ee7a48d3a481f523ff240c79e8cacb39b6a7e2c671279812cbffd5ce9be595034461fba41f03bed363133118c1b92bd14bcfd8c4e46ac6368e6407a23fb02ea SHA512 66f0b177eae0e2e40b8b17c8f411cd9dec5355dcfc145b8a79426e6367babcc28b9a8078bbe4ba2de47a82811a2e1a89d36955d6fa0c8d391cfeada4eb160fdb diff --git a/dev-python/protobuf-python/protobuf-python-4.25.0.ebuild b/dev-python/protobuf-python/protobuf-python-4.25.0.ebuild deleted file mode 100644 index c29c4481514d..000000000000 --- a/dev-python/protobuf-python/protobuf-python-4.25.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2023 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 flag-o-matic - -PARENT_PN="${PN/-python/}" -PARENT_PV="$(ver_cut 2-)" -PARENT_P="${PARENT_PN}-${PARENT_PV}" - -SRC_URI=" - https://github.com/protocolbuffers/protobuf/archive/v${PARENT_PV}.tar.gz -> ${PARENT_P}.tar.gz -" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos" - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://developers.google.com/protocol-buffers/ - https://pypi.org/project/protobuf/ -" - -LICENSE="BSD" -SLOT="0/25.0.0" - -S="${WORKDIR}/${PARENT_P}/python" - -BDEPEND=" -" -DEPEND=" - ${PYTHON_DEPS} -" -RDEPEND=" - ${BDEPEND} - dev-libs/protobuf:${SLOT} -" - -distutils_enable_tests setup.py - -python_prepare_all() { - eapply_user - - distutils-r1_python_prepare_all -} - -src_configure() { - append-cxxflags -std=c++17 - DISTUTILS_ARGS=( --cpp_implementation ) -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die -} diff --git a/dev-python/protobuf-python/protobuf-python-4.25.2.ebuild b/dev-python/protobuf-python/protobuf-python-4.25.2.ebuild new file mode 100644 index 000000000000..d32ad79fc7fb --- /dev/null +++ b/dev-python/protobuf-python/protobuf-python-4.25.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 2023-2024 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 flag-o-matic + +PARENT_PN="${PN/-python/}" +PARENT_PV="$(ver_cut 2-)" +PARENT_P="${PARENT_PN}-${PARENT_PV}" + +SRC_URI=" + https://github.com/protocolbuffers/protobuf/archive/v${PARENT_PV}.tar.gz -> ${PARENT_P}.tar.gz +" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +DESCRIPTION="Google's Protocol Buffers - Python bindings" +HOMEPAGE=" + https://developers.google.com/protocol-buffers/ + https://pypi.org/project/protobuf/ +" + +LICENSE="BSD" +SLOT="0/25.2.0" + +S="${WORKDIR}/${PARENT_P}/python" + +BDEPEND=" +" +DEPEND=" + ${PYTHON_DEPS} +" +RDEPEND=" + ${BDEPEND} + dev-libs/protobuf:${SLOT} +" + +distutils_enable_tests setup.py + +python_prepare_all() { + eapply_user + + distutils-r1_python_prepare_all +} + +src_configure() { + append-cxxflags -std=c++17 + DISTUTILS_ARGS=( --cpp_implementation ) +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die +} diff --git a/dev-python/rpmautospec-core/Manifest b/dev-python/rpmautospec-core/Manifest index d1eda4e501b3..cde952efd750 100644 --- a/dev-python/rpmautospec-core/Manifest +++ b/dev-python/rpmautospec-core/Manifest @@ -1,2 +1 @@ -DIST rpmautospec_core-0.1.2.tar.gz 6605 BLAKE2B eabe5ab6115234692fc5c628de22bf060ea1704f7866249a2a5ccdc868a39abb3cbddfac74df966971b2168dd808c161b6438d2cb1067c4e92377b0f8a8bac52 SHA512 adbc1c9b7749a6a3ae9fa615416c1083ef7c298fc3396c54231d170f7d113aacc3c1fb6cf3e4cb52ce42f2384cb4d95294bdff318facc9d9c62886a88fecb007 -DIST rpmautospec_core-0.1.3.tar.gz 6569 BLAKE2B a7a25d4fa425e873c776a59e58dd58886fdf759650b5f64259d27156d8efdc6bb4330afcbe01d59d1c36df8c96f9268e5699393e89469008cf77b8c64fa2a7f1 SHA512 2399580ecf6e4369d3c625106fd28f79cff7160c1799aa0168e8fe37a5b9b57231661cb3d6f569ceddb5b462f529038fc93282822108dcea94223e0d63ee347f +DIST rpmautospec_core-0.1.4.tar.gz 6786 BLAKE2B d2d46d59070a03c216e50b8ab5bc63c811f02c5effbf6beb562fda3efac7ffc807138bcedf6d358a5dcc5d4394b6cf53fb5d8b618884af994e5b42471b5ecdda SHA512 ae72a27516c27d96f5e42da555a2d842aa1d8f3e9747598a558ab30847c1986369eacb4312ff8f884c5b8ae3c320d7a56d551e76627fa86d923929471d490c7f diff --git a/dev-python/rpmautospec-core/rpmautospec-core-0.1.2.ebuild b/dev-python/rpmautospec-core/rpmautospec-core-0.1.2.ebuild deleted file mode 100644 index dd3aa1668271..000000000000 --- a/dev-python/rpmautospec-core/rpmautospec-core-0.1.2.ebuild +++ /dev/null @@ -1,26 +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_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core functionality used by rpmautospec" -HOMEPAGE=" - https://github.com/fedora-infra/rpmautospec-core/ - https://pypi.org/project/rpmautospec-core/ -" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64" - -distutils_enable_tests pytest - -python_test() { - # Disable pytest-cov - epytest -o addopts= -} diff --git a/dev-python/rpmautospec-core/rpmautospec-core-0.1.3.ebuild b/dev-python/rpmautospec-core/rpmautospec-core-0.1.3.ebuild deleted file mode 100644 index dd3aa1668271..000000000000 --- a/dev-python/rpmautospec-core/rpmautospec-core-0.1.3.ebuild +++ /dev/null @@ -1,26 +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_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core functionality used by rpmautospec" -HOMEPAGE=" - https://github.com/fedora-infra/rpmautospec-core/ - https://pypi.org/project/rpmautospec-core/ -" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64" - -distutils_enable_tests pytest - -python_test() { - # Disable pytest-cov - epytest -o addopts= -} diff --git a/dev-python/rpmautospec-core/rpmautospec-core-0.1.4.ebuild b/dev-python/rpmautospec-core/rpmautospec-core-0.1.4.ebuild new file mode 100644 index 000000000000..512e4e66967c --- /dev/null +++ b/dev-python/rpmautospec-core/rpmautospec-core-0.1.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core functionality used by rpmautospec" +HOMEPAGE=" + https://github.com/fedora-infra/rpmautospec-core/ + https://pypi.org/project/rpmautospec-core/ +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +python_test() { + # Disable pytest-cov + epytest -o addopts= +} diff --git a/dev-python/setuptools/setuptools-69.0.2-r1.ebuild b/dev-python/setuptools/setuptools-69.0.2-r1.ebuild index 76bb7f5b5795..9cdc7e46c27f 100644 --- a/dev-python/setuptools/setuptools-69.0.2-r1.ebuild +++ b/dev-python/setuptools/setuptools-69.0.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep @@ -47,9 +47,7 @@ BDEPEND=" dev-python/pip[${PYTHON_USEDEP}] dev-python/pip-run[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] >=dev-python/virtualenv-20[${PYTHON_USEDEP}] diff --git a/dev-python/setuptools/setuptools-69.0.3.ebuild b/dev-python/setuptools/setuptools-69.0.3.ebuild index f79cebd832dd..ff4ddfba02b2 100644 --- a/dev-python/setuptools/setuptools-69.0.3.ebuild +++ b/dev-python/setuptools/setuptools-69.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep @@ -47,9 +47,7 @@ BDEPEND=" dev-python/pip[${PYTHON_USEDEP}] dev-python/pip-run[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] >=dev-python/virtualenv-20[${PYTHON_USEDEP}] @@ -111,5 +109,5 @@ python_test() { ) local EPYTEST_XDIST=1 - epytest setuptools + epytest -o tmp_path_retention_policy=all setuptools } diff --git a/dev-python/sphinx-celery/Manifest b/dev-python/sphinx-celery/Manifest index ff08fe7356c4..0715199e3548 100644 --- a/dev-python/sphinx-celery/Manifest +++ b/dev-python/sphinx-celery/Manifest @@ -1 +1,2 @@ DIST sphinx_celery-2.0.0.tar.gz 16203 BLAKE2B 439a9cd20e09071491338016ba83514e37c7cdfa34966e93e3c6062ed94cdaa0750351a0de9fc7b27be1b7e557b5625be73f01f1de59d15f36335e9d46d35cae SHA512 1beca69fe9b56d04cd3c42aa9244d50a364a860e9cf53f94897c0f690b8465f4e2a7b10ed6d310d3fa706d86f5882a338cd982a3ac7cec36586269756e9128a5 +DIST sphinx_celery-2.1.0.tar.gz 16612 BLAKE2B 8fc50186f589e00b26b7550f28ee4b4e863b58ccde682a53a70e90d53d4cd31777f6363a8d2dc58000db86bff0cdb957b74234d15d68c189cb9371c6e4b06cd0 SHA512 63abdf8de1f30550172f15c41eb51c1f200b83eaacda1b6c209138d9a4057fa6c0f711904fe11611ea08d18e957b3966038a0b6b4ca4d5d7cdbbaeab9bab601a diff --git a/dev-python/sphinx-celery/sphinx-celery-2.1.0.ebuild b/dev-python/sphinx-celery/sphinx-celery-2.1.0.ebuild new file mode 100644 index 000000000000..392b1263ad6a --- /dev/null +++ b/dev-python/sphinx-celery/sphinx-celery-2.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Celery Sphinx Theme and Utilities" +HOMEPAGE=" + https://github.com/celery/sphinx_celery/ + https://pypi.org/project/sphinx-celery/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/sphinx-2.0.0[${PYTHON_USEDEP}] +" diff --git a/dev-python/sphinxext-opengraph/Manifest b/dev-python/sphinxext-opengraph/Manifest index aa4711c3ba3c..aae23a22aa96 100644 --- a/dev-python/sphinxext-opengraph/Manifest +++ b/dev-python/sphinxext-opengraph/Manifest @@ -1 +1 @@ -DIST sphinxext-opengraph-0.9.0.tar.gz 1034489 BLAKE2B 86e268d30ddf679f97d646b23130d13c527ab89105359dfce901198a9103303b1e740bb9767dcf26eb3ed89329550aa328e68a07d49c7658b93934ac8b799e1a SHA512 f7c06b71336169258c20c3c2ce445ab95a3827de1adc51b73f918058c7373aec137aae658193998f8b7876e47662b4a3a48d56e17d28f88a14a05cc10775a3b8 +DIST sphinxext-opengraph-0.9.1.tar.gz 1034511 BLAKE2B 3967c98a53f0e2a55be659741efe29ecc167413de570ba58d54cbe5f14679f1f5ba9613e4579372fb38ff602a7ef4744a6d00793bec5ca0eda800cf6f1e1ba4e SHA512 0f23e5269baccd675d67588597175adf0322942bf0c8ca76b4f22bd14b4574f1f4d2328e476293253bc9b92aec7b9311c17ac301b762ec3d4c2a6c3cd072cb91 diff --git a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.0.ebuild b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.0.ebuild deleted file mode 100644 index 93bd94ba270d..000000000000 --- a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -hash="e261d13676a53f1909ff38edd41a5d83df84dace2625b2fe9e8a679d4ef3" - -DESCRIPTION="Sphinx extension to generate unique OpenGraph metadata" -HOMEPAGE="https://github.com/wpilibsuite/sphinxext-opengraph" -SRC_URI="https://files.pythonhosted.org/packages/e7/b0/${hash}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc" - -RDEPEND=" - >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] -" -BDEPEND=" - doc? ( - media-fonts/roboto - dev-python/furo[${PYTHON_USEDEP}] - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/sphinx-design[${PYTHON_USEDEP}] - ) - test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest - -python_compile_all() { - use doc && emake -C docs man -} - -python_install_all() { - distutils-r1_python_install_all - use doc && doman "${S}/docs/build/man/${PN}.1" -} diff --git a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.1.ebuild b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.1.ebuild new file mode 100644 index 000000000000..4bd172134ce6 --- /dev/null +++ b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +hash="4302fe33c88dbfb572e2c1cad26735164c23f16fb8dba94ddb1867d0ef06" + +DESCRIPTION="Sphinx extension to generate unique OpenGraph metadata" +HOMEPAGE="https://github.com/wpilibsuite/sphinxext-opengraph" +SRC_URI="https://files.pythonhosted.org/packages/1c/5b/${hash}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND=" + >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] +" +BDEPEND=" + doc? ( + media-fonts/roboto + dev-python/furo[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx-design[${PYTHON_USEDEP}] + ) + test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +python_compile_all() { + use doc && emake -C docs man +} + +python_install_all() { + distutils-r1_python_install_all + use doc && doman "${S}/docs/build/man/${PN}.1" +} diff --git a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild index 7ec110e60c39..1e7ec94fb4ab 100644 --- a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild +++ b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/textual-dev/Manifest b/dev-python/textual-dev/Manifest index 24330810b3db..46d729dc02e2 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.2.0.ebuild deleted file mode 100644 index 73294e27f4b2..000000000000 --- a/dev-python/textual-dev/textual-dev-1.2.0.ebuild +++ /dev/null @@ -1,42 +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_{8,9,10,11,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}" - -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 diff --git a/dev-python/textual-dev/textual-dev-1.4.0.ebuild b/dev-python/textual-dev/textual-dev-1.4.0.ebuild new file mode 100644 index 000000000000..5079edadcb9c --- /dev/null +++ b/dev-python/textual-dev/textual-dev-1.4.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +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" +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 diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 216cbf7bfc97..14e206e3aa64 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 2244193ff7ab..000000000000 --- 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_{8,9,10,11,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 000000000000..83ae2d8f3988 --- /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_{8,9,10,11,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}] +