From 48b1a38e1711d2eec2733c3cd4b1b8ae49fbc47a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 13 Nov 2023 22:25:40 +0000 Subject: gentoo auto-resync : 13:11:2023 - 22:25:40 --- dev-python/Manifest.gz | Bin 270008 -> 270022 bytes dev-python/apsw/Manifest | 2 + dev-python/apsw/apsw-3.44.0.0.ebuild | 51 +++++++ dev-python/elasticsearch/Manifest | 2 + .../elasticsearch/elasticsearch-8.11.0.ebuild | 71 +++++++++ dev-python/griffe/Manifest | 2 + dev-python/griffe/griffe-0.38.0.ebuild | 45 ++++++ dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.88.4.ebuild | 90 +++++++++++ dev-python/jupyter-server/Manifest | 2 + .../jupyter-server/jupyter-server-2.10.0.ebuild | 74 +++++++++ dev-python/kombu/Manifest | 2 + dev-python/kombu/kombu-5.3.3.ebuild | 83 ++++++++++ dev-python/numpy/Manifest | 2 + dev-python/numpy/numpy-1.26.2.ebuild | 169 +++++++++++++++++++++ dev-python/pikepdf/Manifest | 2 + dev-python/pikepdf/pikepdf-8.7.0.ebuild | 62 ++++++++ dev-python/sentry-sdk/Manifest | 2 + dev-python/sentry-sdk/sentry-sdk-1.35.0.ebuild | 128 ++++++++++++++++ dev-python/urllib3/Manifest | 2 + dev-python/urllib3/urllib3-2.1.0.ebuild | 87 +++++++++++ 21 files changed, 880 insertions(+) create mode 100644 dev-python/apsw/apsw-3.44.0.0.ebuild create mode 100644 dev-python/elasticsearch/elasticsearch-8.11.0.ebuild create mode 100644 dev-python/griffe/griffe-0.38.0.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.88.4.ebuild create mode 100644 dev-python/jupyter-server/jupyter-server-2.10.0.ebuild create mode 100644 dev-python/kombu/kombu-5.3.3.ebuild create mode 100644 dev-python/numpy/numpy-1.26.2.ebuild create mode 100644 dev-python/pikepdf/pikepdf-8.7.0.ebuild create mode 100644 dev-python/sentry-sdk/sentry-sdk-1.35.0.ebuild create mode 100644 dev-python/urllib3/urllib3-2.1.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index a230dd921d2a..cd000a3e5d0b 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 66392e0ed406..905e419987e6 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -3,9 +3,11 @@ DIST apsw-3.43.0.0.gh.tar.gz 887997 BLAKE2B ce74eaed990cdf4742ce39743abf0dc112ee DIST apsw-3.43.1.0.gh.tar.gz 901289 BLAKE2B 3f463896ce587326421ae78a26b5cccbc5c43a2c54b9502c166f599705fc9afe867c3be5f2ea4de8bc4d2da2f3bf09e034a27744d2114a5bc9b5c622bd852543 SHA512 a3343af87638f04786086c282cf50bfce3074e2a3165ebf172740be13021138a83356e594969791029879dfef12149775b48e0912eb14817358434b3b72ada67 DIST apsw-3.43.1.1.gh.tar.gz 901590 BLAKE2B 0fb1942aebf60443c12901e1b21bb7b9fce1e90d406bca80580563cee2d8aaf45b9c2294317cf374484fccd8b595439e13df01b14512514f78ec60ae1e905990 SHA512 3121e594a9d4c358ecb2f90becadc06fe987a3e7d6897fd655d5ae9aff6c8d1521257c2a34a68a8e6114cf7a71479544433e599522bee93e3fb729ee9763a112 DIST apsw-3.43.2.0.gh.tar.gz 908230 BLAKE2B e583cbb5c636b9d38762668d8cc664c7342e50a4330d3714a93679043e322ea03cf7c9bf09396ea5025e74ab66747fc509790e4f17fd722a654d6f8d1774949d SHA512 760ebef288bec4e08a06fc8e1e720e9c51ada19196efb7491988c7cab31dc54f9082c5cc668acf04d28818dbcd41a8a45df66c1fd78d2716862ec9a2faa022ed +DIST apsw-3.44.0.0.gh.tar.gz 899926 BLAKE2B ce162d757fbf5510355419dd279ea33235e8cdbd7a8b03f0288f730b66cad9d6aa09c91a3fe97f930422a1b8158c9b22d9ae8d5ee03dec657319a3bf6f24a04f SHA512 4cc4cacdbc03e522d149507bb875ae880bcd5b0130bb3babda7d873c52b3db362c8347ce6af412dc3a73b1fb8362d1c1fe9a51b2343b0c52ff1812582d91c564 EBUILD apsw-3.42.0.1.ebuild 937 BLAKE2B a11904255e059ce22b9bce2d56398223c290b5b415e1c1052cb2c15a3f7828a6d063b0e55c1ab60fe91675346802d5f4d53666a0382c62b5abaf9c397fde8920 SHA512 93a6fe2de39568fdcb1b0bb7317345cbb1257dacff73a710d662b1f4f74719b388b5adac3db5d851591b6e4d8b86d6a14afd33425a99bedfa61e33fac2a5b883 EBUILD apsw-3.43.0.0.ebuild 939 BLAKE2B ee016cfe238d13b36e179fe3e9d989010d0100884b9b8c1edb88be9408f43d2a6e20631461aa7e6aa53f356f260f5f6ae2877c8ef0c329206866c17d8c785200 SHA512 eee244a037366858c9b6ff3b5a25b2fe1e3518d02f6c45bab843f43923ee44ad0e84ac6dcf89d0fa56886d0b5fbffe9228b375591bfffa64be3dd85f68455dab EBUILD apsw-3.43.1.0.ebuild 939 BLAKE2B ee016cfe238d13b36e179fe3e9d989010d0100884b9b8c1edb88be9408f43d2a6e20631461aa7e6aa53f356f260f5f6ae2877c8ef0c329206866c17d8c785200 SHA512 eee244a037366858c9b6ff3b5a25b2fe1e3518d02f6c45bab843f43923ee44ad0e84ac6dcf89d0fa56886d0b5fbffe9228b375591bfffa64be3dd85f68455dab EBUILD apsw-3.43.1.1.ebuild 939 BLAKE2B ee016cfe238d13b36e179fe3e9d989010d0100884b9b8c1edb88be9408f43d2a6e20631461aa7e6aa53f356f260f5f6ae2877c8ef0c329206866c17d8c785200 SHA512 eee244a037366858c9b6ff3b5a25b2fe1e3518d02f6c45bab843f43923ee44ad0e84ac6dcf89d0fa56886d0b5fbffe9228b375591bfffa64be3dd85f68455dab EBUILD apsw-3.43.2.0.ebuild 939 BLAKE2B ee016cfe238d13b36e179fe3e9d989010d0100884b9b8c1edb88be9408f43d2a6e20631461aa7e6aa53f356f260f5f6ae2877c8ef0c329206866c17d8c785200 SHA512 eee244a037366858c9b6ff3b5a25b2fe1e3518d02f6c45bab843f43923ee44ad0e84ac6dcf89d0fa56886d0b5fbffe9228b375591bfffa64be3dd85f68455dab +EBUILD apsw-3.44.0.0.ebuild 939 BLAKE2B ee016cfe238d13b36e179fe3e9d989010d0100884b9b8c1edb88be9408f43d2a6e20631461aa7e6aa53f356f260f5f6ae2877c8ef0c329206866c17d8c785200 SHA512 eee244a037366858c9b6ff3b5a25b2fe1e3518d02f6c45bab843f43923ee44ad0e84ac6dcf89d0fa56886d0b5fbffe9228b375591bfffa64be3dd85f68455dab MISC metadata.xml 700 BLAKE2B 258344a1602daf3e081fdb4c94eda8af6e231def3f02fb80d63691b47d0a503c9caad80893386ce7ef42d6be2985906f3fc5cfedfe5a1044aee04c493f3d0683 SHA512 de73b4eb06d0bcf4c81e544a98ad15231b006d62fe22f6bce7e38740b941b98297fa1a38b00060ff83ae9f3259c5020c7071469f2a3f0d9e4f8f0301cb942081 diff --git a/dev-python/apsw/apsw-3.44.0.0.ebuild b/dev-python/apsw/apsw-3.44.0.0.ebuild new file mode 100644 index 000000000000..21c2e33d0999 --- /dev/null +++ b/dev-python/apsw/apsw-3.44.0.0.ebuild @@ -0,0 +1,51 @@ +# 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_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE=" + https://github.com/rogerbinns/apsw/ + https://pypi.org/project/apsw/ +" +SRC_URI=" + https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="doc" + +DEPEND=" + >=dev-db/sqlite-${PV%.*}:3 +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + enable=load_extension + use_system_sqlite_config=True + EOF +} + +python_test() { + esetup.py build_test_extension + cd "${T}" || die + "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index 322f48fd07a0..06586bd03175 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,5 +1,7 @@ DIST elasticsearch-py-8.10.0.gh.tar.gz 896444 BLAKE2B 7cadd9d23e31b42ba309345f228193a856ceac0c6b64786ae84668ff361f750d0413609b753b6faa113835eddb6b212b79bee0ee6e25025f2829b92b9109701d SHA512 2e72b726447f4fe139a7b1bb1a95e0eca613f53bb0c6d758b646203676835b56fedff418feca386d1300f8eb6ac2f14a5a99d7d7716bad286641ab43c9abcbc4 DIST elasticsearch-py-8.10.1.gh.tar.gz 889458 BLAKE2B 4e47a76743c48e8c9e34a8169d99d85139f3c395c643080a039dfe5e64fa0059f485c155a56ebb4769f9632c2dd0db3f7583f3db0a62d7180967f0515caf4092 SHA512 9e212584b86959330c65e1cb00b0eec4afc4a8daed59c7e6a2b918dbfb4c872e025b5ef65c299da5ca74afb53ca9c1a4d628f6fce96c7140b85aff83c6a09ecf +DIST elasticsearch-py-8.11.0.gh.tar.gz 897889 BLAKE2B de1821f17c16198c8b85b863e06468715fb080b4e9354499bd4fc5c485dc81bb3747ee73bd5e26edcab71922d67699cbaba79b35a900b80020532bac805e5727 SHA512 914e909f5f2d6ee980d3cff981d1d605d9380211014381e9e998af46d52e0fc0568524c7c9e8d8fed710b855acdb15b1eeb0bcdb59607b67f2f8f99546a1bda8 EBUILD elasticsearch-8.10.0.ebuild 2205 BLAKE2B cbebf02651af9ca85fd0acc64648b53d661e8f94b2995e8e4cc4395532035bb16fbc81667ad540b0a9d98745e29bc288e5a9ae8e2dc3b46d0f804bbdbb3f5f92 SHA512 a43dd76d27daa3613c34f662f3bacefad90c29a0fbde651e2ab0e2a643d78bc25628f180a65a3a07a99053e356b81ab85f9234bb98df9c92588fe9318c78b191 EBUILD elasticsearch-8.10.1.ebuild 2084 BLAKE2B 1da0dc01c133b9a9b24a4c24ffca767bc154f2e50283499e0dac9add8baf0bb844264b5844c0a32649489fbd4cf2690652a646a49c3092d353ae34b80923469c SHA512 3db9b08adb2b46756fd8da73d83bb1d7eee0ea40b0c36232c46e4400e3bf1f43f7f73f975e3c81d419b151ff7f67dcf95666a58768350fc3be185a9fee3379ed +EBUILD elasticsearch-8.11.0.ebuild 2077 BLAKE2B 45ac7ef522aa8927d41126ead24091a8ceb2c3275cc349ca6911a690b0569343505cf3a629c45ca19113628539c32b206b0291452de4cabd6e4a2d64c217f91a SHA512 9b46844dcd2fc13fe40e3e501199207ff36d651f5113bd74d043694c16d61738d4437d9f3977801395901ce2bedcca247733b164a009a358bddc00b29655377a MISC metadata.xml 563 BLAKE2B 55aa4f1e346ef660c4c8c5bf53518685e68fea80787d4a4175405e67c2b6e9c31d14fd48577c48c82ed59651c32110d4dbbd907ce29b599ca3bddddd1b5e808a SHA512 142657aca39d615755acb7cd6bdaa920935640ce1e3f00a241bb2a41ce2745fd73e341b80edf3fd830e9c9796285df1d69e62b868252602b6ff9e1ff6a2be599 diff --git a/dev-python/elasticsearch/elasticsearch-8.11.0.ebuild b/dev-python/elasticsearch/elasticsearch-8.11.0.ebuild new file mode 100644 index 000000000000..59a9b7acf2e5 --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-8.11.0.ebuild @@ -0,0 +1,71 @@ +# 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_{10..12} ) + +inherit distutils-r1 + +MY_P="elasticsearch-py-${PV}" +DESCRIPTION="Official Elasticsearch client library for Python" +HOMEPAGE=" + https://ela.st/es-python + https://github.com/elastic/elasticsearch-py/ + https://pypi.org/project/elasticsearch/ +" +SRC_URI=" + https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + =dev-python/aiohttp-3[${PYTHON_USEDEP}] + =dev-python/elastic-transport-8[${PYTHON_USEDEP}] + =dev-python/requests-2.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + dev-python/unasync[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # REST api tests are a black hole for effort. It downloads the tests + # so its an ever moving target. It also requires effort to blacklist + # tests for apis which are license restricted. + "test_elasticsearch/test_server/test_rest_api_spec.py" + # Counting deprecation warnings from python is bound to fail even + # if all are fixed in this package. Not worth it. + "test_elasticsearch/test_client/test_deprecated_options.py" + # Running daemon for tests is finicky and upstream CI fails at it + # as well. + "test_elasticsearch/test_server/" + "test_elasticsearch/test_async/test_server/" +) + +distutils_enable_sphinx docs/sphinx \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 2be3779e4cb4..8e42a7790d1e 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,5 +1,7 @@ DIST griffe-0.36.9.gh.tar.gz 197054 BLAKE2B 0351e72bf119bd98c392c56f254bf632552077d340c0c27b51780934c8baff1e6d33712f65bf31fefd2a8864d110790a78de3d77e2f5cf19429c9b68a5a01b9c SHA512 1b4cdfcfe6c1946183d3445e16b6f689cecec259842c97793af7fb60be3b885da82fddcfba74bed3ba82a8f475fb0321c2ebb03fe02feca80888c244cc4493df DIST griffe-0.37.0.gh.tar.gz 200702 BLAKE2B 763c30608c7b7ba9cb514f99d19c3fff17811c71325416e9c810b45f4d61778c3d7630789635d6373694b5930532f297edc4f1f8109cc2b6f3273825e7a9be13 SHA512 c042d5fa7b1ecc474137006d54f7b0d68e84abe9db853083e2af9c2e144e1d9216e02ada31cfe8de8d278e892b100cf9e060609acb441c6b25c28a53400b9e2d +DIST griffe-0.38.0.gh.tar.gz 200933 BLAKE2B f7c6ac0761cbb0ed71009e67311022725c3f9417065216abb1a7b49faf4b4fbe89ce70e46ed0261cf0209d48e135b571ecd1462fca747386b52b382784231a3a SHA512 cef4fb0b575e5a9343ce8090112e83be3d7127b8d5320b99a33b42aec8b38c2bf450ccadbeb23c5c371d528096ee02652d4e7c4d3ed458817794c32d6740aa91 EBUILD griffe-0.36.9.ebuild 958 BLAKE2B 10c44ac7ea571eac3359a86c6f614a0281c08af4600e92757877ffe96cdd38f1080f5677143487429b436e913399b26d02917961a9d300f9cd97446b7e8ca15f SHA512 03f908068ab85bff169f4e2dff0a3750cb78f9ad9837a706cd8acb6c6a72d4cf57ecc35de39367320c8cf4b816f0abbba043ce457919985cdfc10acb3d536756 EBUILD griffe-0.37.0.ebuild 956 BLAKE2B 3c16be3357ffd2d55b2c47f681c7a9d824a804cc2171b57cc7930ef6094e29ebbffe23cf45e64dcf5da4ac0e5e20ec43fcb83c39dad16d304a6a9dfc1893bfbb SHA512 32b7cc82978c997aa6561da4cf71779d61d38641c039d99b17ede6689f0077ca2a24e49a661c4b39a7ae513ddd5e1aadd7a7b3a07cebd66c6730684ae921f66e +EBUILD griffe-0.38.0.ebuild 956 BLAKE2B 3c16be3357ffd2d55b2c47f681c7a9d824a804cc2171b57cc7930ef6094e29ebbffe23cf45e64dcf5da4ac0e5e20ec43fcb83c39dad16d304a6a9dfc1893bfbb SHA512 32b7cc82978c997aa6561da4cf71779d61d38641c039d99b17ede6689f0077ca2a24e49a661c4b39a7ae513ddd5e1aadd7a7b3a07cebd66c6730684ae921f66e MISC metadata.xml 398 BLAKE2B eb35dbbdd7d3482404991416d9e06e3e87f88a96cc91d481b5a2f53eb732172116b4cfefa1a65f9ba8db44e2b10ed0fd6e4031b7d17382e9e931d1a2eedb322e SHA512 833aac5d52c2584143d67b7ad325e9538cee17d454410b3c4708ad9b47f58d3b2c0875d735b149603bb36ae124d24343b2e456a6db5e5f806da2e13f32c108cc diff --git a/dev-python/griffe/griffe-0.38.0.ebuild b/dev-python/griffe/griffe-0.38.0.ebuild new file mode 100644 index 000000000000..ea86f7d917ec --- /dev/null +++ b/dev-python/griffe/griffe-0.38.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=pdm-backend +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Signature generator for Python programs" +HOMEPAGE=" + https://mkdocstrings.github.io/griffe/ + https://github.com/mkdocstrings/griffe/ + https://pypi.org/project/griffe/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} + +EPYTEST_DESELECT=( + # fragile to installed packages + # (failed on PySide2 for me) + tests/test_stdlib.py::test_fuzzing_on_stdlib +) diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index f4b5992c20b7..d61adb6fa064 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,5 +1,7 @@ DIST hypothesis-6.88.1.gh.tar.gz 9391389 BLAKE2B 0d258ff3e662bdef1c8321119c49ae4a8f1191edb316ab6262023c7da667f553b94386c28fcc40bfe06d545ae33a28b907750d4caaee8be7614a1ad578370f25 SHA512 e9376aaacd5cf405f0a28b9a9e63fc1d83506ad286579e1ae2165006cd87af1aefac68e34dd5164159f86bffa3f1da29ce86fc3254dcb11183d653b71377c41d DIST hypothesis-6.88.3.gh.tar.gz 9391730 BLAKE2B 439b5d4aca9f8163bebb7b0ba632fc1d7eb49a61e656c3849287b700bb92c5aea02a30d816029152243c03050e67351a8a6c4dd87ed6eaadd5a81f5a72c8c139 SHA512 780a83928ffdc976c581df43874a1d1e4ec82d9c27f6bc151e5a4103dd9e4d18de0609af8964136cc041ebec258b1fd2c6438b66636e9cd8e7f81a88381bf5ce +DIST hypothesis-6.88.4.gh.tar.gz 9392092 BLAKE2B d33e764fc02111f37efa678927d48f1de7097156c401ab85c7a3fc16f22ff3582bfaec8fef60e010d9a9953bcdbbd8f212b5a7765a7967b93d6dd4bb1d6e5915 SHA512 420dd525abb56dad8983b16767cb4d7f4b411ee68439e2317d7be5582fcf9a8735929b4746bbfc37b286d389dcd36c38da797466bd6c4c555d108a56b30511ad EBUILD hypothesis-6.88.1.ebuild 2475 BLAKE2B 9497be26b5a9c37d122cf9f1f9d6b87a1a24beabb228bb13d8c8e10427ffb1562d8603f36368d0cb0c43ad733b532bd68a9821973e05f89e9e5097fd33cdfaef SHA512 83c2c393c14eb01aff47d47892cb64c16fdb5973ef6e825dd12f4bc5c0962b723ad2ce2ee1f4c4593b261355e41beb261abaf21c3d2f845d65c860fbc6b75e1b EBUILD hypothesis-6.88.3.ebuild 2483 BLAKE2B bae85fbb1a28d39220bfe9b5f4f0dca5c720b7e6faaf78f38b39dbead435df0048f90b6bd167536ea83c72cd6a058f4c9a23208fabb38d99e1d73e0f180125e7 SHA512 1ea3f5e15d332d9cbff80a71e260f17c7123cc927a284024a2cd53bea51892edba5f0d9e18c5b148e5513383fe73985a10f52262ba49951b5b4e7a7c349d4171 +EBUILD hypothesis-6.88.4.ebuild 2483 BLAKE2B bae85fbb1a28d39220bfe9b5f4f0dca5c720b7e6faaf78f38b39dbead435df0048f90b6bd167536ea83c72cd6a058f4c9a23208fabb38d99e1d73e0f180125e7 SHA512 1ea3f5e15d332d9cbff80a71e260f17c7123cc927a284024a2cd53bea51892edba5f0d9e18c5b148e5513383fe73985a10f52262ba49951b5b4e7a7c349d4171 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.88.4.ebuild b/dev-python/hypothesis/hypothesis-6.88.4.ebuild new file mode 100644 index 000000000000..5d255dfeb3df --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.88.4.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 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=( "${CLI_COMPAT[@]}" 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-19.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/tornado-4.2.1[\${PYTHON_USEDEP}] + >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] + >=dev-python/zstandard-0.18.0[\${PYTHON_USEDEP}] + " "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + # upstream considers 0.5 s to be "long" for a timeout + # we get tons of test failures on *fast* systems because of that + sed -i -e '/LONG_TIMEOUT/s:0.5:5:' test/__init__.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x CI=1 + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + # take forever + test/contrib/test_pyopenssl.py::TestSocketSSL::test_requesting_large_resources_via_ssl + test/with_dummyserver/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl + # stupid test, next bump please verify if they fixed it + test/test_poolmanager.py::TestPoolManager::test_deprecated_no_scheme + # fails with newer secure SSL configuration, which removes TLS 1.1 + test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1::test_verify_none_and_good_fingerprint + test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1_1::test_verify_none_and_good_fingerprint + test/with_dummyserver/test_https.py::TestHTTPS_TLSv1::test_verify_none_and_good_fingerprint + test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_1::test_verify_none_and_good_fingerprint + # TODO: timeouts + test/contrib/test_pyopenssl.py::TestSocketClosing::test_timeout_errors_cause_retries + test/with_dummyserver/test_socketlevel.py::TestSocketClosing::test_timeout_errors_cause_retries + # warnings, sigh + test/with_dummyserver/test_connectionpool.py::TestConnectionPool::test_request_chunked_is_deprecated + ) + + # plugins make tests slower, and more fragile + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # some tests are very fragile to timing + epytest -p rerunfailures --reruns=10 --reruns-delay=2 \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} -- cgit v1.2.3