diff options
Diffstat (limited to 'dev-python')
33 files changed, 777 insertions, 47 deletions
diff --git a/dev-python/beartype/beartype-0.16.4.ebuild b/dev-python/beartype/beartype-0.16.4.ebuild index d53c98dabcfc..a845aaf5894e 100644 --- a/dev-python/beartype/beartype-0.16.4.ebuild +++ b/dev-python/beartype/beartype-0.16.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="amd64 arm64 ~riscv" BDEPEND=" test? ( diff --git a/dev-python/dict2xml/Manifest b/dev-python/dict2xml/Manifest index d21c4a53a176..fdc3fc52ebf3 100644 --- a/dev-python/dict2xml/Manifest +++ b/dev-python/dict2xml/Manifest @@ -1 +1,2 @@ DIST dict2xml-1.7.3.tar.gz 14240 BLAKE2B b28343f2cfeb59a91011bb158ffe7db008f19be1576293e6b07c3b49e07f3871761c8a3a32c214bf0608602487e2e7110c7f2a2f31a7dbf44a441f44ca7f568b SHA512 631415e425688c612c15b72fc339db33977df32eb25f7f8f03a63e5115c8e06f4aa5b247ded3e16cddbb9b16597aeb0ef218f193c5f4c44ebdcd7e39c2052ed2 +DIST dict2xml-1.7.4.tar.gz 14333 BLAKE2B 9d1a5180d6cffed171aa973902d6e88190b8bd90cd9e4d86744b5c074d82e45c7571763aa9cca67d190cf7af1b1fdd155cbff906a44a638dcb3a7033f1be86ba SHA512 13a2b34783e5f6414c173059ba16a2061ecaef41355b7b0099546d704c9c28b1e0f9ea3186d4b0db99083e66a2f22e69e57a4a415b72c00fd1e17bcb435e7462 diff --git a/dev-python/dict2xml/dict2xml-1.7.4.ebuild b/dev-python/dict2xml/dict2xml-1.7.4.ebuild new file mode 100644 index 000000000000..114c1de32af4 --- /dev/null +++ b/dev-python/dict2xml/dict2xml-1.7.4.ebuild @@ -0,0 +1,23 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Small utility to convert a python dictionary into an XML string" +HOMEPAGE=" + https://github.com/delfick/python-dict2xml/ + https://pypi.org/project/dict2xml/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# dict2xml uses noseOfYeti for its test, which is not yet available. +RESTRICT="test" + +distutils_enable_tests pytest diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index cfe073446270..f485d620d0ea 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,4 @@ DIST google-api-python-client-2.111.0.tar.gz 12461105 BLAKE2B 3aa1de35867fbf2287fc4f0aadf4dc77aeb62bc0d894bcaf546ca00e062de289c83a732298ad6b09927d60bb1e3ea47e0a20fb108e23cb7af222e67a6e45d464 SHA512 3eb9a4580c6b59dbd7dff1f0ca9f309e92d7f75ce6d3085833d96c72751212a47073ef2b322ad85bc2795e82c85b9b80593f18a7335cc7438b0acaa94cbf04f5 DIST google-api-python-client-2.112.0.tar.gz 12465562 BLAKE2B d29c22176fb3467c7df0d937baa954973437fc03862b56a370888fe014b24e3ec1b8b1c00b80251bcd039711340aea13bd21618f782ee4bd7c975c0820271630 SHA512 e9bbec1c27105cb772c1f059b5cf2f83cf44f1aa003149a509cac15c46d68c80edd2705aad597f31d98e31cb61396f0516ddc69b5041237d96246898c31329b4 DIST google-api-python-client-2.113.0.tar.gz 12473297 BLAKE2B 7799021db708008bbc1d91a11c543fd261af467d226b3bc6b9773878826ac8c2820961d30ed6f3c2abbbe0d9618ceb52eb350594d4d02325cc36e4f0ccc56861 SHA512 257d062de19849c4807cec249e1b7d13a60721ad58ff701affaecfd45253d2c83ddd79079478245c2df0c0f94b220070d342769f1dcfab1fb62f658970c0b317 +DIST google-api-python-client-2.114.0.tar.gz 11486137 BLAKE2B 69172e5db315f705d922eda5a093980c56e519cc2b808ed316962235ff20c5401971e1795a53b929bcf8c20c678058c6750d42b4f486214c9cd642e141862b8a SHA512 f39939ea64955488c1445713e649204252c413fbe9e58d2d4668b4f5042ef48853044cfd034b3e78a6cd6579bc09790a17663d92cf3d5274f0bea0cea284cdaa diff --git a/dev-python/google-api-python-client/google-api-python-client-2.114.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.114.0.ebuild new file mode 100644 index 000000000000..e4c330a85144 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.114.0.ebuild @@ -0,0 +1,49 @@ +# 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 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 1720e2354bde..94a0bf18b115 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,3 +5,5 @@ DIST hypothesis-6.92.7.gh.tar.gz 9412316 BLAKE2B eae3a5d46dde5d69ab5fea429178eeb DIST hypothesis-6.92.8.gh.tar.gz 9412899 BLAKE2B 48bd1218f20260b983df4c75def1ad30a48d368975e5cf64bcc0eeb5148bd8cd2afe9b9b912304f13be791ca35f99bade225bcd7e600687a8249060b8b1767bf SHA512 ce5b97360dc45f4cbc26a7c68b1b7200e9906821200207479be80ab0c4bab5f5c363d1e914bc163eda096e575560146cdeb5f129b0ffd1545455df427c00cac2 DIST hypothesis-6.92.9.gh.tar.gz 9413220 BLAKE2B 066b291fe6df2d14a15c77be63196c26d27764ba69c6de4a417a6117a770b3305d8ff981643e62776d8254a7e2248741d4c7da6489adcb1a0fb641776f3520ef SHA512 1e9e81963aaa23d4b6d2290cca4644498a10aadd6a2417511ac57466ee87ebc89cc3b34eb7367af131916b04304aa52c3f736a5557a7e757fda5d40af478332a DIST hypothesis-6.93.0.gh.tar.gz 9413948 BLAKE2B 1cb75543757163b5ceffd4050f5eea9d1953f607f935af0ac290c56ccd48e62cfbfe6f124a4162c395c30f985dc7426bcc70d348c27dc515b89ca1a1b8fa2e95 SHA512 20f7727ef77cd961ed4368c4441dd1aa49495d19a4f486e84234360f0280f1f4b848915a19f0445b31c3f66b9f25e65a000dc147852bc2fa1ef42e35be31a0d7 +DIST hypothesis-6.93.2.gh.tar.gz 9415414 BLAKE2B cbd0d0dd1cc737d6e8587c888b255220adffa5b15027767cede0a29abf7343d94259da45c772f00fb976a5dc0baba5c00761993cb9cc70fdfc7489c9c02d0ed1 SHA512 b981f2781bc5e2f7c7e340fee22fd5ab3869154488a70518dca7c179636fa906fe64ff706f828df09a42daad4d9640a037b534e657d601d0a78e059ac6ad146a +DIST hypothesis-6.94.0.gh.tar.gz 9418907 BLAKE2B 856ab9b074e308cc61c8a5d030d7d7d9930cade0995b901e75638d1acd1ad4fc4b2afe87627c384cd63df6cb8bb84292c76cf3da6cf23dc8951c26f87a99d30e SHA512 f9056ffacfbfa722e5ed0fa6ba5a82053b6959826aab68f7b131cf4136107b581bbf78bf3691e935c76a514d8742bb9599fcc398fe4a2bfeadc2408da26976b4 diff --git a/dev-python/hypothesis/hypothesis-6.93.2.ebuild b/dev-python/hypothesis/hypothesis-6.93.2.ebuild new file mode 100644 index 000000000000..1f7054962839 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.93.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/hypothesis/hypothesis-6.94.0.ebuild b/dev-python/hypothesis/hypothesis-6.94.0.ebuild new file mode 100644 index 000000000000..1f7054962839 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.94.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index 03ce11dd6b6a..0d021a8b1aae 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1 +1,2 @@ DIST ipykernel-6.28.0.tar.gz 157701 BLAKE2B 61b5415e6209cc83ea5f97f7a485489c5338539e711abab0358006835f0cff3d4d3a51b797eaaf44ef4666b225a0b64b9d135b9607a42dcb7d43a9bb38e9155d SHA512 81efbaafc48ad22b54719eebe7564d9d386407272b6c9bad34a2685ec73e1f831a2753251a7ff47c337becad272a39311f15faa7dac331e53272f3ccc975a860 +DIST ipykernel-6.29.0.tar.gz 160814 BLAKE2B 4f5c650fda125a477ae7f16fad07e968f0f31a97375159ff5d3917181f31ecac3a618927e492332e5d5f69321c43fad69daa4c9bdfc67acc3756775ef855ceec SHA512 f924d8c4471f04349e1c8d0b980f8759e55c37585a4a44e61ba01ed1b96e3aa3897ec6e953e91f8f881debf5e599ab95b679075dcd413e43b8ed0263e8c9ca44 diff --git a/dev-python/ipykernel/ipykernel-6.29.0.ebuild b/dev-python/ipykernel/ipykernel-6.29.0.ebuild new file mode 100644 index 000000000000..3a4df971118e --- /dev/null +++ b/dev-python/ipykernel/ipykernel-6.29.0.ebuild @@ -0,0 +1,78 @@ +# 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 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE=" + https://github.com/ipython/ipykernel/ + https://pypi.org/project/ipykernel/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/comm-0.1.1[${PYTHON_USEDEP}] + !elibc_Darwin? ( + $(python_gen_cond_dep ' + >=dev-python/debugpy-1.6.5[${PYTHON_USEDEP}] + ' 'python*') + ) + >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-8[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-4.12[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}] + dev-python/nest-asyncio[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + >=dev-python/tornado-6.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}] +" +# RDEPEND seems specifically needed in BDEPEND, at least jupyter +# bug #816486 +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/ipyparallel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + # Use python3 in kernel.json configuration, bug #784764 + sed -i -e '/python3.[0-9]\+/s//python3/' \ + "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die +} + +src_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_debugger.py::test_attach_debug + tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines + tests/test_debugger.py::test_rich_inspect_at_breakpoint + tests/test_debugger.py::test_rich_inspect_not_at_breakpoint + tests/test_debugger.py::test_set_breakpoints + tests/test_debugger.py::test_stop_on_breakpoint + tests/test_debugger.py::test_copy_to_globals + # hangs? + tests/test_eventloop.py::test_tk_loop + # doesn't like pyside2? + tests/test_eventloop.py::test_qt_enable_gui + ) + + virtx distutils-r1_src_test +} diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest index 7acecefd78df..4616395575d6 100644 --- a/dev-python/jsonschema/Manifest +++ b/dev-python/jsonschema/Manifest @@ -1,2 +1,3 @@ DIST jsonschema-4.17.3.tar.gz 297785 BLAKE2B a0383bf5612ae50e94c95dbc1774d796b62c74a7aae3056a40edb7e042ad07fd7885e61d86220120a906a4017afe30d8ee8edbbf0cf01a6dec1f212984ff1c1e SHA512 626fc913c37d2e49e4b47c9e058aab4a96c1dc50c35d8def0b2ea0ca464dc25e3318d4fde4927c11ca38068743cd81779d5189464b821407ac1de1788bad30e2 DIST jsonschema-4.20.0.tar.gz 320243 BLAKE2B 7782665aa97d080a3ade9f0ed600d84602135ba80641c75d027f31f118432d206d5c61243e90a59aa134bce2fcf6bed6aed685bca9ad243178c78d3002d43b66 SHA512 916ce6e5a1cce19e52d34394797d59c4821a3e7abad0248d929a8d5975e8e5a2c0a270b2839d6e1800037a53d0ed8fd38ca44264a88653b5aaba1705d459cb47 +DIST jsonschema-4.21.0.tar.gz 321324 BLAKE2B 0c2bcf26fd9cb2c5ce86bb556a1312b861984373bde30e7dae42dce7711967e0e0f51b648cb2683786240c743f276ce81a4ef70fb66ab878e783602c77d903b2 SHA512 7467a1c70e587d32c2d196050b60f01a765a27ac0c97f4481c2c654381863911999e7b8f7592ec6ce24a92fb81f4de4ce5197652977a82ace5b75928a6c2334c diff --git a/dev-python/jsonschema/jsonschema-4.21.0.ebuild b/dev-python/jsonschema/jsonschema-4.21.0.ebuild new file mode 100644 index 000000000000..7f0e7a523ecb --- /dev/null +++ b/dev-python/jsonschema/jsonschema-4.21.0.ebuild @@ -0,0 +1,57 @@ +# 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 + +DESCRIPTION="An implementation of JSON-Schema validation for Python" +HOMEPAGE=" + https://pypi.org/project/jsonschema/ + https://github.com/python-jsonschema/jsonschema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] + >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + !!dev-python/shiboken6 + ) +" + +# formatter deps +RDEPEND+=" + dev-python/fqdn[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/isoduration[${PYTHON_USEDEP}] + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] + dev-python/rfc3986-validator[${PYTHON_USEDEP}] + dev-python/rfc3987[${PYTHON_USEDEP}] + dev-python/uri-template[${PYTHON_USEDEP}] + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires pip, does not make much sense for the users + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license + # fragile warning tests + jsonschema/tests/test_deprecations.py + # wtf? + jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug +) diff --git a/dev-python/jupyter-server/Manifest b/dev-python/jupyter-server/Manifest index ae46ccaa3077..0b38a519e5a5 100644 --- a/dev-python/jupyter-server/Manifest +++ b/dev-python/jupyter-server/Manifest @@ -2,4 +2,5 @@ DIST jupyter_server-2.12.1.tar.gz 713271 BLAKE2B 4f65b1ed51dfa69921455a46a2a1e49 DIST jupyter_server-2.12.2.tar.gz 713700 BLAKE2B 37739ff282a40a1d49c8abe99987497a90803fe48205451ab1ccf731f4e694bbe70157d1444de34ff4f0bc1280a021e3b857c9968615e59964336d8fca8d973d SHA512 c43052bff91d245b942c0eec5cf435b1b2266f5a304844c2fe3bcf1dcef80cc91178b2789cc0634cafeab8cb67083a232bd1f433acb69cffd2c3026a56a264f1 DIST jupyter_server-2.12.3.tar.gz 713798 BLAKE2B f0bab746557247b20ea9b34c72b43d101dfacc4ab7799e76732a63b5d6088d2d523a52dbfc7324aeb7105de6804ceccd3d4c32f0dfadd8ba5ac18b60eabf9c3c SHA512 8c30cc86b6fcc8eb91174be55b0dee7733b8f446b2c5ccf17f3369f628cf059b33e534fe3b943e8697894ef90124c52973fd010bb005c65064c525699e8c1c43 DIST jupyter_server-2.12.4.tar.gz 713846 BLAKE2B f802474367b70663576c1fff87818db8559ce602ae5793aed3f85e720e0a5542d6cae2369726616d3e5a8233aa154b327432050ff99127c499608e36ed69bd07 SHA512 25c6d79342b4905c75465c0ce4a1e44b8fbdb1ff2d4f665739fac02e0bad31b5b0912d006f0cf530dded25bd93a816dc4e340d91bf2f2c0b846d0960a5d4a3ce +DIST jupyter_server-2.12.5.tar.gz 713833 BLAKE2B f6e133a5f778d2abe9971a94db9c033fbfba587fc6265dbeed20f903cb1f1007b53f263c5674945e324dd15879e77ffab03f94c236d4ddbde00179af7ae71f94 SHA512 dd4fee86cfe82641dc9bbab2de93f65b45e78d56fad6d0a5ecdc442a4facc93aecbe90516200fa742f13d83039119640279efd4c42ff53a08786671c79d4a268 DIST jupyter_server-2.9.1.tar.gz 709013 BLAKE2B dee0de771bb8488cccaecb49e2b4a2003f2530243013cafa7f170384380423a7c190504baabf458c59ffece28c4f60662c0530f55535dae25699be269f159743 SHA512 148c3eaa4b6ca1147961c1188e0016a634e5adae350e762903bdde000acde7ab62507e71dbe1278c2b9358ce2cf1c28c17ea8b184f3d4a2d59277910b5b44965 diff --git a/dev-python/jupyter-server/jupyter-server-2.12.5.ebuild b/dev-python/jupyter-server/jupyter-server-2.12.5.ebuild new file mode 100644 index 000000000000..36ac44caad08 --- /dev/null +++ b/dev-python/jupyter-server/jupyter-server-2.12.5.ebuild @@ -0,0 +1,76 @@ +# 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 + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server/ + https://pypi.org/project/jupyter-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.4.4[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] + dev-python/jupyter-server-terminals[${PYTHON_USEDEP}] + >=dev-python/jupyter-events-0.9.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + dev-python/overrides[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/prometheus-client[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + >=dev-python/send2trash-1.8.2[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + +" +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension + ) + + # FIXME: tests seem to be affected by previously installed version + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout \ + -o tmp_path_retention_policy=all +} diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 8e748f500bcd..2129556aa86f 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1 +1,2 @@ DIST mkdocs-material-9.5.3.gh.tar.gz 14676809 BLAKE2B 340e1a1e8527797e9256f034d39c0fedb97e4ff667f608fc6d7d2d94a9d24f35afc9d7372002623fba3f6da171fc5062d5ad7d3a843bfcafa4a2d423d41845c4 SHA512 5e5745193e661eab7016346cee619ad9b9d848cf49956aa9f9a3c3bb647525a0fa39c63afc6569c8973e566f6061e368d4512149f8634a463af98602c52d2163 +DIST mkdocs-material-9.5.4.gh.tar.gz 14681148 BLAKE2B 1b4b652a446a71986256dd53d87258519176b415758105ae644d2bb0fb39dd32a94462307dbcfa8011a6ba136e5f00ab8379c4937123a1435d66a94f660a9640 SHA512 79167e6751765830eb4defb6d82f7204d38dfa664a95f9e576179a9c6ee65e3dfcbce90a095e78a76c04201244400c8d67c3337130ce8f8a7dc1ac213b09581b diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.4.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.4.ebuild new file mode 100644 index 000000000000..5c9ef8955f7c --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.4.ebuild @@ -0,0 +1,67 @@ +# 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} ) + +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/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 78d20b0c8b3f..4761cfaa6d31 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,3 +1,4 @@ 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 +DIST nbconvert-7.14.2.tar.gz 852202 BLAKE2B 195a4f8088ec82d7fcb56b7450878d8e769027bedf64dec82adfb2683936400c74b62ceb2a24d47724584df0cfa0e9c773e53357b412eda0958aa2c4256cb3fd SHA512 79a91b2cacb50af8eb584668b070bf233de4cdf783fa0d9d256c2204de4a97efc5224088811b6f2b5f89015e4180a24da63c5b79a026b1966df157de325114cd diff --git a/dev-python/nbconvert/nbconvert-7.14.2.ebuild b/dev-python/nbconvert/nbconvert-7.14.2.ebuild new file mode 100644 index 000000000000..dd5389e68114 --- /dev/null +++ b/dev-python/nbconvert/nbconvert-7.14.2.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/mistune-4[${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/nest-asyncio/Manifest b/dev-python/nest-asyncio/Manifest index 4d91271cbed3..b2715f4d2fcc 100644 --- a/dev-python/nest-asyncio/Manifest +++ b/dev-python/nest-asyncio/Manifest @@ -1 +1,2 @@ DIST nest_asyncio-1.5.8.tar.gz 6105 BLAKE2B 549c5b8663a7fcb928e6cb97408aa4291129d043f8e5a55f5ba66c6b6cdbe21b1c2dd65959fd806d0badc1be561cda8b11a097fb522156d2d41eabce66318be3 SHA512 b454ad77381e6eb2bfa34528a26f342ba66b8edbb648c6b5aa69fbdd3142537db4ae53f91c2b88a5f88f16ecbe1e3346cec5a7bca4ca5c065a4e5f3daa0bb7e2 +DIST nest_asyncio-1.5.9.tar.gz 7496 BLAKE2B c7a86321699d06e2befdfd5576a10b57bbdbb75d6a411af4374a633becd350e5128fdc224853f9cfa876d3b66f4f1ad8be15a347046c6d615033069e1a04f9e6 SHA512 8b99b1bd51463f0639c602995e68d1aa520e287ec3bd92dafd3a13b8c3359e04fc6823c78fc9b862618b491cd3b5599ba4453da6388a651875fc71b7243f57ef diff --git a/dev-python/nest-asyncio/nest-asyncio-1.5.9.ebuild b/dev-python/nest-asyncio/nest-asyncio-1.5.9.ebuild new file mode 100644 index 000000000000..3101681a5ef1 --- /dev/null +++ b/dev-python/nest-asyncio/nest-asyncio-1.5.9.ebuild @@ -0,0 +1,21 @@ +# Copyright 2020-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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Patch asyncio to allow nested event loops" +HOMEPAGE=" + https://github.com/erdewit/nest_asyncio/ + https://pypi.org/project/nest-asyncio/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +distutils_enable_tests pytest diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest index ef0151223512..be0a76d9ce39 100644 --- a/dev-python/plyvel/Manifest +++ b/dev-python/plyvel/Manifest @@ -1 +1,2 @@ DIST plyvel-1.5.0.tar.gz 152348 BLAKE2B eca4780ecce793d514647557b13cb134a10c6bc46b981e6f92caa01715180a95c511fee1e75eee677778c34084058fba029547557442b86a0286a0d959dd550d SHA512 3f12b1d17a7b4b52fc2874b091a7378f3e8c0f895a3993f86ce6a686f7f94d28b585c5e6aa9b48ebb7d9106cae2b148aa15a87f07dfb232a0678ed151d8e09c1 +DIST plyvel-1.5.1.tar.gz 200128 BLAKE2B d9fec1af0542a93ca25247abd7e17a9f868de2878d6dcbb846cad3326057d36b52ff0b85bfd342f0ed447ebf9925584b6fb95a47b6d424bb9b24f9aa35fa30c1 SHA512 8f613197e85d085ea47e5a5d6b2bf0310f52fb51eeda6ed7f8cb559c192583f3cb25b66227876c01a08f6a355aafd5092673b7d5341b9b6e5d24546b7755d275 diff --git a/dev-python/plyvel/plyvel-1.5.1.ebuild b/dev-python/plyvel/plyvel-1.5.1.ebuild new file mode 100644 index 000000000000..3ac167c05914 --- /dev/null +++ b/dev-python/plyvel/plyvel-1.5.1.ebuild @@ -0,0 +1,44 @@ +# 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 +# Disable PyPy3 for now because it is not stable enough: +# https://github.com/wbolster/plyvel/issues/140 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interface to LevelDB" +HOMEPAGE=" + https://github.com/wbolster/plyvel/ + https://pypi.org/project/plyvel/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=dev-libs/leveldb-1.21:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +src_configure() { + emake cython +} + +python_test() { + rm -rf plyvel || die + epytest +} diff --git a/dev-python/python-ipware/metadata.xml b/dev-python/python-ipware/metadata.xml index f85b4846a177..36acccda7221 100644 --- a/dev-python/python-ipware/metadata.xml +++ b/dev-python/python-ipware/metadata.xml @@ -7,4 +7,4 @@ </maintainer> <origin>ports</origin> -</pkgmetadata> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild index 0bc8e66a60cb..c7ec6e50f9b1 100644 --- a/dev-python/scipy/scipy-1.11.3-r1.ebuild +++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild @@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=meson-python PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) PYTHON_REQ_USE="threads(+)" -inherit fortran-2 distutils-r1 multiprocessing +inherit flag-o-matic fortran-2 distutils-r1 multiprocessing DESCRIPTION="Scientific algorithms library for Python" HOMEPAGE=" @@ -87,6 +87,9 @@ src_unpack() { } python_configure_all() { + # https://github.com/scipy/scipy/pull/19857 + # Fixed in 1.13.0 + filter-lto DISTUTILS_ARGS=( -Dblas=blas -Dlapack=lapack diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild index df5136e764ff..8f7f69c4fe8f 100644 --- a/dev-python/scipy/scipy-1.11.4.ebuild +++ b/dev-python/scipy/scipy-1.11.4.ebuild @@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=meson-python PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) PYTHON_REQ_USE="threads(+)" -inherit fortran-2 distutils-r1 multiprocessing +inherit flag-o-matic fortran-2 distutils-r1 multiprocessing DESCRIPTION="Scientific algorithms library for Python" HOMEPAGE=" @@ -87,6 +87,9 @@ src_unpack() { } python_configure_all() { + # https://github.com/scipy/scipy/pull/19857 + # Fixed in 1.13.0 + filter-lto DISTUTILS_ARGS=( -Dblas=blas -Dlapack=lapack diff --git a/dev-python/spdx-tools/Manifest b/dev-python/spdx-tools/Manifest index f83ed2ab902e..e52de97b51d9 100644 --- a/dev-python/spdx-tools/Manifest +++ b/dev-python/spdx-tools/Manifest @@ -1,3 +1,2 @@ DIST spdx-tools-0.7.1.tar.gz 200475 BLAKE2B 72da69f77a4d25380acb5b4d026596a593bfc631876dbae1a26ecc83e5d9fe7ff76c2f9a5d532186cc703d9fc5fc38ab859b654abfcddcf1e8116e7d26b55407 SHA512 8ffda24d162f4939fe99574e3ee4a492c55678f983ba101206a634edac75d404d3a07964289678da7ecae5b76a6d78f805b451fc51f60b713685afbd3a736a54 -DIST spdx-tools-0.8.1.tar.gz 496884 BLAKE2B 9b2e2066b29c74e50287cd118af394510a8635f9347a52477ff499cdf72082e1f2708cd067475b94814ef5b7c3e0e2ff0cb3c22e9e2de1b788dee644ea0a0006 SHA512 70e1d2d491517a332704707510b34bb8146924f29b734951eca03d0b3f791cb482fdae342d4084680d0b969614ae6350a13c196bf747b80b6a75c9ec0a6792cd DIST spdx-tools-0.8.2.tar.gz 680032 BLAKE2B 0556c129f5800e843ab202ebcac5055a42577e727582b66d37af7d245a59c427388880362b78b83e6993b467bba0187fae2cc82151053fc932352a9524a36b5f SHA512 610f1718f72aa10eb3c4fe920148ca8b777a7331d149e2ed3e02e36098a75e80ce5bc853b540a0fcdddb17ffbb8e37fe863b381824caff8961853c41d9e61c80 diff --git a/dev-python/spdx-tools/spdx-tools-0.8.1.ebuild b/dev-python/spdx-tools/spdx-tools-0.8.1.ebuild deleted file mode 100644 index 9ec772f0ca71..000000000000 --- a/dev-python/spdx-tools/spdx-tools-0.8.1.ebuild +++ /dev/null @@ -1,39 +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 pypi - -DESCRIPTION="Python library to parse, validate and create SPDX documents" -HOMEPAGE=" - https://github.com/spdx/tools-python/ - https://pypi.org/project/spdx-tools/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/beartype[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/license-expression[${PYTHON_USEDEP}] - dev-python/ply[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/rdflib[${PYTHON_USEDEP}] - dev-python/semantic-version[${PYTHON_USEDEP}] - dev-python/uritools[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # requires pyshacl - tests/spdx3/validation/json_ld/test_shacl_validation.py -) diff --git a/dev-python/spdx-tools/spdx-tools-0.8.2.ebuild b/dev-python/spdx-tools/spdx-tools-0.8.2.ebuild index e6e10d50d0de..086d55593e36 100644 --- a/dev-python/spdx-tools/spdx-tools-0.8.2.ebuild +++ b/dev-python/spdx-tools/spdx-tools-0.8.2.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 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="amd64 arm64 ~riscv" RDEPEND=" dev-python/beartype[${PYTHON_USEDEP}] diff --git a/dev-python/sphinxcontrib-apidoc/Manifest b/dev-python/sphinxcontrib-apidoc/Manifest index 76e952045c97..30448b550920 100644 --- a/dev-python/sphinxcontrib-apidoc/Manifest +++ b/dev-python/sphinxcontrib-apidoc/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib-apidoc-0.4.0.tar.gz 15958 BLAKE2B 9cd806eb36cd2aa35c797b35e8e699c4a918e8e3d19e36ea9d79eb73dfce301a24ee33bc647ba180283837488aa00628b4882d08c3d492b196a4f663cad26f48 SHA512 1e33fd6df91adfb65ea511fe5ee55ccff9a237488cca406f46b33a2bf8eb69b884b274e9c94bfd868fef67b2e0dfbb19f5e2d62486c54a85755a9034ca5c715c +DIST sphinxcontrib-apidoc-0.5.0.tar.gz 16117 BLAKE2B f486cfdf2cbf74c2ac35e688671f64d7e8a8d5b30c5e932036d1dcb2c58bd32b4bfeb14680311cf3dd1345b0548b0b083a1d30a667f934c08a2c2e431bdc2cdc SHA512 36858dab0915f4aac48b2bab1aeea830e35e1e865ff5f4726df0c9f9c2917d450ed1e27b1db9d143fade09369201b1b6b72f0264e674130f62a67df494c8f646 diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild new file mode 100644 index 000000000000..b7e3ea41c884 --- /dev/null +++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-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 pypi + +DESCRIPTION="Sphinx extension for running sphinx-apidoc on each build" +HOMEPAGE=" + https://pypi.org/project/sphinxcontrib-apidoc/ + https://github.com/sphinx-contrib/apidoc/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] +" +RDEPEND=" + ${BDEPEND} + >=dev-python/sphinx-5.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + distutils_write_namespace sphinxcontrib + cd "${T}" || die + epytest "${S}"/tests +} diff --git a/dev-python/tweepy/tweepy-4.14.0.ebuild b/dev-python/tweepy/tweepy-4.14.0.ebuild index 499a147a5fff..18c41da3a2ed 100644 --- a/dev-python/tweepy/tweepy-4.14.0.ebuild +++ b/dev-python/tweepy/tweepy-4.14.0.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 @@ -26,6 +27,7 @@ DEPEND=" dev-python/aiohttp[${PYTHON_USEDEP}] dev-python/async-lru[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] + <dev-python/urllib3-2.0.0[${PYTHON_USEDEP}] dev-python/vcrpy[${PYTHON_USEDEP}] ) " diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index 9b6582feb767..3ec204774409 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1,2 +1,3 @@ DIST unearth-0.12.1.tar.gz 280628 BLAKE2B 2f96c818f5744b228d11d81fac8fb69da4df685b221f3a77424a1eb1d584e154798974ad4548c6f4264faa98f52cddeb94249e1c7e21136c50c08d97446149b6 SHA512 f726562191a3f2b9c189d16223b86307d79f0ca9e251c155e7acbc92160bed834c78064fbc5d745cd90b84ccd6eb2a24c737018fd670474921db0c7d15480576 DIST unearth-0.13.0.tar.gz 280537 BLAKE2B 92e8cfd42c36d067eccba594ef6e510491156bb4e85d66ab0c1050029be3acf3308c21581d82a3ffd1982d1c8eb966d0be68d1fb8739621b52aa9e7073fd5963 SHA512 48bcdd2e61ffc6580ce19d0124e43aab0411efa913801cd74365ddefa3cec50eb0742997fd6359b6191a00314964b052ebf8d3ea5a173d37bc2cfedc1d030408 +DIST unearth-0.14.0.tar.gz 280614 BLAKE2B d52ca2c8412a0e7bdf5c47d9693b4cdfe3a17ecc95d9d79ecdf7ee0cd5df7518de9cecf8efdfd88ae3f0b852c6bdc8b2c83198e23017d24a47fc6489b1c6e14e SHA512 ab785935f94a1987146471843961a4edc155e135471d4885324d1c2327527f112e03e1146f85a013ad0fd4560f803b616b12618d810becddea94abbce09096c4 diff --git a/dev-python/unearth/unearth-0.14.0.ebuild b/dev-python/unearth/unearth-0.14.0.ebuild new file mode 100644 index 000000000000..aee1a2fadc70 --- /dev/null +++ b/dev-python/unearth/unearth-0.14.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A utility to fetch and download python packages" +HOMEPAGE=" + https://pypi.org/project/unearth/ + https://github.com/frostming/unearth/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_httpserver +} |
