diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2024-07-15 09:19:03 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2024-07-15 09:19:03 +0000 |
commit | 3d66442d6e793ebd7fb269c8c8b783ca1c6aaa07 (patch) | |
tree | 3f16720d7ca8f5042607ee014e57f9c040a5e293 | |
parent | 2024-07-15 09:04:23 UTC (diff) | |
parent | dev-ml/opam-core: add 2.1.4 (diff) | |
download | gentoo-3d66442d6e793ebd7fb269c8c8b783ca1c6aaa07.tar.gz gentoo-3d66442d6e793ebd7fb269c8c8b783ca1c6aaa07.tar.bz2 gentoo-3d66442d6e793ebd7fb269c8c8b783ca1c6aaa07.zip |
Merge updates from master
-rw-r--r-- | dev-ml/opam-core/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/opam-core/opam-core-2.1.4.ebuild | 46 | ||||
-rw-r--r-- | dev-python/dep-logic/Manifest | 1 | ||||
-rw-r--r-- | dev-python/dep-logic/dep-logic-0.4.2.ebuild | 25 | ||||
-rw-r--r-- | dev-python/hypothesis/Manifest | 1 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.108.2.ebuild | 103 | ||||
-rw-r--r-- | dev-python/jsondiff/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jsondiff/jsondiff-2.1.2.ebuild | 41 | ||||
-rw-r--r-- | dev-python/pypdf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pypdf/pypdf-4.3.0.ebuild | 67 | ||||
-rw-r--r-- | dev-python/sphinx/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-7.4.0.ebuild | 141 | ||||
-rw-r--r-- | dev-python/validators/Manifest | 1 | ||||
-rw-r--r-- | dev-python/validators/validators-0.33.0.ebuild | 26 | ||||
-rw-r--r-- | dev-python/zstandard/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zstandard/zstandard-0.23.0.ebuild | 76 |
16 files changed, 533 insertions, 0 deletions
diff --git a/dev-ml/opam-core/Manifest b/dev-ml/opam-core/Manifest index 13cb1b80d395..d28ccf8a7142 100644 --- a/dev-ml/opam-core/Manifest +++ b/dev-ml/opam-core/Manifest @@ -3,3 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B d96ee79685a8ee8ff82c7570a747c80e38d86e5137 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147 SHA512 e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608 DIST opam-2.1.2.tar.gz 818848 BLAKE2B ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c SHA512 bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396 DIST opam-2.1.3.tar.gz 832450 BLAKE2B c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf4444 SHA512 040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc +DIST opam-2.1.4.tar.gz 833495 BLAKE2B 1969546d9cba34d33bdff221e7de0d974380c238a7b8671159c06ae55081e0ab0019d7dc27e9fefc908efc58a2f39f3b28ed11b68827743345ba721a2123ef5b SHA512 276fdbe4e114a0d23b9d4b7938d87bf39c06b4716fae601588da7d5d2d5d9b5c584855d96edfed2eb5ac8a36ee9431c4ea7d281c52acdab28b9a3bdcbf10ce57 diff --git a/dev-ml/opam-core/opam-core-2.1.4.ebuild b/dev-ml/opam-core/opam-core-2.1.4.ebuild new file mode 100644 index 000000000000..0d41c1a9eb72 --- /dev/null +++ b/dev-ml/opam-core/opam-core-2.1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# We are opam +OPAM_INSTALLER_DEP=" " +inherit opam + +DESCRIPTION="Core libraries for opam" +HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" +S="${WORKDIR}/opam-${PV}" +OPAM_INSTALLER="${S}/opam-installer" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-ml/ocamlgraph:= + dev-ml/re:= + dev-ml/opam-file-format:= + dev-ml/cmdliner:= +" +DEPEND="${RDEPEND} + dev-ml/cppo" + +src_prepare() { + default + cat <<- EOF >> "${S}/dune" + (env + (dev + (flags (:standard -warn-error -3-9))) + (release + (flags (:standard -warn-error -3-9)))) + EOF + + # HACK: Probably bug in Makefile? Magic. See: https://bugs.gentoo.org/933845 + touch opam-installer.install || die +} + +src_compile() { + emake -j1 opam-installer + emake -j1 ${PN}.install +} diff --git a/dev-python/dep-logic/Manifest b/dev-python/dep-logic/Manifest index cbb71cd6c1ff..6af3d73515d4 100644 --- a/dev-python/dep-logic/Manifest +++ b/dev-python/dep-logic/Manifest @@ -1,2 +1,3 @@ DIST dep_logic-0.3.5.tar.gz 33880 BLAKE2B 0aa7b2ef7408e0c3a0a81d2cd1fc11037e633a521aff5b673e2c9c4efc535ff59d0991daa9ee50b859302a25cfcdaf94406950358a150cd173d627e87b497a51 SHA512 7ceb90c4cf8d98a192dca94206c363e6bc5d68fa596f18c64374f1512afbfa33339b739343ed7663bba6a94d8c6a573e62bf46fecccb01d0d87827a810d0f4d9 DIST dep_logic-0.4.1.tar.gz 34727 BLAKE2B 08475ec5f6836f853d2406be6fad2d00df54498555902e61987f1e7b61bfa99a769b5d7472e56fb8e27063f1129a8c989f49ae69f4c8dd8c5c1482995aae5c20 SHA512 da0445f126877281764c182550d14e8b549b6cd344ec61780d993c223c00829b003837d0cdbd78c905f1bb0eec90a24f24e55501d3a2e291c0d417f21486d854 +DIST dep_logic-0.4.2.tar.gz 34743 BLAKE2B e3d520f935034c5dacf3dbe123eacb2adb45a3b6d6e13c23d3c21c9d36af56093f504660c621ba586335930963243298d5284b41a29247fb9904bff13da7c724 SHA512 7a522e74cf6537ff644e785489c9a17108910d42769abfbc31dcdffde1d36e79c0cc76c98cd289982877296aab451a6963ee039dd258be67e0e82d2c81fd219b diff --git a/dev-python/dep-logic/dep-logic-0.4.2.ebuild b/dev-python/dep-logic/dep-logic-0.4.2.ebuild new file mode 100644 index 000000000000..cf3afe5c232e --- /dev/null +++ b/dev-python/dep-logic/dep-logic-0.4.2.ebuild @@ -0,0 +1,25 @@ +# 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=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python dependency specifications supporting logical operations" +HOMEPAGE=" + https://github.com/pdm-project/dep-logic/ + https://pypi.org/project/dep-logic/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/packaging-22[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 97adefd19988..30adf0448b8a 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,3 +1,4 @@ DIST hypothesis-6.104.1.gh.tar.gz 9466716 BLAKE2B 5ddefd5199bfb22ef8c2c2ae995de5353e7d067f044788f4cd9423cfa4674ff1c5a05760d686f4b4dd5fe9afb2b4ba1cdb38aa7d590575f79d75c460adde63ab SHA512 a9eef39e3cc8fde806cb860f47190239a680c3203ca0228450a7c999ee9618964e201c05a994835e5513f7945b3a5f830fd9fa941d4cfdf4793e5e2fb266df47 DIST hypothesis-6.107.0.gh.tar.gz 9470192 BLAKE2B 721d9ee1281600bca8387e396c1d79316db3130061ac40635f8cb8ba3cf91ad0417debe1276efb21cadf5e5f8ae856d13b82fc674313a21549adff645ce07b1f SHA512 13403073167d24e80fec4ed256a60e696b79b900a45dbd9f349b123fbefe3c7fa5daac6f35200d5198d4565033b65792cd1fd8a7816955aeddbbc0c7bb93d578 DIST hypothesis-6.108.0.gh.tar.gz 9472307 BLAKE2B 778c0c33b29fdf933d8321f0b5f0b7c14390ee5511da2290c398c47a9c787274430a3465ab0084aece7363112a7de2465bd1ab0e00984eca067ec672915079d0 SHA512 93b3028025a3c799a796b8781551b04d1eeb9ca41b924c17a275c394f25a552d33a0fd0fa28f24bf0d39eb8dc85d4af57979d9f3321b6901ddc0c56695deef5b +DIST hypothesis-6.108.2.gh.tar.gz 9472513 BLAKE2B 1d3175fe390699e503d1341274461b5855cbfb934760ce47f53a546193ac71b66f06dbb8089c6af7a623a2cc6c62416f35851bb69ef49f13f622b7cefea37c6c SHA512 967b5f6372d5fd32aaf8258e03dca8d0f794908d34883295269ad271f8d0a89a5a433ba170d22a844d27c0145e74ee6c656577055b89aaa4e354955f93f5a55c diff --git a/dev-python/hypothesis/hypothesis-6.108.2.ebuild b/dev-python/hypothesis/hypothesis-6.108.2.ebuild new file mode 100644 index 000000000000..d401f55b2788 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.108.2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 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-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +EPYTEST_XDIST=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= tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${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/jsondiff/Manifest b/dev-python/jsondiff/Manifest index ac7eac81ab55..24243db80cda 100644 --- a/dev-python/jsondiff/Manifest +++ b/dev-python/jsondiff/Manifest @@ -1,3 +1,4 @@ DIST jsondiff-2.0.0-nose2pytest.diff 11525 BLAKE2B e1e9f6996448c5f8454a74dbe5782684d68cbb00eae1793fd010bccd80b682e6f3869082df9546603ce87bee82a99148a948db675b1da8f2815e5290eb632763 SHA512 791e4f8473459e374892067cf90099df23d981857b81cc164e2d0c35c51cbbede160de1b46474b6cb817b8811e2481172807eff31847a7847fc847948cf402f7 DIST jsondiff-2.0.0.gh.tar.gz 15405 BLAKE2B d69e5a9316e8ce32c6fd3e62162b609a471ff57bacb77f47a192b85352e77135a37c964d0ade5df4b4e37fe7d996eab13649dd4c6a3bc3fc0479294f840c82f9 SHA512 ca266040294c064b499763174613628125a9d426f37eddb8f63806d5774ce8828d514ca30ea4b42f6e2529aa34344c601ece05b6c1b42dcedd71c7b62ed0afba DIST jsondiff-2.1.1.gh.tar.gz 18691 BLAKE2B 4b58ce8d637b139c233860f21a98e6561f620bcabb8239e651bc34300163684f16ebbc8c1cd4d619ce7ffdd118e78db497a2897b176727942594c3ac8c7c41cf SHA512 d906cce6ff94e475f079e9ef2210fbb200a134ac3723cf36f3737c2bc722892eef74860c30feba7961b75b320882bed74921150173852b5154406259184715a5 +DIST jsondiff-2.1.2.gh.tar.gz 22307 BLAKE2B 33a95eb842659e4d0d02aa7f591f942e5bc1b361e99860fbda57d7743cbed9951a4509571e53a44c66c6c7ecccd90985abeb577a80c2f8c7cb58b104e0e409e9 SHA512 c4d8aac26a2c094178ff21dc7f3aee919bf49c18fd2b0ffdb993c32fb2575b18b60b49db784a14059709ecaf928eb8ff18ca1731e2ed26dd587c69d40adca260 diff --git a/dev-python/jsondiff/jsondiff-2.1.2.ebuild b/dev-python/jsondiff/jsondiff-2.1.2.ebuild new file mode 100644 index 000000000000..1f6ddda4fc90 --- /dev/null +++ b/dev-python/jsondiff/jsondiff-2.1.2.ebuild @@ -0,0 +1,41 @@ +# 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_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Diff JSON and JSON-like structures in Python" +HOMEPAGE=" + https://github.com/xlwings/jsondiff/ + https://pypi.org/project/jsondiff/ +" +SRC_URI=" + https://github.com/xlwings/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 553a63109660..0ae163f55757 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-4.2.0.gh.tar.gz 8009612 BLAKE2B a21108679a6dd5d9bc16aaf4a9c1beaaab875f0a8f974722d6d318635eecee82bc37c7c4c175816079ce9604f8b88f07f31458b08994833a25ee18bc46cbc294 SHA512 99fe599a81ae7e115ee6fca82ffabaff613ee49756a7e937de32a4d59b5731effe5cc3a076d92423b2299896a6ecab41ab5096aea6836fec79ba637e2c7b7620 +DIST pypdf-4.3.0.gh.tar.gz 8015836 BLAKE2B 691e729050e7e6d052d8f4ccf1698b2cd6685c007026036b98c321bf9cd007abf8830ffe5281bdabab1b57afb6e6015e631e8e62104d144de98ed270f8ba992e SHA512 ba0cb8815d889742e2f0155e9b296b483e29c22ef2ecff3779c05baae3132900827f1b6f9a155bf4a2ae2f442727ae0fe310e322d0211cb43ee821cd8f6d411c DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-4.3.0.ebuild b/dev-python/pypdf/pypdf-4.3.0.ebuild new file mode 100644 index 000000000000..8a75ff4e9f66 --- /dev/null +++ b/dev-python/pypdf/pypdf-4.3.0.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=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions + tests/test_workflows.py::test_text_extraction_layout_mode + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + tests/test_generic.py::test_name_object + # Internet + tests/test_generic.py::test_calling_indirect_objects + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 8d26b2d8487b..527315057dd6 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,2 +1,3 @@ DIST sphinx-7.2.6.gh.tar.gz 7067425 BLAKE2B 4da1cb5ccebea4df0dc134c552311d7b70ce9b76424ea4355ad67b1ece60c9b445e56c96b838832d4df2f50940832b3fa9555b596390464a4017a573bcf514c3 SHA512 204e859318ad5044639f2e682098b07c7cc675b54ba801feeb3322290bfd15316cc15a2cae8fa6a55e6ec6d1e9690790e5402652eb04720bfe96e172f4c8bdbc DIST sphinx-7.3.7.gh.tar.gz 7165383 BLAKE2B bcc68f26937e6aefe60cedea533a5c8e245c76b59ab4913fb6516f285e3afc32be60b336c662ac8305fb88e82fcc2b477128f2d8b9bf92f037b124f4c855df2a SHA512 540553ecddc55b3e673c79bc776a899d2c660f1e93ef819711be52174accf5b70465883a46bed81d163534e56718caf0765b4bae153e9307a3792387d8228df5 +DIST sphinx-7.4.0.gh.tar.gz 8186356 BLAKE2B 968d2bc887c6326c44c741cfdfeb67bb303c718d4283d8149b1ab7bafa84ef7f3ef5ff3fd72b82a207846e91bda3fff72ed6c8953c1bcf8482bc79b992f636f3 SHA512 fea84f86e414bba741537f4db68a1f0e0922f8fe6eea5e0eefac4a76bfb30d5eb97eb5590404c7e427b03c57b589844ebba8ef5f3f6d786ca91bb2dbbc704d8f diff --git a/dev-python/sphinx/sphinx-7.4.0.ebuild b/dev-python/sphinx/sphinx-7.4.0.ebuild new file mode 100644 index 000000000000..457f27a037c2 --- /dev/null +++ b/dev-python/sphinx/sphinx-7.4.0.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python documentation generator" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx/ + https://pypi.org/project/Sphinx/ +" +SRC_URI=" + https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc latex" + +RDEPEND=" + >=dev-python/alabaster-0.7.14[${PYTHON_USEDEP}] + >=dev-python/Babel-2.13[${PYTHON_USEDEP}] + <dev-python/docutils-0.22[${PYTHON_USEDEP}] + >=dev-python/docutils-0.20[${PYTHON_USEDEP}] + >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1[${PYTHON_USEDEP}] + >=dev-python/packaging-23.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14[${PYTHON_USEDEP}] + >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-2.2[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2[${PYTHON_USEDEP}] + ' 3.10) + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + ) +" +BDEPEND=" + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + app-text/dvipng + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.0[${PYTHON_USEDEP}] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + virtual/imagemagick-tools[jpeg,png,svg] + ) +" + +PATCHES=( + "${FILESDIR}/sphinx-3.2.1-doc-link.patch" + #"${FILESDIR}/sphinx-4.3.2-doc-link.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # we can't use distutils_enable_sphinx because it would + # introduce a dep on itself + use doc && build_sphinx doc +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + + local EPYTEST_DESELECT=( + # less interesting failures + tests/test_builders/test_build_latex.py::test_build_latex_doc + tests/test_extensions/test_ext_math.py::test_imgmath_png + tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html + ) + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_format_fully_qualified + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_none + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_signature + ) + ;; + pypy3) + EPYTEST_DESELECT+=( + tests/test_extensions/test_ext_autodoc.py::test_autodoc_exception + tests/test_extensions/test_ext_autodoc.py::test_autodoc_ignore_module_all + tests/test_extensions/test_ext_autodoc.py::test_autodoc_inherited_members_None + tests/test_extensions/test_ext_autodoc.py::test_autodoc_subclass_of_builtin_class + tests/test_extensions/test_ext_autodoc.py::test_automethod_for_builtin + tests/test_extensions/test_ext_autodoc.py::test_cython + tests/test_extensions/test_ext_autodoc.py::test_format_signature + tests/test_extensions/test_ext_autodoc.py::test_partialfunction + tests/test_extensions/test_ext_autodoc_autoclass.py::test_autodoc_process_bases + tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type + tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type + tests/test_extensions/test_ext_autodoc_autofunction.py::test_builtin_function + tests/test_extensions/test_ext_autodoc_autofunction.py::test_methoddescriptor + tests/test_extensions/test_ext_autodoc_automodule.py::test_automodule_inherited_members + tests/test_extensions/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults_special_constructs + tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module + tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped + tests/test_util/test_util_inspect.py::test_isattributedescriptor + tests/test_util/test_util_inspect.py::test_signature + tests/test_util/test_util_typing.py::test_is_invalid_builtin_class + ) + ;; + esac + + # note: pytest-xdist causes random test failures + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/validators/Manifest b/dev-python/validators/Manifest index a7e71cf11ada..b4b822426dda 100644 --- a/dev-python/validators/Manifest +++ b/dev-python/validators/Manifest @@ -3,3 +3,4 @@ DIST validators-0.29.0.tar.gz 67150 BLAKE2B 9c202b91dd8125e2d4dc62fdf0ebd5313fd4 DIST validators-0.30.0.tar.gz 68553 BLAKE2B 96a59c2155fa0a33c12502e36fb517b068a56edba7c161e722cea8832190a407b4a4c81beb85845239b7e76622e4fa31ff577b5278787fd7bbe441133762731f SHA512 96247ccf9ea5db12f6b405971aac11f834f64a83b7e6efdc6d04c81a9ff2901ece786bc2ad2301c738ff0eae8031a6aa2a1fef629048e61c2f365ab172408f46 DIST validators-0.31.0.tar.gz 69295 BLAKE2B 3bb7b9648ee434b1238df45d0adfec3ad74a8a8cbf46e66714f542288bf403464756b1a229060c07d47f01a546cc7902c794fe5b021ccab1c8eb828dd6aa965a SHA512 5c5101941b5b60722d9ef5bee993b4847fecfc926bbf8bf1bef96a21dad4f90adc1838778299bb95d3f3b891cb3ea9964d00ba1eec6f2fa16d790b4614094c8b DIST validators-0.32.0.tar.gz 69788 BLAKE2B 5d0eddae8c71d8ad0b9b646244502198ece878769c873691dc94dd0be2e87fb899a9a6e3593debd5195914ce5edb2f00f6563e16b1685d58259d1e0d9ef453c8 SHA512 34a68e8a3f7cb1a0489b7cfd4987fa44a1faea8be1e063fcda6cca3e010044ab3ea5b87c3c04fadbaa9dd6513b3ab32de72ec9a833428ed5f82b3df8d0d453f0 +DIST validators-0.33.0.tar.gz 70741 BLAKE2B e999d1ea14e2240523537804931fc91f5eb02d4ff35b22e8a292ff8785493ce48cd14ccf0d87ce945739c3e65a79b3a7654a66412bcc41e4e37e0fd87eefad72 SHA512 611844e182319209a2f6305daf3fcfc1801d9ad32179eaa9651844df37bd3d1d42bfd1e69be1e2c4fcd811a231228bc748a12dd6583248d5b572394cb9c9d858 diff --git a/dev-python/validators/validators-0.33.0.ebuild b/dev-python/validators/validators-0.33.0.ebuild new file mode 100644 index 000000000000..ee697b081282 --- /dev/null +++ b/dev-python/validators/validators-0.33.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python Data Validation for Humans" +HOMEPAGE=" + https://github.com/python-validators/validators/ + https://pypi.org/project/validators/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires eth-hash + tests/crypto_addresses/test_eth_address.py +) diff --git a/dev-python/zstandard/Manifest b/dev-python/zstandard/Manifest index fdbd0080f3d1..b7eea7e0b7c9 100644 --- a/dev-python/zstandard/Manifest +++ b/dev-python/zstandard/Manifest @@ -1 +1,2 @@ DIST python-zstandard-0.22.0.gh.tar.gz 707644 BLAKE2B ce400120f9106d729b50ae091a581f4a9fb2e796ec0872cb7db393aa7a55cf6e22cbff79c3ff780b4f609fbd8289a9744cbdfc730ba51cb09ee4e7c56b1dac9e SHA512 b3041217ad4b6297d0727dd5d22bc83645d43fa591985bef43e8633feb960310a3f2eb1edaa133595941a6932683af91d565266f312c987e6b6c514ce70c9ddb +DIST python-zstandard-0.23.0.gh.tar.gz 732448 BLAKE2B 920b53dc4a221059411062229ddf0ff51c478c2212e5599dec21298fef8e30b7a160c2f7d958ef95251ce5fb1357eaf4a8c3e4eca37304ef7a43176f723f3394 SHA512 06d799f8c5e89e5cc2f5b8ff100aeb3c3ff938757ce39852affb075487f65406d7d3f6d611b1864ec025fff86a51bf15b80c8af6260beda050b4fef5b7edd206 diff --git a/dev-python/zstandard/zstandard-0.23.0.ebuild b/dev-python/zstandard/zstandard-0.23.0.ebuild new file mode 100644 index 000000000000..f29d8f355012 --- /dev/null +++ b/dev-python/zstandard/zstandard-0.23.0.ebuild @@ -0,0 +1,76 @@ +# 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_{10..13} pypy3 ) + +inherit distutils-r1 + +MY_P=python-zstandard-${PV} +DESCRIPTION="Zstandard Bindings for Python" +HOMEPAGE=" + https://github.com/indygreg/python-zstandard/ + https://pypi.org/project/zstandard/ +" +SRC_URI=" + https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND=" + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # the C backend is repeatedly broken, so force CFFI instead + sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ + -i zstandard/__init__.py || die + # unbundle zstd + rm zstd/* || die + > zstd/zstd.c || die + # it does random preprocessing on that, so we can't use #include + local f + for f in zdict.h zstd.h; do + cp "${ESYSROOT}/usr/include/${f}" "zstd/${f}" || die + done + sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die + + distutils-r1_src_prepare + + DISTUTILS_ARGS=( + --no-c-backend + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # unreliable, fails on x86 + tests/test_data_structures.py::TestCompressionParameters::test_estimated_compression_context_size + # check for bundled zstd version, fails on other system zstd + tests/test_module_attributes.py::TestModuleAttributes::test_version + ) + + rm -rf zstandard || die + epytest +} |