From d7c0aa05b3a48c9b2bad24e3d805820f861165c6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 21 Sep 2023 17:14:54 +0100 Subject: gentoo auto-resync : 21:09:2023 - 17:14:53 --- dev-python/Manifest.gz | Bin 267978 -> 267984 bytes dev-python/notebook/Manifest | 2 + dev-python/notebook/notebook-7.0.4.ebuild | 61 +++++++ dev-python/pandas/Manifest | 3 + dev-python/pandas/files/pandas-2.1.1-which.patch | 12 ++ dev-python/pandas/pandas-2.1.1.ebuild | 202 +++++++++++++++++++++ dev-python/pyproj/Manifest | 2 + dev-python/pyproj/pyproj-3.6.1.ebuild | 55 ++++++ dev-python/scikit-build-core/Manifest | 2 + .../scikit-build-core-0.5.1.ebuild | 53 ++++++ dev-python/sqlalchemy/Manifest | 2 +- dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild | 14 +- dev-python/unearth/Manifest | 4 +- dev-python/unearth/metadata.xml | 1 + dev-python/unearth/unearth-0.11.0.ebuild | 39 ++++ dev-python/urllib3/Manifest | 2 + dev-python/urllib3/urllib3-2.0.5.ebuild | 87 +++++++++ 17 files changed, 530 insertions(+), 11 deletions(-) create mode 100644 dev-python/notebook/notebook-7.0.4.ebuild create mode 100644 dev-python/pandas/files/pandas-2.1.1-which.patch create mode 100644 dev-python/pandas/pandas-2.1.1.ebuild create mode 100644 dev-python/pyproj/pyproj-3.6.1.ebuild create mode 100644 dev-python/scikit-build-core/scikit-build-core-0.5.1.ebuild create mode 100644 dev-python/unearth/unearth-0.11.0.ebuild create mode 100644 dev-python/urllib3/urllib3-2.0.5.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 2afe5025035b..29c66eb48bbf 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index e3c72a00e3c2..27a6ce681acf 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -3,9 +3,11 @@ DIST notebook-7.0.0.tar.gz 3922786 BLAKE2B 5aaeae9f48c456691607d5ef05012368f0e6a DIST notebook-7.0.1.tar.gz 3926420 BLAKE2B a711c6202ec87f5b9ee9b82779048f4dc366643a645890006b6588ddd70428e79e4028171cc4b4fb4fa1e6f93a2a948aae34980915ad4a2a5f7c34971e6bf917 SHA512 4bfae67044525527c1d5ff1dd269c8ca1179bbef3a9f0cf043244103c996f02ef4cbbf11c4ceffe84ca0cb0a8250f18cd3ebf6dd55cca53ceaa47f65df7dae22 DIST notebook-7.0.2.tar.gz 3927445 BLAKE2B 09f867a5eed76616d749afcd18bf673fc2c09f5073a17d5a89a284d8aacb9e110a67f24973e0ba165027b3199f8e9032f549aabcbd8d3bc67a9d6533d21a4e09 SHA512 b204f15f855f8e829dfd1d325be664cc0328e2b897d838bfd9721ca369d4da8d0d1012bff69b40a35f0b186d3eae5f46326604eefb0b8e91824a815deedbcc67 DIST notebook-7.0.3.tar.gz 3934398 BLAKE2B 0047d1fa403e3fb6ededb764f99f9e76aaba6099055ac6dd28183e8d7921dc8a9bb68072b7909f4fb749a26f01989c88c45cf58fe3583250bb0bf9d0847dc1ac SHA512 141acc5b46b7c3023c5aab3cdcfaa287225c627bde053f8958bdce5bdfd600ba2bfa5f119ce8b026cf1889cd7acb265a4c13eae6b0afdd1ed2a4fcfb3264976f +DIST notebook-7.0.4.tar.gz 3928907 BLAKE2B edd498636d35f348f520915d43686243a3ff4b2f8ad4984bc05766403a3bffcd699e1ba691b672ad3ab8f08983920f62a1c5b0308a94e4a7366eb30e049f5d43 SHA512 e174fcbb93fcaf67c086b2160d7875457681222e21c23efbf35d4c7503e528df3b368b4d122eebf199a86ea155cf3e6b7b15036587bb9b4260a8d22e7e4a9f0b EBUILD notebook-6.5.4-r1.ebuild 2853 BLAKE2B 3ad7fccf7275e6ed5ce108b1cba77ef1edfd8a53bdef93fc1e722286c5c56c2f4b517ba1cf258df7c6c49ae0faae5459f9c2e1e4f9dbd864900de0f60236b74a SHA512 6313060841c0c819997cbf9e5da073f2aaad251ae125ece203e8a51a34b3596c1e1a65d3e7552204bde5b96896577e5b3098a0af4c247b676a78bc84880770f9 EBUILD notebook-7.0.0.ebuild 1372 BLAKE2B aa606d66cdfb2faba671c8f7374b8663a379283dee947b49d9972a2149423d59a4866ce184a01ea522f0413786c7f6141d04a4e3a6c23d74ee7f1f6bc4ca29e1 SHA512 98326f09605a5a08fbba7931724ba5a1941ed89d36d0d36b4633ec00de068195dce15a79d642bbbef0030932d4bb434f0ba4ed86d0fdb0a362337a677dde26c5 EBUILD notebook-7.0.1.ebuild 1372 BLAKE2B aa606d66cdfb2faba671c8f7374b8663a379283dee947b49d9972a2149423d59a4866ce184a01ea522f0413786c7f6141d04a4e3a6c23d74ee7f1f6bc4ca29e1 SHA512 98326f09605a5a08fbba7931724ba5a1941ed89d36d0d36b4633ec00de068195dce15a79d642bbbef0030932d4bb434f0ba4ed86d0fdb0a362337a677dde26c5 EBUILD notebook-7.0.2.ebuild 1403 BLAKE2B 4338a8c32833f54778309d45a8e49f3df57043501acd7323e1f8a5e651eeada008b3379008cba6d9c8ca743db5d728cd5680ba69315138d08278c404b84fbb43 SHA512 c286927a298e230f962521dfaa77c79412cf8eac6ebd644b2cf5b14145157aa0c84ff0b39b4f46095d145c58695b3f93338aeba8087d5c7f90b0cfe323f1e416 EBUILD notebook-7.0.3.ebuild 1488 BLAKE2B c436929a4b6c93cc1369c74cb15c09dcf20b233277f19c0b59f82893614aa8999ef2b36a1f4d64c87a0f4a650fc179db3cb9f840af85b88c5232b9caf1857b92 SHA512 9757f113602abebed7dfecefea1ae1aa9d8797e5b9ef35437bb0e39933d2c8a475738597439ff7d4301df471ee4c5df00a9b1d07f129abc6836adcc79b775ea4 +EBUILD notebook-7.0.4.ebuild 1488 BLAKE2B c436929a4b6c93cc1369c74cb15c09dcf20b233277f19c0b59f82893614aa8999ef2b36a1f4d64c87a0f4a650fc179db3cb9f840af85b88c5232b9caf1857b92 SHA512 9757f113602abebed7dfecefea1ae1aa9d8797e5b9ef35437bb0e39933d2c8a475738597439ff7d4301df471ee4c5df00a9b1d07f129abc6836adcc79b775ea4 MISC metadata.xml 525 BLAKE2B 03602bbd7c6b55aaa4c4d6011a91127090359079ed2d7e6b9e3cefe63b2b249b36cd172a40d1ce69234de2440d9248e933dd94a636b95c07f06a658ecb929227 SHA512 18f6bd5cb4b1c90cc228a5ee506cea17c4aa9d60174e00c7cb4df654d5d7158aa20ea6346bf9a0734877402a0e0916aa7f9e82f0bdce0cca78c877c5e87550e3 diff --git a/dev-python/notebook/notebook-7.0.4.ebuild b/dev-python/notebook/notebook-7.0.4.ebuild new file mode 100644 index 000000000000..955c05ae6c3e --- /dev/null +++ b/dev-python/notebook/notebook-7.0.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi xdg-utils + +DESCRIPTION="Jupyter Interactive Notebook" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/notebook/ + https://pypi.org/project/notebook/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + =dev-python/jupyterlab-4.0.2[${PYTHON_USEDEP}] + =dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + =dev-python/tornado-6.2.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/nbval[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${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}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest index 7b54195c5f0e..b3070c52644f 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -1,4 +1,5 @@ AUX pandas-2.1.0-build-system.patch 1917 BLAKE2B 22a9e64f6b657394a6f66bbd0fe62c77f7b25bcb1dd2faf528f54cb202a123adfe3da1ed706363d6b6bac5d1852e01b366cf5e551827254038b2700b86877923 SHA512 3c7a9ab7ac8f324674e171c91c21006031882907f47ed5cf9b5a1e02fbc025ed579bdf0622fb392809fa4b9478f6c5492efa38eae166056d9595d2e4ea5821c3 +AUX pandas-2.1.1-which.patch 393 BLAKE2B d5a988d64efbe28a1d2e533eae2d2ac88a31a08697a112682af1fce07429fff7e7846fe378d6ab487cf8aebf30b357c022763f5fc578e6b90c7ced1ea1af97f1 SHA512 3e7895561aab74e3b3afbad46f371f97fa4ae7b7f8158961896114a9c62e9a4544e81f9cdce983029809a95cc23350bb9698d8b4acc92f34e3a5b844b7811edb DIST pandas-1.5.1.tar.gz 5199286 BLAKE2B 17d98870f3397d7a9289a18708021a614b1d456e2ea99dae8927727aabb8aab73bd31f25c3035947f8f4c38404e7d971bf999500b300307b19a2cf6029763d0e SHA512 e5f25f21f17f36c6488f14fbfa391beb9f1989652de01cb8346d2826dead9331fea27295ee1e6f42d0875f2f1a91fcd23d606edd339432589bca5ba8d89e5ecd DIST pandas-1.5.2.tar.gz 5201551 BLAKE2B c6a8156a6c116f1b576837882e4ad4ada6cf21bf72acd673d74bdb1dda4f97f88a5e6422e8f8ad2fbbb85a334cd68cb0abae316d5826c54a85baf8b325ab6183 SHA512 1e6b653ff418c839895946123f90fffcfafd57f24dfbd6bae4e9988893b7d57d6276ed101112c8f9730af53f600d006fe3a53bbed597c0376856f2cfc90c1f05 DIST pandas-1.5.3.tar.gz 5203060 BLAKE2B 846a6caa8ead6a2556303494f92e2091582d8fcde2aee424fa172c4e29c189a7305261f6a931a20249e969668646ff4a3d605ee1b57785fa3677dfbd137b3602 SHA512 3c725c33dcaf78b952d2eb966ced73ff0073162a01d3cbcb722d58d8f12a82163e6e684c27284c735bdfb32dea263b960f70f6a80ff93e6b316316d40835ae35 @@ -7,6 +8,7 @@ DIST pandas-2.0.1.tar.gz 5279594 BLAKE2B 84dbab2c6079c77eb7f367aaabc2f4d0c8205a3 DIST pandas-2.0.2.tar.gz 5290568 BLAKE2B 26eb9db6c1c2b4f9ae31b3aae09fc4db930d13e59b2037261eb2e3006a04402bc0a502febe29c0a3e071953bfbf4efac56eddf14bca2e22be0128e82d649a958 SHA512 feda98a2f83865d0ecb3fc2c37c927ddcd075f621954758eee26f1e9a0d9d1367ce790972f4ee3fb5928731ac157533345635fed390fdc306541047ab47fda60 DIST pandas-2.0.3.tar.gz 5284455 BLAKE2B 42db94dd031ca10c87434f4f903509abf0e6c2c3e3561ae5f5db6db09ebf95996aaa34e1f98a3e33f2b687c69dd1b38dc136d5928da2c096756b6755bf9b31c0 SHA512 bee3640521692545cb063b78c85f5ab90817c8029156f97856af4c9edfcc3e13596b48c4c1b4060c92e7e75b3b876d0734f7c1e3b2096d44c52ec09372c99d2e DIST pandas-2.1.0.tar.gz 4263970 BLAKE2B cae30e74fa227252a4d05a032662f5229d676917720b7cca5a85d91a680f11bca7b0fb8ac79bdf1cd7f580aab99db1bd13571b86510516d10a74b1197abebbd1 SHA512 85a64ef7abffdb3a78547942dabfe621d7c8e2cf0da5285e64a9018865fadb037e030d5077a1790acecc1616200f50a777c6ab775b888a72d7fc36cd8855a704 +DIST pandas-2.1.1.tar.gz 4266250 BLAKE2B 9d8256300db65b606e34b16d7f3884b602794fe3c14d66115056db4a4658603fbe7a7a3082dfc781760517d643d6e21a6d4d43441131ec6aed5965b6fa8a0e9c SHA512 346e13e06805948c569712028c9b8d756c67ca2fab040999a51a4e759206d50d8ee25be38ac3c7cb3d2e692a02d85c1ec198841311fe43cb04b64f2741627a4e EBUILD pandas-1.5.1.ebuild 6909 BLAKE2B 8a3ee48ae2b0b10233d414f143091f77b51fe3d968bf679d8b362b710937993c28297959239b9531a92919b5d9dd83a1ffe7d2df5db19e799cba2c0723e0a774 SHA512 9efcdc4e5f7f8f29507731ca626fa6f64397cb0cbfbbdccd0781e6b832eba64c03ae696544cd244fb9880c623f020890b126412e030c48476c3cc0ee5a9d3e77 EBUILD pandas-1.5.2.ebuild 6910 BLAKE2B a7ef8833787337a956d8989fa4b0aae4ef563146c1a68b2a119fcb8dc35594bd2f1bbcd1602837b5fc4fab51df288a5b3ce34ca00e5786939de34755189e3bc8 SHA512 e306aa3aab429e6c103cd7f4996d65453afd7bc22c9cf5199f1bd1dd8db3b8b8f6c705d7c28aa0608788c6e445dd1873691f9dbe3a832f965f38eeaade331c28 EBUILD pandas-1.5.3.ebuild 7217 BLAKE2B c896ebe7eb6dcdba2270ddc9f409062cc3b7ca8023efcc882a7425bf9bcb9eb4f8c5279f4a4eba66095af3563196594ad8d63ffe8072298f02dd131245a125db SHA512 0c3529e608cc9c962593877a3547b7e7bdac7ae1c013d87597788cc4b4129a18a233b0ea892fbc2c94b67669326590d1c8210f8c94d183a372db2b538725518e @@ -15,4 +17,5 @@ EBUILD pandas-2.0.1.ebuild 7588 BLAKE2B 3a3a1521afac590f111aa3147ed2a0c36a76bc69 EBUILD pandas-2.0.2.ebuild 7666 BLAKE2B 1b9b8727606719ef15b98e011edd92ebb105367172a9fca7d93e506f181caa6b3c2eb3a85a97b27ec5195c020e76e9dd81936bf433828931a30ccb1adafe47a2 SHA512 0e5e028ce7ad9106dcbc5d2af08e247d86e81e8c6ce85a8ff4fd663a32c839ea2420ff41394ff872935d34c143008a7a957d747a64ae698ab3ff707f2231fcfe EBUILD pandas-2.0.3-r1.ebuild 10177 BLAKE2B 4ff6ce892695c57cb017503238ce0f0abe33a72f2071146fd5a1ec03ca6d298ce6bd80adbfa5e1511562cd461dd7259bc7709f20e7c8c194efffab12792e7e44 SHA512 dbe141e8b5e5cf2a068c2738a95e1a2df98d6f376542e960e674c03bc418ac077e3e9c6d1c9dd09d8b3a32c6afbd9b19fad25e9c0cbf3892e5e16e8660f71df2 EBUILD pandas-2.1.0.ebuild 8597 BLAKE2B 56107f36b035dd7ac32e581365a879a5af5cd81e561f3fd8054966854da395302c5b2fa763b1a2bed894f1b815f513ec1944f1a1d85d34bf9df652ba1db212fd SHA512 b3ec18855539cd63dc5015d03d98241d53328bc1505f14564f36935a7fd191eee4e7c0bc186a78194f99ecfde015ee426d89d526baa38605ec02f7342ec927fa +EBUILD pandas-2.1.1.ebuild 8625 BLAKE2B f6ec3e151ccd8c263ea2be97e650226690ead5f8bf19fd3d0dee6d3f43cfe6cb4339efb1caffc0f508883a44c9703e8c6bf3c092bada466adcae657562409a27 SHA512 8ed3c967a4235c002e42de8c75afb453d2b33f3965790dbf3d05a100df3a2f80f45b112e1fc737e9502db57be4a34f6cbb6a3de99d345876807aa010db296da4 MISC metadata.xml 920 BLAKE2B d6bd854acdd851d578038657d91adaedf4f220dbdc5905ebba5e35e74437c6d5bc2384061f7796a6f359aa128c526485635debfd0e1a9646d09daed740167c87 SHA512 dcd949e89cae9df918acb3cf8be5ad8c396ee5e646d2179aa2b646fafa15ffc11e9ccf853df8d7fdcc787f88ce7063639d8d87715aaba943774edc8ad98b540a diff --git a/dev-python/pandas/files/pandas-2.1.1-which.patch b/dev-python/pandas/files/pandas-2.1.1-which.patch new file mode 100644 index 000000000000..424c10af82ae --- /dev/null +++ b/dev-python/pandas/files/pandas-2.1.1-which.patch @@ -0,0 +1,12 @@ +diff --git a/pandas/io/clipboard/__init__.py b/pandas/io/clipboard/__init__.py +index c07f51d875..14d79fb367 100644 +--- a/pandas/io/clipboard/__init__.py ++++ b/pandas/io/clipboard/__init__.py +@@ -87,6 +87,7 @@ else: + + + def _executable_exists(name): ++ return which(name) + return ( + subprocess.call( + [WHICH_CMD, name], stdout=subprocess.PIPE, stderr=subprocess.PIPE diff --git a/dev-python/pandas/pandas-2.1.1.ebuild b/dev-python/pandas/pandas-2.1.1.ebuild new file mode 100644 index 000000000000..175a31dc5052 --- /dev/null +++ b/dev-python/pandas/pandas-2.1.1.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="threads(+)" + +VIRTUALX_REQUIRED="manual" + +inherit distutils-r1 multiprocessing optfeature pypi virtualx + +DESCRIPTION="Powerful data structures for data analysis and statistics" +HOMEPAGE=" + https://pandas.pydata.org/ + https://github.com/pandas-dev/pandas/ + https://pypi.org/project/pandas/ +" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +IUSE="full-support minimal test X" +RESTRICT="!test? ( test )" + +RECOMMENDED_DEPEND=" + >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] +" + +# TODO: add pandas-gbq to the tree +# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 +# https://github.com/statsmodels/statsmodels/issues/8287 +OPTIONAL_DEPEND=" + >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] + dev-python/blosc[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] + >=dev-python/pytables-3.7.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] + >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] + >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] + >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] + >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] + !hppa? ( + $(python_gen_cond_dep ' + dev-python/statsmodels[${PYTHON_USEDEP}] + ' python3_{8..10} ) + >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] + ) + X? ( + || ( + >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) + ) +" +DEPEND=" + >=dev-python/numpy-1.23.2[${PYTHON_USEDEP}] +" +COMMON_DEPEND=" + ${DEPEND} + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] +" +BDEPEND=" + ${COMMON_DEPEND} + >=dev-python/cython-0.29.33[${PYTHON_USEDEP}] + >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] + test? ( + ${VIRTUALX_DEPEND} + ${RECOMMENDED_DEPEND} + ${OPTIONAL_DEPEND} + >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] + >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] + >=dev-python/pytest-7.3.2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.2.0[${PYTHON_USEDEP}] + >=dev-python/psycopg-2.9.3:2[${PYTHON_USEDEP}] + >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) +" +RDEPEND=" + ${COMMON_DEPEND} + dev-python/tzdata[${PYTHON_USEDEP}] + !minimal? ( ${RECOMMENDED_DEPEND} ) + full-support? ( ${OPTIONAL_DEPEND} ) +" + +PATCHES=( + # a quick hack, it's already fixed in main + "${FILESDIR}/pandas-2.1.1-which.patch" +) + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # test for rounding errors, fails if we have better precision + # e.g. on amd64 with FMA or on arm64 + # https://github.com/pandas-dev/pandas/issues/38921 + tests/window/test_rolling.py::test_rolling_var_numerical_issues + + # TODO; unhappy about DISPLAY? + tests/test_downstream.py::test_seaborn + + # OOMs + tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb + + # TODO: numexpr says "forbidden control characters" + tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable + 'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]' + tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string + tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces + tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis + tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces + tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax + tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in + tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope + tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope + + # TODO: missing data not covered by --no-strict-data-files? + tests/io/xml/test_xml.py::test_empty_stylesheet + tests/io/xml/test_xml.py::test_wrong_file_path + + # TODO + tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path + + # deprecation warning + tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2 + + # Needs 64-bit time_t (TODO: split into 32-bit arch only section) + tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' + + # hdf / pytables have alignment problems: bug #911660 + # https://github.com/pandas-dev/pandas/issues/54396 + tests/io/pytables/test_append.py::test_append_frame_column_oriented + tests/io/pytables/test_store.py::test_select_filter_corner + ) + + local -x LC_ALL=C.UTF-8 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die + # --no-strict-data-files is necessary since upstream prevents data + # files from even being included in GitHub archives, sigh + # https://github.com/pandas-dev/pandas/issues/54907 + epytest pandas/tests \ + --no-strict-data-files \ + --maxfail=32 \ + -m "not single and not slow and not network" \ + -n "$(makeopts_jobs)" --dist=worksteal || + die "Tests failed with ${EPYTHON}" + rm test-data.xml || die +} + +pkg_postinst() { + optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck + optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" + optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml + optfeature "for msgpack compression using blosc" dev-python/blosc + optfeature "Template engine for conditional HTML formatting" dev-python/jinja + optfeature "Plotting support" dev-python/matplotlib + optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt + optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.7.0" + optfeature "R I/O support" dev-python/rpy + optfeature "Needed for parts of pandas.stats" dev-python/statsmodels + optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" + optfeature "miscellaneous statistical functions" dev-python/scipy + optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel +} diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest index 0e659225062a..edd287ea3c11 100644 --- a/dev-python/pyproj/Manifest +++ b/dev-python/pyproj/Manifest @@ -1,3 +1,5 @@ DIST pyproj-3.6.0.gh.tar.gz 238966 BLAKE2B 441904a343b7abab19e9d17a1bcb053d4f5606886b1325cfadcdd8456b61871bee4d13c49802008aea5c5864c40ef15a4a7681969890368a1991ba696b76ab78 SHA512 e713de94331022112049e76f7f56d24439a0dee339e8419acf8b023b3234a7c2ba468bed880749036fca2a93b289575ebb74854ba178f3b6debae8aa53befcf7 +DIST pyproj-3.6.1.gh.tar.gz 239568 BLAKE2B e396e7c13dfc90f8a8eaf93b7bc0e62921779930d9c42b21ce8afa95597b13e527c179096600f40140d6d00d0f425580fccc34ae55a4e8c985d1b618554c9db4 SHA512 19c55e7ab99aae70bc318246146dc98ba75cc4884de798392f590df48c6a83e1b80504fd9c555ffd9d19262eb93cdf2c46e4805a3ae6dc07b3eaa4669f025ff0 EBUILD pyproj-3.6.0.ebuild 1188 BLAKE2B 49663478c0660990e671e75b38f128f718bc5dbfabb056416ae8f422683bb19300b5e9db84793ad3e50ed3ac987be36e6a021bb267f33fb6262cdf7ad4f35c1b SHA512 f00bfd2d9c30b5491a52cd7f71debb6d904cb9f28cf341806eb7ecfc976061cfec15de14bb0d9c45ba455d761f710819f3c3618e2bf6aafd90a714e167ee3f10 +EBUILD pyproj-3.6.1.ebuild 1146 BLAKE2B e3fa4b5edc618c96c96951eb79be3ade172f0be96a75b7ddb9b6cea7e64677f25ebbe9dccc731c8d906bab7efee77327ca9f98ccb39c3a259a129ae830262d1a SHA512 78900af7577a576a76c3e9db15d0c281694a49789d2853fe1923d331859ac9af593ca80e6ea871921864dfd4da2c7cd85b1da09f26076fefa815322da5051531 MISC metadata.xml 415 BLAKE2B 4f3ab70bc72ca97a428c357257d3a59591b410f12276a42e141cd0a43072b79107529c95c6a313906129e8893c75b63a6ef11ddc2f3842a7f5e5e7f7349ec38e SHA512 7ca8a01534471dff67c42a96c524d166278e26da309b2c4d766045e38086cc0e52ccc990881ebed7ca81219d705d9e4a9c16e86b052a50867bb032457e354903 diff --git a/dev-python/pyproj/pyproj-3.6.1.ebuild b/dev-python/pyproj/pyproj-3.6.1.ebuild new file mode 100644 index 000000000000..5157fb21ee1d --- /dev/null +++ b/dev-python/pyproj/pyproj-3.6.1.ebuild @@ -0,0 +1,55 @@ +# 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..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to the PROJ library" +HOMEPAGE=" + https://github.com/pyproj4/pyproj/ + https://pypi.org/project/pyproj/ +" +SRC_URI=" + https://github.com/pyproj4/pyproj/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" + +DEPEND=" + >=sci-libs/proj-9.0.0:= +" +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/shapely[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + # Avoid greedily trying -L/usr/lib, etc + # https://github.com/pyproj4/pyproj/blob/main/setup.py#L76 + export PROJ_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" + export PROJ_INCDIR="${ESYSROOT}/usr/include" +} + +python_test() { + rm -rf pyproj || die + epytest -m "not network" test +} diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 9f59e3a43fd7..752ae4b1ffee 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -2,7 +2,9 @@ AUX scikit-build-core-0.4.7-setuptools-hooks.patch 1289 BLAKE2B 628510dd9638190c DIST scikit_build_core-0.4.7.tar.gz 161024 BLAKE2B a06136ca6144305290dcebacd33690556ce30c28793572adfd7b42b043d4bb7f2e6e8000fcb543608d33a130f7094683a31870aa40067fb24fbb453fed884ccf SHA512 39f99facc920e3a46a3592d15ce9f3ceb90cf92dca8a010546a9cc15d50ea7737951286b6474f2f3f68f206f4fa7d157931fcfa831e122f51266df56ec5f043e DIST scikit_build_core-0.4.8.tar.gz 163396 BLAKE2B f432d144babd6be45a730e0566cf6fe8bea051b85364b0af26655e0679a0d458f3fd106e816f09557110a6e4e1fed056d1c6454c044ab34dfcc6530cad6020e3 SHA512 55ded022de13bbc60e5abed7b39466751abda3d66a0fa1c094ccd3ab28a93ac3437db2fb8e53381bbe0f7da9985ea5a6fd129af24e6654d3df48c704fb4612f1 DIST scikit_build_core-0.5.0.tar.gz 177478 BLAKE2B e3f3d4bb60fcdc87b32799a663a96bfc994969c3a9dd6c73bd5f27720482cd02b8bbf75f7aee8b39c3b73dc8b6740c526a144b59ecb029e7de3b604dcb1aceb8 SHA512 68bd13b5f97aa498189a61e342bdcb6fa5ea45d8ee73cc557b1e67c9a8d411ef93ea59a954210f48b76e7c1a2f645e4e34686e6fa122929cf0bc69a9f3846600 +DIST scikit_build_core-0.5.1.tar.gz 179718 BLAKE2B 31cd974a3deec188dc97ca708a04badfa8d75a0e66e85a2a814816bac126921aa5531f4f0de56f93a264b98edd341498298e1536502506d7b47ff40ca8bf92da SHA512 de7dd843a7979615a1421bc9ea6c0fde40b72ed94209783f176a5fb427a9fdee497a69e891441591d65d06a3ea619c4c67c9314cf0b7622d19cd88c149b43c7b EBUILD scikit-build-core-0.4.7-r1.ebuild 1252 BLAKE2B 5a37c30fce41b4db4c357d54ec3891edbd248593cdee06ad2af5f870a3ea6f37293b5b3c5aaf8b636c37550bbccaa568e6641c350c7d18b45c65b037ac4ce9ab SHA512 56bab5fde5d23e58fbf4b8f0ce45734c4d1674586e40dfef1f5c52a4640c1147f229776c4376f9958bcf2f3fd27c588c6e5ad64697eecc2c3ce61d6e38d6cfba EBUILD scikit-build-core-0.4.8.ebuild 1251 BLAKE2B 9f7eaa9dce2cde6f1a97cd9835169a843e049400ce641e7221be9766308851e975822208fa76d89f4f398669dd719eefefb7f34db7bee0f946bd079aedf6b9c0 SHA512 6e85c59016fc697d4fc3b4829e6318f5ff9f2e1c78227f02e867f1850bfed1ed431ce053a46f4b3bbae93c2eb44853ce429dbde057614d662775743e0a44ee23 EBUILD scikit-build-core-0.5.0.ebuild 1380 BLAKE2B 28980d5c1055399af589595772ce6e12dc403f5370b49579d8fd10ec0ce65aed801f197fabe3bcc9ce4f37ad195018a1fb0d55b8ec0d0c12aad5fc6319136ef1 SHA512 16c41c6c578a243f0a650533d8a65455f02cdf65106abbc4c35f41a4a924fed0b5f603ea2de1da9440ddd6057d88f9312a4ab6458150e34ee0c7d45d40e120cd +EBUILD scikit-build-core-0.5.1.ebuild 1380 BLAKE2B 28980d5c1055399af589595772ce6e12dc403f5370b49579d8fd10ec0ce65aed801f197fabe3bcc9ce4f37ad195018a1fb0d55b8ec0d0c12aad5fc6319136ef1 SHA512 16c41c6c578a243f0a650533d8a65455f02cdf65106abbc4c35f41a4a924fed0b5f603ea2de1da9440ddd6057d88f9312a4ab6458150e34ee0c7d45d40e120cd MISC metadata.xml 393 BLAKE2B 25bdc0bc295ed4bd7cd76a5a6952cb7fa5d5a404d3260562f2ed322d80f2466add0373a2a6b10a41c4dc2211e82e0a680735301d8844e70a54760301b4ab190f SHA512 176537f2027aedb3bc8bd16bbbcde8bfed246d621763e22a979f2942c016e1bafa5ef2d11d8d078e5d59970ea115864a8501185343bc3d4b9fd8493adbd16aab diff --git a/dev-python/scikit-build-core/scikit-build-core-0.5.1.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.5.1.ebuild new file mode 100644 index 000000000000..b3a6b7200a22 --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.5.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Build backend for CMake based projects" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build-core/ + https://pypi.org/project/scikit-build-core/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + >=dev-python/packaging-20.9[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/tomli-1.1[${PYTHON_USEDEP}] + ' 3.9 3.10) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + ) + + epytest -m "not isolated and not network" +} diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 1cd2b323371e..975a8d8ae936 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -5,5 +5,5 @@ DIST SQLAlchemy-2.0.21.tar.gz 9454220 BLAKE2B 67009f20349280b36c9b5664d5dc0c76ae EBUILD sqlalchemy-1.4.49.ebuild 2974 BLAKE2B 0b594ab300e7e36c5ea266ade8b07557dba21b93b3ab53a33466f37ee5c6edf44cb173cad10d55763ff8e70440c9468fef545f425c4855cdabafa9e33b88defc SHA512 0f8a171ebfd9f96aa70f9bfa20ad1d11d8583483231c256eb4a6ed12116b21063092132e283192707ef92c8cc3d9f915fb83336bbc026ebdcabde2b15aaca989 EBUILD sqlalchemy-2.0.19.ebuild 4463 BLAKE2B 58a74e191ce542ad67da5bbc514e9f34b4e339d30afe7d7e0d5708d6f58c31d1e795efc4bfa15899ab357b279a5b4a9dee4900c2403569ba971d96e23ea45b11 SHA512 b6d59edb0750d8135d03ae021259b7d56d33b842ea21cebb5499fa5c2bc05c93a8e68658d3303344c03f02727553357c8a6524df2507355564f328520421258d EBUILD sqlalchemy-2.0.20.ebuild 4029 BLAKE2B df22bf5e30ba783019ad2119c17dfba5692944983006d08f837a0a53bf3df25983d74defee370e7016d62fac65f8611fb1849cc8fcd193e9ceceb9622169e6af SHA512 caaec7b279f8b41b09c058b15c24110d71c525523070ea3cbb5e7e309ce67c6f75f8f2e2900e59467da11834f08792022072c379979036b46b4bbbabb727f50a -EBUILD sqlalchemy-2.0.21.ebuild 4029 BLAKE2B df22bf5e30ba783019ad2119c17dfba5692944983006d08f837a0a53bf3df25983d74defee370e7016d62fac65f8611fb1849cc8fcd193e9ceceb9622169e6af SHA512 caaec7b279f8b41b09c058b15c24110d71c525523070ea3cbb5e7e309ce67c6f75f8f2e2900e59467da11834f08792022072c379979036b46b4bbbabb727f50a +EBUILD sqlalchemy-2.0.21.ebuild 3962 BLAKE2B 0e0afe117c8c7ca3e1da26edbf33a628758e68ea346cc0bb889048c74cfe8e7d1bfce05a2ec6cbce2a13c850120ffe905e992a355d8f3919ec5383a5ce4b4d65 SHA512 5756af0e3699eab96f248f313a1ce41dfaa31807d43ed197b8e38550404312428a11752f751441d30c141cfed192a31d1304f37b0e73f4d16f47989a49f89755 MISC metadata.xml 444 BLAKE2B 5fbfcf8f16e52ab5bb691b0b33a8491d94e42a80409114cd9b306af7d4b0eb8b6660fabc663adee53080c635217961301b78df536995b91afe9288d255f73d62 SHA512 b432b65ed3033d34ac0784d007909eb838b309b6a4785eebb1a3f808e43dfc41c786cd55e4dd048776c65127aac170bdd9fb9e5a8ae63accb5f65e300bca9676 diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild index cf09ce847f97..ed6eb3f70f85 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.21.ebuild @@ -8,7 +8,7 @@ DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( pypy3 python3_{10..12} ) PYTHON_REQ_USE="sqlite?" -inherit distutils-r1 optfeature pypi +inherit distutils-r1 multiprocessing optfeature pypi MY_PN="SQLAlchemy" DESCRIPTION="Python SQL toolkit and Object Relational Mapper" @@ -32,6 +32,8 @@ BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] test? ( $(python_gen_impl_dep sqlite) + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " @@ -87,14 +89,8 @@ python_test() { # means that any DeprecationWarnings from third-party plugins cause # everything to explode local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS= - # upstream automagically depends on xdist when it is importable - # note that we can't use xdist because it causes nodes to randomly - # crash on init - if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then - PYTEST_PLUGINS+=xdist.plugin - fi - epytest + epytest -p rerunfailures --reruns=10 --reruns-delay=2 \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal } python_install_all() { diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index a69d7caf2148..a4284cabcc66 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1,3 +1,5 @@ DIST unearth-0.10.0.tar.gz 270997 BLAKE2B 8b18df4616fc72025492aa187101bc1f338967b1738ef9ec33d16cbd906c1cf91c1b84e391538521b4a9d6ea40301eb0b7ed0926aa4e6c4d6ffc57401f9d78d9 SHA512 98799202939e1206b6fdd46eb61947c9f9f8068a6857f76aace8dd2c67a3fad9dd3b7a5232d7812b0dcd214c39a9e2a6fafbd18cbfeb9aa4c216571b88b3f131 +DIST unearth-0.11.0.tar.gz 271154 BLAKE2B 405c97ef152afb241cb70d9b309fd1ac454be932c96f95b606bb6038ffb2369fbc55c6afabd86f6a15949182de276dcda035fdb17d4810933286a0fa0b567e42 SHA512 70a06a32f6f2ca74c16a55f9613b543d807e437bd99c0ebb02c0d721144cf45208df78940ee41911a8168c9181ec733b9aec2176038b2556d0e2ad5e8c2cc0d4 EBUILD unearth-0.10.0.ebuild 687 BLAKE2B 593b2a0c003808785c03b1a543564f7c403beb98e858f8991ee075271b4fd579c5141b9c3cfb94d8be9a6399afd177dfa23017a72bd2d70d2847cf98c590c04d SHA512 dd05341700e9788aa76664fed91afd2264f99d6bd8ce0c4b9ef21054e50dba42a642e6abb9706770207164a5eafa316abdfa6c3af8673afe655c1d3de06ceaab -MISC metadata.xml 423 BLAKE2B 168ef799c8ac77adfe8937a5693054ab763e158e23c94e604fe0edcde350b9f8ea4020ef04289cb59f91f293f22677ecca4a993fa526af8923264ac3a48368ec SHA512 47a9e79481d2774b496f785ca62b71890d2bab7900fca9d4be32ae12d53f78240ebea0ed30b15f10525f71af6298bde1eb13b9518fde04507d0d036bfd067231 +EBUILD unearth-0.11.0.ebuild 818 BLAKE2B e2e8ce3d6e258627d32fe1e4a2f7cda8af19d2755def4d14715c61bdbd0d959f5659cb2fe9747df32268e20d5be9aa64e625aee17a02953f3ebee65667dc7b01 SHA512 7b965932ece6ab01a9d333fe33901d831336ede0cb14a4a273ff1a597d5ecf70f92d12dc92cdbcd0914b7170e60f9fbdf96c8a54cacccb43ccaa8a6087d6ea7b +MISC metadata.xml 480 BLAKE2B 489aab9c338887392b943b48593bd9d752083d82fcf89a419e3677f2d24939af51cabe16641c3a16942f9658fe79f804af61cffc807cdeb909d44a6cff5ced5b SHA512 9fe2154826a2399f5570fa150445220f7490e10741275f77791b1d29522336912812e3f8905c026cb748845d2f2a005196185db6576708b47f1cdf582216182f diff --git a/dev-python/unearth/metadata.xml b/dev-python/unearth/metadata.xml index 112da0f56f24..b532fa36d3f4 100644 --- a/dev-python/unearth/metadata.xml +++ b/dev-python/unearth/metadata.xml @@ -10,6 +10,7 @@ + frostming/unearth unearth diff --git a/dev-python/unearth/unearth-0.11.0.ebuild b/dev-python/unearth/unearth-0.11.0.ebuild new file mode 100644 index 000000000000..9c0635d2317b --- /dev/null +++ b/dev-python/unearth/unearth-0.11.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 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..12} ) + +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" + +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 +} diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest index 0573c1cd3960..e435843db33b 100644 --- a/dev-python/urllib3/Manifest +++ b/dev-python/urllib3/Manifest @@ -1,5 +1,7 @@ DIST urllib3-1.26.16.tar.gz 303733 BLAKE2B 94c0cfb8696b15ff7aed25927ba584d0d67b150953586ca4d74ddc8f1d0a95ca447a482cf7d0f95728fad1e7e51a610e29c3e342ebe68e65a86789308544ea51 SHA512 caa58af5bf49644459a9074be659511b56c5d66802153c72ba2ba2eb9c0aafd56b4cd8f8588964ee7d2a9b16a5e114d62298ab1e128710260ed86f1e315b5571 DIST urllib3-2.0.4.tar.gz 281517 BLAKE2B 58635787069b6d8e83394ddacca2c70824c03190efb4e0838b9b80d8e8c1499fa0143e1d38ece4e2a7f9b34d6b50f9805050bf85707d98eb171307ff35f8b215 SHA512 64d55714d871716730af5a691fc222722cffc13b0603ecae597e5f4cfd82297beede2b08cedc030b2419bd446f51c4c6e54f466ad96c71dd0848abbf806b4db4 +DIST urllib3-2.0.5.tar.gz 281697 BLAKE2B 7ae1cc90243cd2069767d4a3f7ca3b96d9e6270f38b363ba2c2cfddeb293cc75782740524bdf91d64bd08dcf1dc44cb9fe6ec2b501d34bdf4c69d893c794382a SHA512 dead3fcda9637c6142b577f051f25578249f7513d3d2bdf4ed880b7a063ff7ee2e946e72b91355328b12205600abc487252ca025f3946408093df46134d9fc12 EBUILD urllib3-1.26.16.ebuild 2193 BLAKE2B 724c27ff2cd776ada5c8ddb43aab29e8a1a6c7b1a4b984a7b5c8050aa8036e908dc45c8a012fd83d3fe9a5a819578249b73b60d0cb573a47d133396813ecf96a SHA512 575c8e31fcacbe8542ac3067ae878ef0995cc4176d845e287edffc7223a8725af3940bba4b54f77d4f5a9125568076e45415176bdd4a2d470f8b7389129e68ec EBUILD urllib3-2.0.4.ebuild 3042 BLAKE2B fb92698b15dfd29a25b9860148eccdd35665a780afdfc543ede495be10847284fd512779e8c2120e0a9de05420376d20fe82a6d172dd6ecfbcaed8d9a6224d2a SHA512 46f4e9f1c32fa6700e18130d67e29ca0cfa25ed7385df9cf02c2c2b3fbf96efd520e70653ddc209a035cce51a8d3d9272e23bebe5e59f9f1879febf9732175e3 +EBUILD urllib3-2.0.5.ebuild 3305 BLAKE2B 799af269c4b33717e99e465d947a256ae81160fb2a6c5dada46e0a450287a73474c9e682f1370454f17559af825c6e21244959530da70625035830e1404cf070 SHA512 1af95b47010b03acaa9343db5719ed97656a045955849702dd6442ba9a6792ac3ebfd7beb63563e50367ed6b5fd89b976efbaf56f779593a9beaacd82a74d696 MISC metadata.xml 531 BLAKE2B 3ddfea4b8817c827437a79abae8cf4e9cda95addb1c6505ef13018587720bba0cf0788041c0b4cc8b25f319e7cb1c94117ae25b3cbb567f24373e8e89bedaa7b SHA512 7e7191f0338c4c47f01bdceb3d2c6ed94de2241e77fb3be6cbf3ecf8a0682730392a9ee5adf24304d9a322acc06bd84f4f90f1dddcb258cb2e9ba0de9952b693 diff --git a/dev-python/urllib3/urllib3-2.0.5.ebuild b/dev-python/urllib3/urllib3-2.0.5.ebuild new file mode 100644 index 000000000000..32852e31e793 --- /dev/null +++ b/dev-python/urllib3/urllib3-2.0.5.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_TESTED=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more" +HOMEPAGE=" + https://github.com/urllib3/urllib3/ + https://pypi.org/project/urllib3/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="brotli test zstd" +RESTRICT="!test? ( test )" + +# [secure] extra is deprecated and slated for removal, we don't need it: +# https://github.com/urllib3/urllib3/issues/2680 +RDEPEND=" + >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}] + =dev-python/brotlicffi-0.8.0[${PYTHON_USEDEP}] ) + zstd? ( >=dev-python/zstandard-0.18.0[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep " + ${RDEPEND} + dev-python/brotlicffi[\${PYTHON_USEDEP}] + dev-python/freezegun[\${PYTHON_USEDEP}] + dev-python/pytest[\${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[\${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