From 3529f1bf2739399905cd55b27c7609459bfc069f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 27 Oct 2023 14:48:06 +0100 Subject: gentoo auto-resync : 27:10:2023 - 14:48:06 --- dev-python/Manifest.gz | Bin 269505 -> 269502 bytes dev-python/contourpy/Manifest | 2 - dev-python/contourpy/contourpy-1.1.0.ebuild | 47 ----- dev-python/imapclient/Manifest | 2 + dev-python/imapclient/imapclient-3.0.0.ebuild | 32 +++ .../Manifest | 2 + ...git-revision-date-localized-plugin-1.2.1.ebuild | 63 ++++++ dev-python/mkdocs-i18n/Manifest | 3 + .../mkdocs-i18n-0.4.6-fixup-pyproject-toml.patch | 30 +++ dev-python/mkdocs-i18n/mkdocs-i18n-0.4.6.ebuild | 30 +++ dev-python/pandas/Manifest | 2 + dev-python/pandas/pandas-2.1.2.ebuild | 216 +++++++++++++++++++++ dev-python/pickleshare/Manifest | 2 +- dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild | 2 +- dev-python/pydantic/Manifest | 2 +- dev-python/pydantic/pydantic-1.10.13.ebuild | 2 +- dev-python/stripe/Manifest | 2 + dev-python/stripe/stripe-7.1.0.ebuild | 72 +++++++ 18 files changed, 458 insertions(+), 53 deletions(-) delete mode 100644 dev-python/contourpy/contourpy-1.1.0.ebuild create mode 100644 dev-python/imapclient/imapclient-3.0.0.ebuild create mode 100644 dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.1.ebuild create mode 100644 dev-python/mkdocs-i18n/files/mkdocs-i18n-0.4.6-fixup-pyproject-toml.patch create mode 100644 dev-python/mkdocs-i18n/mkdocs-i18n-0.4.6.ebuild create mode 100644 dev-python/pandas/pandas-2.1.2.ebuild create mode 100644 dev-python/stripe/stripe-7.1.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 25761022d751..458215099672 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest index 2d5e5224cc2f..b7740567f469 100644 --- a/dev-python/contourpy/Manifest +++ b/dev-python/contourpy/Manifest @@ -1,5 +1,3 @@ -DIST contourpy-1.1.0.gh.tar.gz 13413711 BLAKE2B 020bf7f63dbe304e71b66249cdfa86047598a3f8352657f7c179bc068869bf7659fb7c821749a0be33a8a04ec02dc642ac7a9ed14f5fd73d4a1e9f20c3606ee2 SHA512 aeb60db039aa14aed29a31dcf6091708daf7e65589964dd7682dc28e085d584103abb872e607685408eaefd4947adeba966c9a0d93cb1f827805189e498c67d8 DIST contourpy-1.1.1.gh.tar.gz 13417093 BLAKE2B 217b99a1000575d362ca60327f39d39fd5f241f1e0f94ac3f049e2bf195388424f10bfd33c2a007da32eb939c1a04e96942ce0092c091533166c54da906b68af SHA512 7d135f18fa28ecd5d6c715650fc5672291c6f46e96cfcf8d2571c401d5bae0d27fa6a2e9f80e4f735af3016c7ced92552f26e8c5519e725e1bf6fe54c7603a03 -EBUILD contourpy-1.1.0.ebuild 1024 BLAKE2B 3cd165023b3eea552cc48bcb75029a5845c5d0093ce973eb29c263e89007d139e86753bc271c5862be043438f831e8c8d479481217ffb9b04fdae80153a7e3a5 SHA512 45ca7414f8f6f9b31f97a938dee3611520cde61c6d6905ecb62e38a42d5817692089b1463e88178a7f5a19e382cfca62ff31259b280bc1da30662b62623bb3e2 EBUILD contourpy-1.1.1.ebuild 1024 BLAKE2B eab5179433b66758a194ff2337be71938bdf963ff459e53d9452e76f2e796146b68d4d1c28590b484262429850e3f40a57482c78fec72cf519ca2a37c4570bb2 SHA512 f38830c0fa76e3d5b592671bf86d432bfcff4c564c0c5b75d187f390f80db3d18314a3cdd96fb3f057f646886a58eb3435426007bcc23c45e590fecf7de15082 MISC metadata.xml 372 BLAKE2B de3d6cc9d8727bf43be63fdbb8aa2ad375667d189019e189be262e39d028acab98a21e200798c2d5c5c72521aa7d38202e3e235dd44de9b43a7dc9e045d50c47 SHA512 e692f94d805d7f56fc895a4c76dfbacf2f068d687b9191482b946445baa3bd0a685eda7a1b0aec2aaf9a02e6f23d87f0bf22d90f42e3c21d930724c635ff859a diff --git a/dev-python/contourpy/contourpy-1.1.0.ebuild b/dev-python/contourpy/contourpy-1.1.0.ebuild deleted file mode 100644 index e142ed4cbf77..000000000000 --- a/dev-python/contourpy/contourpy-1.1.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-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} ) - -inherit distutils-r1 - -DESCRIPTION="Python library for calculating contours in 2D quadrilateral grids" -HOMEPAGE=" - https://pypi.org/project/contourpy/ - https://github.com/contourpy/contourpy/ -" -SRC_URI=" - https://github.com/contourpy/contourpy/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - >=dev-python/numpy-1.16[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.6[${PYTHON_USEDEP}] - test? ( - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/wurlitzer[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # linters - tests/test_codebase.py - ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest index 26633d84692f..8aed9fd2c53d 100644 --- a/dev-python/imapclient/Manifest +++ b/dev-python/imapclient/Manifest @@ -1,3 +1,5 @@ DIST imapclient-2.3.1.gh.tar.gz 91141 BLAKE2B c4efbdb4a513277039389e13d0f86498df3bb4c466026510fba55a8cf88316a3c5b02c15215e3e40e8e0b6206e8bd4659e75b1f83ba2a905a2aaec21f8af4b48 SHA512 06a9264e8cc001b8a4a6a855032bbb9b904c94999d090c3f1bedea1ae3a16524f668eb4dfa36e7a23a0622bd9d3e83191dcc1e5e30275cb6fcb7604142e5e2a6 +DIST imapclient-3.0.0.gh.tar.gz 93743 BLAKE2B f1477cc01076876f65afc4e1ca8dcdc5964a2ec129f8decc7c963361a94e262d1312f70959d82772e077062d15d758289fe6942c8395ccea124fbf83ebcc0505 SHA512 01f2b0eaa148e84bf3aae428888da55dec80c3738d31989644da9f7f476fc22877348e9db737d420bbdcc3986e0e74825666ba6970a43d5e2ab6b53b3fee6c1e EBUILD imapclient-2.3.1.ebuild 716 BLAKE2B 0456884c1137ab971853691cdce92c3392be95f950185427fed2931504883f942bdb16dc75f4e9e55155ed750ccdd60d6b0ac7d4003d625309370ce7bde30728 SHA512 cac65e275c87b2cfcc807670554c48106c5d58110876b09fe22b28dacddc0499798e9337d7ba731b04cd787094816b55e08028e391b4245289d560326142ba09 +EBUILD imapclient-3.0.0.ebuild 674 BLAKE2B edf03250c5b63df7e0e046aad4a4c6cd1599e0be441b529bbc9494b64f22da0ee40702c0f1e49f477724623bbf115d993bf578e8e7dca724f3f603bc6d1522af SHA512 758ebaa4561fb9ae8c2e16cf7a27f25ef5efb7a6cf1234ee9c3511653301ff07fd8f2d7602b9b49076b7caa265f0dd08ba500f703518d68637d5fa8ce31c93cd MISC metadata.xml 392 BLAKE2B 2a2a97b3882d544680b05e74e12067be2df1b910a37a08316540cdd7682beb16bbef184cac7c71ed51ce209187dba7803e34dd13756daf6ccafed343734d40f4 SHA512 b223e769302a2277d2638e58cb9c7ccfc741f582cf0465d1f9a44e6822539e1458d96e93d6b5a32482fdcc945b74e44b5bfc66caa53a85f224d4f380c19c1325 diff --git a/dev-python/imapclient/imapclient-3.0.0.ebuild b/dev-python/imapclient/imapclient-3.0.0.ebuild new file mode 100644 index 000000000000..babb66090be8 --- /dev/null +++ b/dev-python/imapclient/imapclient-3.0.0.ebuild @@ -0,0 +1,32 @@ +# 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 + +DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library" +HOMEPAGE=" + https://github.com/mjs/imapclient/ + https://pypi.org/project/IMAPClient/ +" +SRC_URI=" + https://github.com/mjs/imapclient/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +distutils_enable_sphinx doc/src +distutils_enable_tests unittest + +python_install_all() { + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index 9688fa5b13ae..6363105e88c0 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,3 +1,5 @@ DIST mkdocs-git-revision-date-localized-plugin-1.2.0.gh.tar.gz 378268 BLAKE2B ee4270e60a23b4c040de1b931c1d18f785d95b1947facd66d0b9180452dd30fee518fcdf24840b6523ee4944cf363ebbf9a27c93b09f45cc09daf277d4fd7085 SHA512 627c1b6c955f8c787ac01e9be5827648a8c9bbd1f9449c8a734f47fc83d28e3eba5faad142f69da12291c4ac3f728ae2c090e9b8e0a84b585557977a9fe04241 +DIST mkdocs-git-revision-date-localized-plugin-1.2.1.gh.tar.gz 377237 BLAKE2B 86e9b15c79cd9b1a17d3231cefd8ccf86afab8fc013e82ae116a38a5094386c6e450fde8a3fc0ecbc82dfe699c1973c86d9cc0f39f89b67617b0f9f0b37da0cf SHA512 4d2ad4406a2eb1a672ff4ce4b78a4b46a53a4189bbc5bff29d8682e7dbfc95ce5e22cf6f0865dca3941aa430b2f10e6bbd3bd8bddf2076190d14a21ca88e7a10 EBUILD mkdocs-git-revision-date-localized-plugin-1.2.0.ebuild 1550 BLAKE2B 082c3a75a5977336b4688f2d09edb52a6a6f70a66696508b6c31f1adc177e4b382b3be6cc037478a7db87defa88513f0c2a9311192dddc8a71c05b214d624e9d SHA512 f207793075268f2cff1e6d80ba56e5ccdb7e99c4a196d2e7441247c87284211d04b98b8ae3551ab564aedd7c3a5d30f884f7f13ad6267f962cb8b1b5216f7562 +EBUILD mkdocs-git-revision-date-localized-plugin-1.2.1.ebuild 1553 BLAKE2B b61533f277e79bf1f0a8287c049a25febf6d918e87e6061312d17315a20e31dcef468ae8be8340f71a62c75ab4396cc770781730620c1ed85e97157ae6e9ef36 SHA512 74226d22b3b0260fed617346f2c78b763b3a67115ed91a46d1434e77562e8cfbf82ca6fd5c953d40423946f57be7d8c8dacc082753d417382c3c9f0bbad903b2 MISC metadata.xml 596 BLAKE2B 9010c7fd37265b6770544a605f918524b75d7b1afea8809075c3b5afb5e56f6848aff4c7fe98367b3dcb3de16f0d21682f9a2fc80f441783f32f904dd8f9a152 SHA512 431dff95204b056afa3a4dab48eec1559d72d0c1ae9a65d89d95fb97454f858c9022578043238a34ce205ac5a16871e6f6d68a3bfe3231c20852437c4fd66254 diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.1.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.1.ebuild new file mode 100644 index 000000000000..40af1abf7743 --- /dev/null +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.1.ebuild @@ -0,0 +1,63 @@ +# 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..11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/regex + dev-python/mkdocs-i18n + dev-python/mkdocs-material + dev-python/mkdocs-git-authors-plugin + dev-python/mkdocs-git-revision-date-localized-plugin +" + +inherit distutils-r1 docs + +DESCRIPTION="Display the localized date of the last git modification of a markdown file" +HOMEPAGE=" + https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ + https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ +" +SRC_URI=" + https://github.com/timvink/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] + dev-python/GitPython[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/click[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocs-i18n[${PYTHON_USEDEP}] + dev-vcs/git + ) + doc? ( dev-vcs/git ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin's tests need git repo + if use test || use doc; then + git init -q || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -qm 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/mkdocs-i18n/Manifest b/dev-python/mkdocs-i18n/Manifest index bc968cec6052..ce8dba248873 100644 --- a/dev-python/mkdocs-i18n/Manifest +++ b/dev-python/mkdocs-i18n/Manifest @@ -1,3 +1,6 @@ +AUX mkdocs-i18n-0.4.6-fixup-pyproject-toml.patch 813 BLAKE2B 15bc29e9a7b0f707b1f2577a93cf17aee5d7deb3f870f185899f4eb6d97d393f078a6eac5a8358e33e1fd03c99dd65f3d297e541a82c52411741fc40d1550545 SHA512 fa17c03c688677544b4363ee395b3c008102b9173c5763f44d144698fce55d85ecde63228e4f3a61d914da126112ac56b52b5239e15a0f58ffeb2870fa663e43 DIST mkdocs-i18n-0.4.5.tar.gz 17228 BLAKE2B 19d6af2d96cd67d4b39e210f20113e75a6c47a413639f2d6c218cbf11709f91197d79df2c0ecfffe8a2e0912613178564e73eccdf15cece82d71b0639641940e SHA512 18c28704d1d0e294dfcfef402959e502c96b0e8fe346ba3f0c2ff49d70a67f3fe1254fcd1bcbf4217182e946b9f86f61d8d5b9c9475334c6f464feb696d0134e +DIST mkdocs-i18n-0.4.6.tar.gz 24232 BLAKE2B ba5f1462aa8c16fc97f7240875b6762e8072b3a4077b3324ab902a70930431c81512b465037f3a0fbd080716126ff185f78fc3f25b23ec352096628acc9bffab SHA512 f92ae260b8a2bf93d18ddd7d405354ab4227940fa820ef6a12427a167cd288bb25fcc53d805df38d2a7fe2621eb9ca62bd6a64bd1706d55638368b9b69429b9d EBUILD mkdocs-i18n-0.4.5.ebuild 551 BLAKE2B a0efc70120a724ad310f3ea8854bf5393008015c54925e5743ac796d1f72ebd5d49f9e6e230facf26cc5510b684a929ad895672c76e5e9f394c0ba76c029dfb1 SHA512 54370f8f596e0c3a648c31b85a1f044962e63982b64aa1e64147a7e1aba59a6e47b92299fb6b8ddfba5febc4a5719a8a461902a198941b153ed38bcec70a8438 +EBUILD mkdocs-i18n-0.4.6.ebuild 678 BLAKE2B 2a6e2118f7c0c82fcf9be7aaf47af88449d5725e44a9f2fadaff148d5e904b5f1f18620e8d85e7abc7baf19363d0bf0a35e9063ddfe4fc1d3fd80d75accca474 SHA512 fb682fd9a4d89ac753edddc0bdff047d6c575c252e62aeaec41dc2473be7ebb8e56d06d22ef4f92ebf75c8752534ce76d9812dd0dd7cba82a26bbb51c98ba92b MISC metadata.xml 540 BLAKE2B 0b6e023e1903f143668642c8a150cb0610500b8ced2082fb31586a1157281fe21535c249e67dc19789cd36318e255efc914f7f5e29dc2af97e6f0866214b8523 SHA512 6bf089cea5ea6ce4547fd616ecfed754f68cc17d7caeed4f633ef41c4349cfca1c68585a1bab548db284dcfa672348b73e53a5e6610a73480913694df92cace6 diff --git a/dev-python/mkdocs-i18n/files/mkdocs-i18n-0.4.6-fixup-pyproject-toml.patch b/dev-python/mkdocs-i18n/files/mkdocs-i18n-0.4.6-fixup-pyproject-toml.patch new file mode 100644 index 000000000000..efe9fc9a70e8 --- /dev/null +++ b/dev-python/mkdocs-i18n/files/mkdocs-i18n-0.4.6-fixup-pyproject-toml.patch @@ -0,0 +1,30 @@ +diff --git a/pyproject.toml b/pyproject.toml +index f532be1..815b07d 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,6 +1,6 @@ + [project] +-dynamic = ["version"] + name = "mkdocs-i18n" ++version = "0.4.6" + description = "MkDocs i18n plugin" + readme = "README.md" + authors = [ +@@ -46,15 +46,6 @@ test = [ + [project.entry-points."mkdocs.plugins"] + i18n = "mkdocs_i18n:I18n" + +-[tool.semantic_release] +-version_source = "tag_only" +-hvcs = "gitlab" +-branch = "main" +-build_command = "python3 -m build" +- + [build-system] +-requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] +- +-[tool.setuptools_scm] +-# python-semantic-release with tag_only option leaves CHANGELOG.md file staged +-git_describe_command = "git describe --tags --abbrev=0" ++requires = ["setuptools>=45"] ++build-backend = "setuptools.build_meta" diff --git a/dev-python/mkdocs-i18n/mkdocs-i18n-0.4.6.ebuild b/dev-python/mkdocs-i18n/mkdocs-i18n-0.4.6.ebuild new file mode 100644 index 000000000000..f092b4893f2e --- /dev/null +++ b/dev-python/mkdocs-i18n/mkdocs-i18n-0.4.6.ebuild @@ -0,0 +1,30 @@ +# 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_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="MkDocs i18n plugin" +HOMEPAGE=" + https://gitlab.com/mkdocs-i18n/mkdocs-i18n/-/tree/main + https://pypi.org/project/mkdocs-i18n/ +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/mkdocs-1.1[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] +" + +PATCHES=( + # Define a build-backend, version, and drop setuptools_scm dep + "${FILESDIR}/${P}-fixup-pyproject-toml.patch" +) diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest index bfc95813bec9..7303037ba51b 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -9,6 +9,7 @@ DIST pandas-2.0.2.tar.gz 5290568 BLAKE2B 26eb9db6c1c2b4f9ae31b3aae09fc4db930d13e 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 +DIST pandas-2.1.2.tar.gz 4271419 BLAKE2B 2f22035c9b7d6a0403b28ebe506550328e096f0ed87984dba28d2f49950393ed8a5a3c0c71c5391385d9f5361319431d5de3736f7381eb7670045415b05137a7 SHA512 dad04f1fcc5a59485c34ebfed0698fd47ad9eeffafaddf91642c084f4ffde8a55ce543f9dadb6e7a5066b1809489961d34fe3fe8860f64f9bd2d90b445d92063 EBUILD pandas-1.5.1.ebuild 6904 BLAKE2B aa78a78f69b4f63bd9dd5af020d2c0235fd6ee37358838cdcad1b0752611ddca44234b133298157747d45b5252ca34ec578737057a6e979d107170c07188230c SHA512 1e0d8f088565af4356f2cc1b759a48e8cb53e3c4c0209712c86315f929a82444376073e3247f30876afb249cf9eae404b32310a8aef51372548f7870d875ae7d EBUILD pandas-1.5.2.ebuild 6905 BLAKE2B 7b1f0c0432189904def982410b055e5c642f359a2398ce78fa900be4b0efb76fb8eda833d301868cc2ac19236dc82dc43d2b161adf31ad9a438e6e8ee9954cd7 SHA512 61ef7d31d6c4950fccfd7059a2bd885e08367fe467ad81af5ddb654a597fc3f06ca8195297f74613acedd7167c1fc81a261144e2ad8273b3637af966a583bb4e EBUILD pandas-1.5.3.ebuild 7210 BLAKE2B ad30066caa502bb5e9f9770bf42efbc9c032b290260311d85c57e9a2949e042c607b9d6b676f33dcf2c9174b5f90dfbc20a09fb0deccdd939ebc995fb86c9ae4 SHA512 622fe79c15c7bd80091e3727d71f61cbe0f1229867e6c6274d0006b0862fc6cd8f3bad40dfaa2898a5919bf66deffeb1c2e6d932d9040f97a7c26a41ff09a731 @@ -19,4 +20,5 @@ EBUILD pandas-2.0.3-r1.ebuild 10168 BLAKE2B c71ce8daea781ca15e82074ffd90834359d7 EBUILD pandas-2.1.0.ebuild 8593 BLAKE2B b2deb41f3f5cf8b19c6e4c1303b603b79d62ba27e47556c292586cd40fccb910891d744e4940e106570350e0018dce0ad6d6469848b9b6d2a247a8976c79befd SHA512 180e21d2ee3767658e217068df2f8ad98168ffd75b716622558fdaccf970ac515eb5163b9974def2f357fd91db062f3729e284c0496268e754622ca327646561 EBUILD pandas-2.1.1-r1.ebuild 8973 BLAKE2B f5bf50f911122a51fdffb0fb2c494b08ed35eeaafed9d88b8dbbcdc0bc1e8eed589d483e429a7cf139060b5bb4c28d274c0cd2344c95c98f7561adda4a545354 SHA512 9210e0c175b7c280d406c6eccb0d6a49c5c4ef743a79f79532f4ed76108333cd401242f2ab0a882d75aa4b75459a7a6930f21811b37bcb7059f97eef2f028512 EBUILD pandas-2.1.1.ebuild 8619 BLAKE2B 2464e28b60873a8d8bab036e7249b128afb331478cecebfa8683fb502741f65cfaece65e06fdc0acc206af2fd2237b7a020fa3ac657ce8b2c2cbf3f38c27949c SHA512 27d15e56a4a78952fc0d3ff10221bcf12ef84fa8d48067d10d38fda38f012f96ceeecaa3656231cf85d5f76bd78b0d0451e93c22bb75343fffff661d92b31374 +EBUILD pandas-2.1.2.ebuild 8973 BLAKE2B f5bf50f911122a51fdffb0fb2c494b08ed35eeaafed9d88b8dbbcdc0bc1e8eed589d483e429a7cf139060b5bb4c28d274c0cd2344c95c98f7561adda4a545354 SHA512 9210e0c175b7c280d406c6eccb0d6a49c5c4ef743a79f79532f4ed76108333cd401242f2ab0a882d75aa4b75459a7a6930f21811b37bcb7059f97eef2f028512 MISC metadata.xml 920 BLAKE2B d6bd854acdd851d578038657d91adaedf4f220dbdc5905ebba5e35e74437c6d5bc2384061f7796a6f359aa128c526485635debfd0e1a9646d09daed740167c87 SHA512 dcd949e89cae9df918acb3cf8be5ad8c396ee5e646d2179aa2b646fafa15ffc11e9ccf853df8d7fdcc787f88ce7063639d8d87715aaba943774edc8ad98b540a diff --git a/dev-python/pandas/pandas-2.1.2.ebuild b/dev-python/pandas/pandas-2.1.2.ebuild new file mode 100644 index 000000000000..54ae315b0983 --- /dev/null +++ b/dev-python/pandas/pandas-2.1.2.ebuild @@ -0,0 +1,216 @@ +# 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..12} ) +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 ~riscv ~x86" +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/sqlalchemy-1.4.36[${PYTHON_USEDEP}] + >=dev-python/tables-3.7.0[${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 + + # blosc2 version + tests/io/pytables/test_file_handling.py::test_complibs\[blosc2-{1..9}\] + ) + + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + tests/io/pytables/test_select.py::test_select_dtypes + tests/io/pytables/test_select.py::test_frame_select + # deprecation warnings + tests/io/excel/test_writers.py::TestRoundTrip::test_read_excel_parse_dates + ) + ;; + esac + + 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/tables-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/pickleshare/Manifest b/dev-python/pickleshare/Manifest index 7a1821595259..ac260c7c504f 100644 --- a/dev-python/pickleshare/Manifest +++ b/dev-python/pickleshare/Manifest @@ -1,4 +1,4 @@ DIST pickleshare-0.7.5.tar.gz 6161 BLAKE2B 9c9327d16350b6610d9e7b844a70352c802463a110c13c670cfbd6a6cb0e82d8dea0f9eeac83cda65eeecbf27a2b8c4b1bd21809117c07eb1b67a03d3679c4b7 SHA512 6048634b7c08b6997b75be1d8fc53dd3218294e1f04c5e287ef3c6e4d80da6746fd242980f58b9671b4a4cf639a64bd25861b62fd28d435bfd2386fa655a30ff -EBUILD pickleshare-0.7.5-r1.ebuild 561 BLAKE2B cd818ca4bf78240ea2f370d6950bc9e10c3cbd68f5eec5f5a61a7a81256493a4c6ce05eeba75f277885a66dd6e562290206a68b8cde5976529f88515087f8db7 SHA512 e760b61050f7ff2e847f4efbe62e22d536ff6357903f3c16649d811b6510789c0ccb9dc5edf3deb6808e90148505e29ee02fff508e7c6685b4c6b121fad69b29 +EBUILD pickleshare-0.7.5-r1.ebuild 560 BLAKE2B 640b47e828805bf17c0f87b8253de4639a84eddb4c526253f175bc20cc67b693588ab2d0d4594a27735162e91b9d0854d49de2bc736acbc8b5d156b1801cb936 SHA512 405fc0b198a90b88d12b4260bf74ae1cd078443582926a8d0c4d5d624258a72c06b1c47f56a17f7e360236616a7ccb2d8d49d96fec8d03419b24e98694da0f24 EBUILD pickleshare-0.7.5.ebuild 527 BLAKE2B 93ccf9e34bd3e1430fb2307ac0ce6c856fae2b8db755e35fff11e6393a15a784d3082d7dd444e4255c6fab74444aeea3641d7d40d65d2695d6b8f6e97e93eb21 SHA512 b2973c2c1aa56c70cb3b79b6d525f85e58bb7f8072f09963e0ef23fae737e93ed367736a3f789df9c63f3c388a1e1465da3342d73b516979b8dad73d418d681f MISC metadata.xml 970 BLAKE2B 834db945c8e9c90ddcacf7d001f108b9e26321a155a747f5c7f00068cf915590813d1293afa5f0516233ab52d9a04d73091793bd945fd6e9a96cf51263fa8dd8 SHA512 12a8f50cd4f8aba47aeba2326400d488051d92ea05336b91d59f10e8c2885d00b39a453455c748ff1777a339c39ec0f5273126e719cbbcc8aa15503285b220a9 diff --git a/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild b/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild index f71fce8238d8..a69e5c19eae5 100644 --- a/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild +++ b/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/pickleshare/pickleshare" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/path-6.2[${PYTHON_USEDEP}]" diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index e0a167663bd6..fbca17d316dc 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -5,7 +5,7 @@ DIST pydantic-2.4.0.tar.gz 651740 BLAKE2B 03d849f7aaf40799a821d1c79e1a1eab30f61b DIST pydantic-2.4.1.tar.gz 652537 BLAKE2B a148888aa8cac6e96472797d6b30b8f994ad77ecd38bacc1aceca0f949cfd9025a151e729d63a1ea769de86c1c3199b72ed02f670c59a254a56cd49605856860 SHA512 94ad70e7095d345c7b74a1281200f2ec26ab3d94a4f2b9bd2658d339a80e41d7e6d60a68a127f5b89c7353a485d0f9a6150a8fee7bb3df78d2d12d32a42bbccc DIST pydantic-2.4.2.tar.gz 654020 BLAKE2B 2f91b6bf89f87230976a2e777541bb7418382fb3534f5e61e1dc74a18e5e939508a2440d6bee9a09030beb5f2b6a60fd62c3bf30ee0ee2c7d3f71575920a47f3 SHA512 f0e0d90ead4ba754974b38f8e3d24bc017696674ca1ed3300104389d149baa41c495218a118f5e7f98bf20d34b3c17439921eaff0ccd7bf76cac96a16e592b4e EBUILD pydantic-1.10.12.ebuild 2518 BLAKE2B 84f7ee9b095b56518792f81df308652cdc725c6accef3388615bfea735c676f45e449e0c60ec030349b067a8a97833669071f493325c6644c7a73d08d348dcc3 SHA512 7fedbe4158ce80d41e8686ed19618bb818d3efdf8d508a8d4fdef7f8525a3e4e1364a340ba0d710f2b33327a280e33e5df15c0ea2920446dfee3d1b95cc4862f -EBUILD pydantic-1.10.13.ebuild 2519 BLAKE2B d6efd583acae2383cd8f6d03cdeca5fd5822c354b9971a41f5fdeaec35b5bd48ebf91ae36d3b1b42e71c1f96e4547eeaad325bc49e4bbc7a058a34f635c6518e SHA512 301b44cfacee4f426e89a6b3444ef2b756fe4e3fcea31886ad2078ca3ec45280fcb495e87182367647b53b21d94709def4148724cab6ae5d7a8cc2f04408d34c +EBUILD pydantic-1.10.13.ebuild 2518 BLAKE2B 84f7ee9b095b56518792f81df308652cdc725c6accef3388615bfea735c676f45e449e0c60ec030349b067a8a97833669071f493325c6644c7a73d08d348dcc3 SHA512 7fedbe4158ce80d41e8686ed19618bb818d3efdf8d508a8d4fdef7f8525a3e4e1364a340ba0d710f2b33327a280e33e5df15c0ea2920446dfee3d1b95cc4862f EBUILD pydantic-2.3.0.ebuild 1679 BLAKE2B ee05d706e5e5662ee2b90d6cdc0ebb5488d01d43500f6eedcd582191879a42c6feb14686ecafc90c916899567ebb575f45d509bc3e66ce39e51cce87d314c0f5 SHA512 02ce7781088c41f75be814a869380364066d594c5d0a4a92a7882963823652d94f863db85c10dace2260d10f4f33a28478e94fc4dd6887c58b2cbb3c31ed159a EBUILD pydantic-2.4.0.ebuild 1243 BLAKE2B ba32e67df92a409cd570ad09dcc597d2df529e07074717f7a3f6bf4973a8e2c9d3aacad33e5f75377437b0be738858d7193e118167172d113ea862dcb94e4e63 SHA512 0d7805b771c66a2f0059105ddfbf8a53a3d269d78c4b532fbcfae3dc3a08a76ed6bc0cc1b2cbe620fb6c6397d5ccdc49949d35f58cf55858405b0033b3c3fbe0 EBUILD pydantic-2.4.1.ebuild 1251 BLAKE2B ee63b5f2039aaebf00167105378dda7ce14da758f046c20f7c230a1ff54b88dfa1104f5b4adba97a9f04dc5766eb274c017d22e8253a7b1b987dfc3acf249411 SHA512 8f26955e91057e9c1d116b71b9a9d4e345819a1ed49bdd551e39f21238d30d624fde0470c4b558296bec2f18b08d598b203a9ff2e87ee247e5917c5d9377eb51 diff --git a/dev-python/pydantic/pydantic-1.10.13.ebuild b/dev-python/pydantic/pydantic-1.10.13.ebuild index 477d2c4280e4..68345cdc15a8 100644 --- a/dev-python/pydantic/pydantic-1.10.13.ebuild +++ b/dev-python/pydantic/pydantic-1.10.13.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="native-extensions" RDEPEND=" diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 8f7ecfc3f2cb..002a99e540ef 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,5 +1,7 @@ DIST stripe-6.7.0.tar.gz 293207 BLAKE2B 5c07b6f04aa72045cccb4422b1f163cf6351f100d2245a4f93952d641ed8e4735c964b850179906bc7af13730724f596cd2cfa85c3d8fb8792f6a4e561337b0a SHA512 778c3ffa177e52b62bf4821b2f0aaa5eef01d8690526c42015d192bb06332a2a5fd143c8dab82497803adcfed963b7ccf06dc77908b21a7a7c77f9ef39b39c12 DIST stripe-7.0.0.tar.gz 378521 BLAKE2B a53248162b44776f0c457064c3d2d99e7f6ec8561d1a88ee7bec655d20ff9dada3c92d7d764b3775950902a908f1d9d82c0002483cd168646f1cbde19640ca92 SHA512 154a772880522e5567907c3c9c6024f18ee1e81b4e192f30dbe8ea4b0fa3d1cf4b04d9de7ab9f0911e2a3d9c5f65207fd4d499b4e5ea3c606c738506d2eb15d5 +DIST stripe-7.1.0.tar.gz 737411 BLAKE2B 9db3d016e0a4180b377b9a7e4251f622ff62f2fd29e8fa6680941e4ce4b8585f675ab46eb46ba02b3f7e07679f048a3b6429a7ca0ebdb23ef41cd159111e6ca1 SHA512 240e0e0ba275e255e64d91036dc6489c60079d1ae031135b3fbb7f0db1aa12bf7251a303dfd56e1eac45bb0c667d76b64f4866b558ac3b78ccc0b9ebb8016bff EBUILD stripe-6.7.0.ebuild 1911 BLAKE2B 0233bb23196ecd23022c85dbe304f83f84c9f992c558dca7c2fa3869acb82751644d1306dca3f2b27f6d4fe8cc625e22328e04bee232b21873c5ef4e963c9df6 SHA512 17b5ed9d8d5f8748165703cdcac110a40eb0505304d6649d56d57316148e0097983afc6d15170195b0c1e86348b6437696e1773a2132e9ca14dc6b3dcd04ee72 EBUILD stripe-7.0.0.ebuild 1913 BLAKE2B 5a4402b2ab462b8e692b5a6f3857a19c465f5c34b95786c9279549f5d03ba054c70e33e986fbda77fb45a881a9dfa4076095ffb88cfe47dbfda802df7a2422e9 SHA512 d4c0e62f3a101c2fe2db9ddbdaab2f00f6052db2690e4d8c893b166296bfa1efc0e8afe5f125816d37eead4bbab183c602e48821710287b411c4d6df81d35eb2 +EBUILD stripe-7.1.0.ebuild 1913 BLAKE2B 464bdd3dd7c56b058f5fff69e34ccfeb556dfa6c23c1ada2cbd4324ddca2bda140430108f2aad5f422d08bad7ad64eb830ed2463fb8578646d77054e56b194bc SHA512 77266f6919d8c05d990c340399fcced2790cd7333ad7b3416b9865443ea01c21a27b0511178df663c407ba4cee9cbb90ffae280a8bcf5e10f6fd299495a7f3f0 MISC metadata.xml 372 BLAKE2B e6a38fdec6fc016068e7a0522ba15e83bf358ba1475e54a9630b1e86c75bc14b790c59716317bd81438a1c770e4d31afbe04400ddcd5dd272715c251fd6cb1a2 SHA512 2d9672b242f2d38654f7906097e597dfbdf75afa3583ea331f61772db95d19a802e83ed523c67a6cf3da18411036055c0996fd04d99199618d5205be8a61bd77 diff --git a/dev-python/stripe/stripe-7.1.0.ebuild b/dev-python/stripe/stripe-7.1.0.ebuild new file mode 100644 index 000000000000..110df1be151a --- /dev/null +++ b/dev-python/stripe/stripe-7.1.0.ebuild @@ -0,0 +1,72 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.177.0 + dev-python/pytest-mock[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +python_test() { + epytest tests +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} -- cgit v1.2.3