diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-11 20:40:16 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-11 20:40:16 +0000 |
| commit | dd884e71ef724af1df4a41a034360f78e0e22b1f (patch) | |
| tree | f2fd8952ecca0107075051a25d8c94851ae16e3c /dev-python | |
| parent | 7c83aaddb7957de1f250e47856d2648a3098cff4 (diff) | |
| download | baldeagleos-repo-dd884e71ef724af1df4a41a034360f78e0e22b1f.tar.gz baldeagleos-repo-dd884e71ef724af1df4a41a034360f78e0e22b1f.tar.xz baldeagleos-repo-dd884e71ef724af1df4a41a034360f78e0e22b1f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
25 files changed, 549 insertions, 15 deletions
diff --git a/dev-python/ansi2html/Manifest b/dev-python/ansi2html/Manifest index 9f3f47c56933..20e3345a3882 100644 --- a/dev-python/ansi2html/Manifest +++ b/dev-python/ansi2html/Manifest @@ -1 +1,2 @@ DIST ansi2html-1.8.0.tar.gz 44146 BLAKE2B 66672927a64ad38dce0b0819fabc3778f6aba82d176e992630a8db076988a21af8dd445306b8bb580f1539b35044b95de749d6bfb65c27f9b431e4cb6bd562c7 SHA512 cbdda41f206ced5b19761a1ff9747acc6cadca3a5a2f58c97c6073db7d517e59fea7601bba28a8e7e105f3c0c9c4d78ca4f242100cbded6c8a9ca2d598de0ab4 +DIST ansi2html-1.9.1.tar.gz 44288 BLAKE2B ff83d2a9fe74766324515e7ccde5c6d157f836d655c6c55a07f0b9c4ab5df9c8a840f0c35e752a3e24f3e12fbd73565c2906382d77c2daf5951e861e18bdcb46 SHA512 1ffeffdd4f861b809c424b5b9e7d07212aaf1b5ef483a2820f128f815002628c823b5701652b0770ed182f0585052f040b55fca5db31e4690be86c49553105b3 diff --git a/dev-python/ansi2html/ansi2html-1.9.1.ebuild b/dev-python/ansi2html/ansi2html-1.9.1.ebuild new file mode 100644 index 000000000000..2e266f2bb112 --- /dev/null +++ b/dev-python/ansi2html/ansi2html-1.9.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 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="Convert text with ANSI color codes to HTML" +HOMEPAGE=" + https://pypi.org/project/ansi2html/ + https://github.com/pycontribs/ansi2html/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +BDEPEND=" + >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index d22dd35c46d4..a04d2f7ec579 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn-lint-0.83.3.tar.gz 3683221 BLAKE2B 57e3d093eaabb4907cacd9908cadc1268600423e481316dab17da52f50472634e2114ab4069a9f68db440be1a76c4c96db9c53dd6991524bf2cd3699f8e5299b SHA512 6c47fcab3b077ea7ffc7f7fab695f69d2e4a00eb85c2db7889235b0b41b462a92293e538640df190871148ab6f779570385787bed161db0f65efa289b4b4803c DIST cfn-lint-0.83.4.tar.gz 3715966 BLAKE2B 5e30c43ae9fec958ef048eeafacb9d05a00732bd79446ef652f9b3d41f9bdd262b35b028c6a20a5f93ec46cc8da0e8adfad5d87129a5d591812a89c4ced0e619 SHA512 d3dc80ec99959c4112a7bd87bcab9f261542f25c4529df9a8e5745901e1dc4a8ca94bdec829f8042a7f94eba6021fe08975e06d4596993a7a319ac861897e2cc +DIST cfn-lint-0.83.5.tar.gz 3779609 BLAKE2B 7ef8032e53a430fbcd7407b9573956ddd09af02475c0ffc730c6e26cef6eef97ee770b974b5e109ab1759e33b1ec9bd8b17c94a218e0c041bb2b0c53cdd3df32 SHA512 bb27abff9161116fc485301397321922e56a8c0f8382d0d28b82671d754907d0bd80c1c90d03b98b745d90807c8c3f4ebffbb8a78f219b86a489094c2184f17e diff --git a/dev-python/cfn-lint/cfn-lint-0.83.5.ebuild b/dev-python/cfn-lint/cfn-lint-0.83.5.ebuild new file mode 100644 index 000000000000..f2ea9427d447 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.83.5.ebuild @@ -0,0 +1,65 @@ +# 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 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.81.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest index 3185ce5e3d2d..beb7688b5cfd 100644 --- a/dev-python/hatchling/Manifest +++ b/dev-python/hatchling/Manifest @@ -1 +1,2 @@ DIST hatch-hatchling-v1.18.0.gh.tar.gz 386992 BLAKE2B 9597d139ca0d59b82862a4b89208bf61ceb0859ed37e2f62c14f7f26550638716cd375082cae6ce0e233f92297b97015af5587144c2d801ecacdb15a07f32cf2 SHA512 e71e51fdace9b9aa276c2efba3a81a030ed934c21283057f83a6ce4a09f8feed8cd4386088280c9fe1381dd92e574daeda8c845a6a2cf6a015708126ca9788d7 +DIST hatch-hatchling-v1.19.0.gh.tar.gz 601176 BLAKE2B 1625e8a3da1158328c5aba5fbec6282cd6603ad34ed48ec4fd2ca3e5bd79141f4bb98f631d50cf9796fb1cbbd1274e4948d0a535a65499f7d0209111c323f043 SHA512 eacbe002e5905468c4374c72dd53fdc5ab4b22d8ea0ce6ca56a12c6bf97b67d5d711dbbaa85cf1a11995fac9fe42c99cf870cb6a46705ea738081ec689ac6468 diff --git a/dev-python/hatchling/hatchling-1.19.0.ebuild b/dev-python/hatchling/hatchling-1.19.0.ebuild new file mode 100644 index 000000000000..88c67270ca27 --- /dev/null +++ b/dev-python/hatchling/hatchling-1.19.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 + +TAG=${P/-/-v} +MY_P=hatch-${TAG} +DESCRIPTION="Modern, extensible Python build backend" +HOMEPAGE=" + https://pypi.org/project/hatchling/ + https://github.com/pypa/hatch/ +" +SRC_URI=" + https://github.com/pypa/hatch/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/backend + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# deps are listed in backend/src/hatchling/ouroboros.py +RDEPEND=" + >=dev-python/editables-0.3[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) + dev-python/trove-classifiers[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x EPYTEST_DESELECT=( + # these run pip to install stuff + tests/backend/dep/test_core.py::test_dependency_found + tests/backend/dep/test_core.py::test_extra_met + tests/backend/dep/test_core.py::test_extra_no_dependencies + tests/backend/dep/test_core.py::test_extra_unmet + tests/backend/dep/test_core.py::test_unknown_extra + tests/backend/dep/test_core.py::test_version_unmet + # broken if CARGO is set + tests/backend/builders/test_app.py::TestBuildBootstrap::test_no_cargo + ) + + # top-level "tests" directory contains tests both for hatch + # and hatchling + cd "${WORKDIR}/${MY_P}" || die + local -x PYTHONPATH="src:${PYTHONPATH}" + # sigh; standalone test suites are overrated, right? + echo "__version__ = '${PV}'" > src/hatch/_version.py || die + # tests mock cargo subprocess call but the backend raises if CARGO + # is not set and shutil.which() can't find it + local -x CARGO=cargo + epytest tests/backend +} diff --git a/dev-python/jupyter-server-terminals/Manifest b/dev-python/jupyter-server-terminals/Manifest index e8e5545fa08c..561326d9642d 100644 --- a/dev-python/jupyter-server-terminals/Manifest +++ b/dev-python/jupyter-server-terminals/Manifest @@ -1 +1,2 @@ DIST jupyter_server_terminals-0.4.4.tar.gz 29850 BLAKE2B 064876d7a10e7ff66da83e07d562abe53d609caeb27bcd7b7181d10c06af4406ee048b45b73092c8f3b0c10df40494eca1edb5234030154c63ea6a330f85a115 SHA512 5b1a6a9cfd550108be7f6664eac5ab7581d75e78a7dfc9825af2346b0d9b19f05543dcce010dafb9554c0782bf8e7929bf0ef96bdf2db392ab9b9ec1a3633fdd +DIST jupyter_server_terminals-0.5.0.tar.gz 30616 BLAKE2B b2cbfab34850cf64c7d0793dc8703d99a40f34437e5222cc310d888306ff8228ff4a04602666a174bed91eb22232e28bdd8963180b8a92c75b3190676d08e65e SHA512 398419590bfad09846dd4f283896962af772700f6bf43b2cd3c2516830a9693ce4f383a9e3620e9d5613985f4d60c0758fad8961e7ba023f7f5b73200679ee25 diff --git a/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.0.ebuild b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.0.ebuild new file mode 100644 index 000000000000..a2446625dab0 --- /dev/null +++ b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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 + +DESCRIPTION="A Jupyter Server Extension Providing Terminals" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server_terminals/ + https://pypi.org/project/jupyter-server-terminals/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/terminado[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/jupyter-server[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # Fails if shell is not bash + tests/test_terminal.py::test_terminal_create_with_cwd + tests/test_terminal.py::test_terminal_create_with_relative_cwd +) + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index f61a43ba4bd4..5441a4f6d1b1 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,3 +1,4 @@ DIST mkdocs-material-9.4.14.gh.tar.gz 14563700 BLAKE2B 313698c16f79cc11fc9aa2905313871605f683fad32073e956402728e0b51cbd2788947c11711eb1fc9a0addb8cdc1d7382703cc5a6684a72541f40a1afb699f SHA512 1102c1003562af2fc7126d85d8e5b0556cd240d6c56273f811947bbfc650fd7554b8b979ab9e14a43ed3dc44688c7ce277e28fdd4cbb6787b83b9f76d80a3bbf DIST mkdocs-material-9.5.0.gh.tar.gz 14621790 BLAKE2B 3c9f7b7cc656cd25953d021b2914884f2ede145b8c4cece0ec55013ee955a25d8ad4021de0abf3fd340b0bbc996ca42fe1391752febe7dad464da232c7d1892b SHA512 5c9b695877d14ce53fa66c1f4b4416e1d79ee227817b1a113406f83f37fd8d1fc122f5554c2159e24967864dd258329cfa564944f1ffbff863650a6ccad5af90 DIST mkdocs-material-9.5.1.gh.tar.gz 14622279 BLAKE2B 81df1c8f0d50ae32d7efdbaeda3b4825edd167d4290ba4b199dac3c04965e361707def8bee17bada2cd6ec86c28e36c2a16dfcd748b592fef10d0392e224a864 SHA512 b97948f54f37d0f365f515976857cad5717058f258f505f18f7000f02cc9a20a084832fe62e8f1f3fd51f360769535962116b7a221e5f054fa05ddfc8821db58 +DIST mkdocs-material-9.5.2.gh.tar.gz 14646245 BLAKE2B d6884fc3604b794296c2074a026c522df44fb3500a9109c61dcbdf7bd48133ababedfeacfa2f91c832c16480d767bd36afdd1bc4cf09b2d9ab43a4b95c79a5aa SHA512 26657000cab282babe136a6b85caff57cd979c1d2c83e6378f82a76fb3a5e4d57e0d120d641f7cb2e697b58a323e11ea17f346f0ed7958f10752cbb0c8918bd1 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.2.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.2.ebuild new file mode 100644 index 000000000000..31c55fa06872 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 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} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] +" +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest index 1a4a8abb1c00..690c4568c9c0 100644 --- a/dev-python/numexpr/Manifest +++ b/dev-python/numexpr/Manifest @@ -1 +1,2 @@ DIST numexpr-2.8.7.gh.tar.gz 118268 BLAKE2B eb4dec3a3fdf23617d499f4902022450de9b44fb99feff70b35443fb1797d3d0de31ae44841056651969a6ec4c47a1f1e060ac04b513b857fb47ccb82e04d677 SHA512 979b9df2bbb32b8f79aec0bb5b94e86c3d13c546aea7c9d81da76ab94fe93db0927dff16e497f4521f0c10df0243553ba6ee3f3b692493faac9a14f658044113 +DIST numexpr-2.8.8.gh.tar.gz 118241 BLAKE2B 409477cf69b64405359e86b11127fe31ccf6f940499fc5591498865fdef750a3321ff08ab5332caf0f11479927523d80699488f2985793a5f73f22b7467852bc SHA512 f89a2f04797ad4dffc3a591685e1a0e577912610d6b5359d2344a1a0a78873d951e95fa7c47833ab1008315467b861eb464442f85c06d1fe73f9743bcf358332 diff --git a/dev-python/numexpr/numexpr-2.8.8.ebuild b/dev-python/numexpr/numexpr-2.8.8.ebuild new file mode 100644 index 000000000000..b405b17d753b --- /dev/null +++ b/dev-python/numexpr/numexpr-2.8.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 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} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy" +HOMEPAGE=" + https://github.com/pydata/numexpr/ + https://pypi.org/project/numexpr/ +" +SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +DEPEND=" + >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + dev-python/packaging[${PYTHON_USEDEP}] +" + +python_test() { + pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || die + "${EPYTHON}" - <<-EOF || die "Tests failed with ${EPYTHON}" + import sys,numexpr + sys.exit(0 if numexpr.test().wasSuccessful() else 1) + EOF + pushd >/dev/null || die +} diff --git a/dev-python/numpy/files/numpy-1.26.1-alpha.patch b/dev-python/numpy/files/numpy-1.26.1-more-arches.patch index a0b2ca2eda91..a6f622517521 100644 --- a/dev-python/numpy/files/numpy-1.26.1-alpha.patch +++ b/dev-python/numpy/files/numpy-1.26.1-more-arches.patch @@ -1,14 +1,5 @@ -https://bugs.gentoo.org/909738 https://github.com/numpy/numpy/pull/25078 - -commit 43aaf2093d8dfb3c1fea5d409ea4aa1d0f77816f -Author: matoro <matoro@users.noreply.github.com> -Date: Mon Nov 6 10:21:32 2023 -0500 - - BUG: alpha doesn't use REAL(10) - - Same as e.g. loongarch per gh-24904. At this point seems like it should - be more of an exclude list than an include one... +https://github.com/numpy/numpy/pull/25254 diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py index f352bbaa2..d17b052f9 100755 @@ -19,7 +10,7 @@ index f352bbaa2..d17b052f9 100755 return 8 machine = platform.machine().lower() - if machine.startswith(('aarch64', 'arm64', 'loongarch', 'power', 'ppc', 'riscv', 's390x', 'sparc')): -+ if machine.startswith(('aarch64', 'alpha', 'arm64', 'loongarch', 'power', 'ppc', 'riscv', 's390x', 'sparc')): ++ if machine.startswith(('aarch64', 'alpha', 'arm64', 'loongarch', 'mips', 'power', 'ppc', 'riscv', 's390x', 'sparc')): if p <= 33: return 16 else: diff --git a/dev-python/numpy/numpy-1.26.1.ebuild b/dev-python/numpy/numpy-1.26.1.ebuild index d08d5e4f8bc1..964ec4516b99 100644 --- a/dev-python/numpy/numpy-1.26.1.ebuild +++ b/dev-python/numpy/numpy-1.26.1.ebuild @@ -49,7 +49,10 @@ BDEPEND=" >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] ) " -PATCHES=( "${FILESDIR}/${PN}-1.26.1-alpha.patch" ) + +PATCHES=( + "${FILESDIR}/${PN}-1.26.1-more-arches.patch" +) EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/numpy/numpy-1.26.2.ebuild b/dev-python/numpy/numpy-1.26.2.ebuild index e07a7be47a33..70f22d68717d 100644 --- a/dev-python/numpy/numpy-1.26.2.ebuild +++ b/dev-python/numpy/numpy-1.26.2.ebuild @@ -49,7 +49,10 @@ BDEPEND=" >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] ) " -PATCHES=( "${FILESDIR}/${PN}-1.26.1-alpha.patch" ) + +PATCHES=( + "${FILESDIR}/${PN}-1.26.1-more-arches.patch" +) EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index c6fa62731e57..d84d735ce541 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1 +1,2 @@ DIST pylint-3.0.2.gh.tar.gz 1420866 BLAKE2B 2679810940ee5b4a4dcde5a4a3d70052901d6ca8dfd025708fdfe3fadffc7713d3507eaea9a67a2fc0748478e8b6e2c2e66e487bf93749fcd9fea7d070197b16 SHA512 923fab3681aa266aa633cc122cd2076dc73588191ed116da0e83d9d0cff253c93634dd420d32b5ea780c25a8e9ff526d8393d4eae2e046a2ff82df3f5f9322a4 +DIST pylint-3.0.3.gh.tar.gz 1422200 BLAKE2B 999afa1a26cc9fdc8f88bc7a1173c4621f608321b09798de7dd30ef3f5fa295b354ae17acf52009dc340a527f2414f350777ea5893a522f44a31baa466242c63 SHA512 ac5fe236bab08cdacdf9fb78cbf444348bfaa4a359dabd17bfdef5d8a7d9b72a794fd5e7483ea326d1c006668fbd6c37d0aa1f8e7c9963bc75265eb9ced6d43b diff --git a/dev-python/pylint/pylint-3.0.3.ebuild b/dev-python/pylint/pylint-3.0.3.ebuild new file mode 100644 index 000000000000..473eeab1e4c8 --- /dev/null +++ b/dev-python/pylint/pylint-3.0.3.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2023 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} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps +# Adjust dep bounds! +RDEPEND=" + <dev-python/astroid-3.1[${PYTHON_USEDEP}] + >=dev-python/astroid-3.0.1[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + ' 'python*' ) + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + + # incompatible versions of numpy/scikit-learn? + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + if [[ ${EPYTHON} == pypy3 ]]; then + # Requires GitPython + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index 065efdac9202..c45e3093fbbc 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -1,2 +1,3 @@ DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2 DIST reportlab-4.0.7.tar.gz 3683030 BLAKE2B e307fd165bc66a97ad98789d8fcd128e7db789a8dbbad50451a910efd4052e850a34f7b0a65b78920c77de9309519c242640ba348005733693d1998641ca23cf SHA512 d0fa92f1553a7ac2d4df13d0ec68f8145a78ed8a702c14fb283bee6e8b05bc1afb16664d02313154d40875712de2767b2b2d93f78c72e7ca6b53c5332dac334b +DIST reportlab-4.0.8.tar.gz 3683777 BLAKE2B e3fab54369a9d75f381fab651d5f5cd46ed090c0e9c7105d89225d291b133892f6311a3ad1e2727bf26be7a7ca3562f5a8a7c6126112adebe1aa530ebdd42187 SHA512 4d1db3e104374027a7be39815f7cbc06638bb3834477fcf29a4afda71be669a13d8e09c5a83dd1df085423cb61a89fa102a1fd1d106bccb2360cb02edbd918fc diff --git a/dev-python/reportlab/reportlab-4.0.8.ebuild b/dev-python/reportlab/reportlab-4.0.8.ebuild new file mode 100644 index 000000000000..011f620f3479 --- /dev/null +++ b/dev-python/reportlab/reportlab-4.0.8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Tools for generating printable PDF documents from any data source" +HOMEPAGE=" + https://www.reportlab.com/ + https://pypi.org/project/reportlab/ +" +SRC_URI+=" + https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}] +" +BDEPEND=" + app-arch/unzip +" + +distutils_enable_sphinx docs/source + +src_unpack() { + unpack ${P}.tar.gz + cd ${P}/src/reportlab/fonts || die + unpack pfbfer-20070710.zip +} + +src_configure() { + cat > local-setup.cfg <<-EOF || die + [OPTIONS] + no-download-t1-files = 1 + EOF +} + +python_test() { + pushd tests >/dev/null || die + "${EPYTHON}" runAll.py --post-install --verbosity=2 || + die "Testing failed with ${EPYTHON}" + popd >/dev/null || die +} diff --git a/dev-python/sounddevice/sounddevice-0.4.5-r2.ebuild b/dev-python/sounddevice/sounddevice-0.4.5-r2.ebuild index f6ed00cba32d..ca8e05777e3e 100644 --- a/dev-python/sounddevice/sounddevice-0.4.5-r2.ebuild +++ b/dev-python/sounddevice/sounddevice-0.4.5-r2.ebuild @@ -17,3 +17,5 @@ IUSE="" DEPEND="dev-python/cffi media-libs/portaudio" RDEPEND="${DEPEND}" + +S=${WORKDIR}/python-${P} diff --git a/dev-python/sounddevice/sounddevice-0.4.6-r2.ebuild b/dev-python/sounddevice/sounddevice-0.4.6-r2.ebuild index f6ed00cba32d..ca8e05777e3e 100644 --- a/dev-python/sounddevice/sounddevice-0.4.6-r2.ebuild +++ b/dev-python/sounddevice/sounddevice-0.4.6-r2.ebuild @@ -17,3 +17,5 @@ IUSE="" DEPEND="dev-python/cffi media-libs/portaudio" RDEPEND="${DEPEND}" + +S=${WORKDIR}/python-${P} diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 4f6fdac581a0..55f459970c05 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,2 @@ DIST weasyprint-60.1.tar.gz 441148 BLAKE2B 3d5eb6d9dd80a222649a03e09a096786bc4add67c7df3965325217a4c03aa4a545d442b6327b83bea082fa50f5d1ba32587749449824267acc849a0374a58cea SHA512 7fc05c6c80fc6eb251637b529720794df4b7d5c066ecfb4086cb49b7e1c42a51fcb7b2502a79f9f01f6cc5b83d92d5a48c7386b2db555e7dba6eb64e3151d6ae +DIST weasyprint-60.2.tar.gz 442554 BLAKE2B 492f0cd3f155aa20e440e384930cff38e8674cc2430f134fdcce80e627997b0d752d6b585aaece6ff23505fed3ff45430c06c82763ca96ce30da38411e21721f SHA512 1da30b2626911c22a996cf7888edc86a7e3534d552325790c3bb06b29a7bedda8021680f5cac1acd6f0aba0658c64cda02cafa1fcba5f3a76bce6bb5fb229b71 diff --git a/dev-python/weasyprint/weasyprint-60.2.ebuild b/dev-python/weasyprint/weasyprint-60.2.ebuild new file mode 100644 index 000000000000..2466f20a3c6a --- /dev/null +++ b/dev-python/weasyprint/weasyprint-60.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/pillow-4.0.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.8.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest |
