diff options
Diffstat (limited to 'dev-python')
39 files changed, 405 insertions, 325 deletions
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index ea99a0eaab16..1a86138b2bb5 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,2 +1 @@ -DIST black-23.3.0.tar.gz 582156 BLAKE2B 01ed5443e1bb251d46618a5b61bbfcc2dc0b41c0bef7d4315fb704a2ac0fd51eb4fe268838b8be6195630f21e6f7b3a5bfca124a7bd60dbef95a02714924327b SHA512 1ea8749ee25aae34a40c5d1b779c6076971488dea1a85ebfcbe4c2a8bb5abb5e3918a735a4e3f9b4ae2690eda0f48fac014ade055721b54d879fdd2d3450b72b DIST black-23.7.0.tar.gz 586177 BLAKE2B 4bb50b6c7409a97aa277f1048c17101a1c91368b9269cf4c08d3052c036887d2ed6e5f1f2e044c14f41bf2d969d65183413c2a9810f12d96cbf09778c9b1310e SHA512 78d5e87bfef4dcaff007455e8c72dcd45f9374c09da6f4ba45ae7caa980005d1bc984c68fa44d4abf7969a376a4039546e7e8f537c3aa1331d213e13dcbe3941 diff --git a/dev-python/black/black-23.3.0.ebuild b/dev-python/black/black-23.3.0.ebuild deleted file mode 100644 index dee45d39ff0d..000000000000 --- a/dev-python/black/black-23.3.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/black-23.7.0.ebuild b/dev-python/black/black-23.7.0.ebuild index 0f668fc6a2b6..db949f6f766f 100644 --- a/dev-python/black/black-23.7.0.ebuild +++ b/dev-python/black/black-23.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index e22477b2b753..5bf267d41f7f 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -9,3 +9,4 @@ DIST boto3-1.28.30.gh.tar.gz 689629 BLAKE2B 03081369f995ae470717c32ffd0e80c1bac6 DIST boto3-1.28.31.gh.tar.gz 690064 BLAKE2B 409dcdb3c4a0ee2bb32d8a68ba2779d347b0686076c9bc922320b370def9faa6cde964279d8fb2d885f547299e1358c05db80688fdf953ddf70030eb282ebed9 SHA512 6a1de5568c5663a9f37ae991ae072fbfa7fcafbfa5786bfcd4335c6dcdb1eadee8050ead64251cc687b8f954b6d3a79fd3bef0b1fedd4cd4fcb2d63f405a0323 DIST boto3-1.28.32.gh.tar.gz 690385 BLAKE2B 2d5ff74dc8f27d43329796910c6810257f997780afae1fdaaa9934853735244512464dbe7eb882376720e4c76bb2ec2fd9e56673f7677dc9a88d6a838fe2d2a9 SHA512 e7faa2e40b8fbb5e69070277fa9ee50000ab94f2540f9ca6e781c61e99d674e3039bc7b16dd3e196dc2876dc8149b6513a0d8c8c888c96aeef13abb3e7617f1e DIST boto3-1.28.33.gh.tar.gz 690686 BLAKE2B 572f5aa0b9a71e39a62fccdce84fa359e0b96d196d983965d335de2299e734239586bfde43c5f48463afddace7d7a91139cabc2737a5b4f3b40684c13112f267 SHA512 2bb4375f5c3d85283a10ff9325b8688ab1e2aceb7be8cd255bc2d054c75eda54df320a85eb4910e0119633e8977158f216df2fdb373c9bb5df8eb7cb4389a4fd +DIST boto3-1.28.34.gh.tar.gz 692262 BLAKE2B e6382326f74f05c045a3ecacedbef2917dc297343637a70d4947b20b37a33e303bbf751b1f55d7deae581788a0ac2a627b3fdd58629b3ad961030e6095c1eb90 SHA512 340352632d1058d7ed50ce011d2697ed01680d6ee0443fe6fa08813924deffc642d6ec0b076bf9669a98e926fb5467a546ff3c4febe43eec602ab1f2cd51e8d3 diff --git a/dev-python/boto3/boto3-1.28.34.ebuild b/dev-python/boto3/boto3-1.28.34.ebuild new file mode 100644 index 000000000000..900d8f22baf9 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.34.ebuild @@ -0,0 +1,66 @@ +# 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_{8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 029ef7daee3e..eba8b25e6dd3 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -9,3 +9,4 @@ DIST botocore-1.31.30.gh.tar.gz 11873788 BLAKE2B 0e0f7500c838c1dc1978956a1b191b3 DIST botocore-1.31.31.gh.tar.gz 11877393 BLAKE2B 6f1d09ce68815ad9a97bf7df9a4153d76898dc2814ab39f2406812ec6e1075f70e0fe10c33f258c1af0855e2b5f429d2862fae67a8a4deac2aa907a239b1f98e SHA512 00ff060d1dfc7d810d654afea8e75bf69693d0205621ef66eb8003dcd81def3215e55e8e7e643cf9401e39f5cab82edb025aefe5a78d100ca651bcc82564c7e4 DIST botocore-1.31.32.gh.tar.gz 11878306 BLAKE2B 19292e0456f66e4d2b60efb6a6b176fd1e6c81ec77fa14fc7af61549c31abb8d3045aa778b2f279e66457255b8ee33a8e911b5e981e788b056aabd6af4465b48 SHA512 f94b820f74c88e7bac6b4b8b3f7de66eee8406df6f3bb9f3a97673c65664dd598f92eb82f78487d6bcb1431c5001c98b007ebd0edb11abd35e7bbe0243a7ce69 DIST botocore-1.31.33.gh.tar.gz 11877895 BLAKE2B feec0dc8b6d7db2630ee381a41e74434baa18c86ef966fc70db2fc8c1edd6d42eb48aeb952cdd1aabd929235747da4ea845dfc8379f9b9841bf5daef9932bc82 SHA512 bb44a0ecc907594f899e64ff04feab3f1ac603902d3ba49ac36100f8cd2e7befe9845c6fabfe2571b32d36d4c370e6f46e164ba5355e0a1fe3d6e249d24b2724 +DIST botocore-1.31.34.gh.tar.gz 11877457 BLAKE2B 1d92e2b3cbddad824d78e374bec5625b946bb3eb2c262a7eff79ed25e40066bdb17408d9f659ecc8923d544583c21335d8f4032f893eddf4c653064c1bc8c0b3 SHA512 b9fbfb0234cd7fcfd196c1bfa07a01b8583bdf0af425c9f4f27d1bdcc1ca0323c9b78444957f839b6d9c3597c1c60dcb3f32c9263598e555375dd1871d734b8c diff --git a/dev-python/botocore/botocore-1.31.34.ebuild b/dev-python/botocore/botocore-1.31.34.ebuild new file mode 100644 index 000000000000..cfff2c3537d6 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.34.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_{8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest index c59d847716eb..d8cd1f0bd31b 100644 --- a/dev-python/contourpy/Manifest +++ b/dev-python/contourpy/Manifest @@ -1,2 +1 @@ -DIST contourpy-1.0.7.gh.tar.gz 13357940 BLAKE2B 740214d68eb95c2d80dfb4008fbf82ae1bbd7135476a7f1a45863e2fd88331c959e80dd56afde67789e95325fe4613a6404c24d4deafebacfabbdebc0b199dfe SHA512 64edcfc911b3d7af9b422058d1f595c05d64f7fca8511ea199d30fa52854aee53a7c7dd95e2f47964f57e7764ce6b7b05c8ccee5ed0309eb5daa822d488ce0ff DIST contourpy-1.1.0.gh.tar.gz 13413711 BLAKE2B 020bf7f63dbe304e71b66249cdfa86047598a3f8352657f7c179bc068869bf7659fb7c821749a0be33a8a04ec02dc642ac7a9ed14f5fd73d4a1e9f20c3606ee2 SHA512 aeb60db039aa14aed29a31dcf6091708daf7e65589964dd7682dc28e085d584103abb872e607685408eaefd4947adeba966c9a0d93cb1f827805189e498c67d8 diff --git a/dev-python/contourpy/contourpy-1.0.7.ebuild b/dev-python/contourpy/contourpy-1.0.7.ebuild deleted file mode 100644 index 35dd10a96e92..000000000000 --- a/dev-python/contourpy/contourpy-1.0.7.ebuild +++ /dev/null @@ -1,48 +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=setuptools -PYTHON_COMPAT=( python3_{8,9,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="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -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}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # linters - tests/test_codebase.py - ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # threaded algorithms are known to be broken - # https://github.com/contourpy/contourpy/issues/163 - epytest -k "not threaded and not threads" -} diff --git a/dev-python/contourpy/contourpy-1.1.0.ebuild b/dev-python/contourpy/contourpy-1.1.0.ebuild index 2fda9b335159..bfaef8772db8 100644 --- a/dev-python/contourpy/contourpy-1.1.0.ebuild +++ b/dev-python/contourpy/contourpy-1.1.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +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}] diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index f646de6b8116..ee9d4cc62d2a 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1 +1,2 @@ DIST griffe-0.34.0.gh.tar.gz 181554 BLAKE2B 67d9a453cbd4388e7eefce9613b58667fff184b235e06743ba0a997a961b320f00a62505b06d7dde8f068e206e0ba9424e4da7969c0bedeeded80a85f981f824 SHA512 92fd93e49f4c52f9e819cca853f5c950a66d782f0161da41e11ae2a64e09a6bc2319481c8410a220c844b1ed44a96860d3e1bd152512b9ff5d6ec0fe11f36752 +DIST griffe-0.35.0.gh.tar.gz 184348 BLAKE2B eafd03d55091c960ae8686e0e1113ca266b1f980a00ebb12e252e54105dd10f56f1cb76de9fdba0ceefe2c8b7190f3aa1fe3557cac162e96b8ee408ce682f47d SHA512 9308c215232775e1355c7470006f611f1ec413cd7f24300fbc9a4b1b15108d4d20fb31e1be0ddd3b28d84862eb0409d0481a5744899a6db9ea9574987c37d86a diff --git a/dev-python/griffe/griffe-0.35.0.ebuild b/dev-python/griffe/griffe-0.35.0.ebuild new file mode 100644 index 000000000000..0f91c6b826a5 --- /dev/null +++ b/dev-python/griffe/griffe-0.35.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_{8,9,10,11} ) + +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.3[${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/markdown2/markdown2-2.4.10.ebuild b/dev-python/markdown2/markdown2-2.4.10.ebuild index 63dc7220bcde..5d9687de40ab 100644 --- a/dev-python/markdown2/markdown2-2.4.10.ebuild +++ b/dev-python/markdown2/markdown2-2.4.10.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/pygments-2.7.3[${PYTHON_USEDEP}] diff --git a/dev-python/meson-python/meson-python-0.13.2-r1.ebuild b/dev-python/meson-python/meson-python-0.13.2-r1.ebuild index d3f674b8ac04..41c45165fa73 100644 --- a/dev-python/meson-python/meson-python-0.13.2-r1.ebuild +++ b/dev-python/meson-python/meson-python-0.13.2-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/mistletoe/Manifest b/dev-python/mistletoe/Manifest index 02c865e2600a..65e257d115fa 100644 --- a/dev-python/mistletoe/Manifest +++ b/dev-python/mistletoe/Manifest @@ -1,2 +1,3 @@ DIST mistletoe-1.1.0.gh.tar.gz 116246 BLAKE2B 52761841380f28e490f1d675ab95bf0f31be44c909c5221dadca37eaeb3bc909c4d9091d52bd3a99f9b4b371fa102cf0f02225a1aa0732ccda4dca2ab85214e2 SHA512 3b1d8b6a9e3fc1fa67a212977a1c26cedafdf2bd2cc53113b8bb583433e69af0b4fd47b575f9a1ba4bda50b1c55a0d27faf9877b6300982eee2f6b8fcb621b7c DIST mistletoe-1.2.0.gh.tar.gz 118346 BLAKE2B fd81792bd86bb21ef57004f2987bba8a01cbc63b4ccbda062d20bc5b73090c83f7fcd5c9a8c36a55d0178f33decd9850b6d38c176b1cf2b90c619a81b6055d6c SHA512 4ba40292174350d1b747092ed57b62955c10e69542f2592dfdcceabcedb67c7645f14cd554c22b91554abea0511e0e47433a4fa90de8f0a08fce3e7a77fdad92 +DIST mistletoe-1.2.1.gh.tar.gz 118396 BLAKE2B 0b8d442b9dce20f8b5f7619969761693a5c2a04cf99d35a9771ce7b4e073d993705ba4ddedd929c0535b526ef0dea64824fac82403e7b1743b3b80d4292c1772 SHA512 a6dc5dc021d001a0b34a4d6cb5007ef55958b93d143937ecde07602aaf25e3a9c3116be2ed8f8cd90353524cf8d4058239f4018b726bec007b13d917e6deefac diff --git a/dev-python/mistletoe/mistletoe-1.2.1.ebuild b/dev-python/mistletoe/mistletoe-1.2.1.ebuild new file mode 100644 index 000000000000..a3430dd3d1ac --- /dev/null +++ b/dev-python/mistletoe/mistletoe-1.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A fast, extensible Markdown parser in pure Python" +HOMEPAGE=" + https://github.com/miyuchina/mistletoe/ + https://pypi.org/project/mistletoe/ +" +# pypi has incomplete test suite +SRC_URI=" + https://github.com/miyuchina/mistletoe/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# NB: pygments is technically optional but we like syntax highlighting +RDEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/mkdocs-material/mkdocs-material-9.2.3.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.2.3.ebuild index 720d3dc82858..15f25e642ff0 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.2.3.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.2.3.ebuild @@ -27,7 +27,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" IUSE="social" RDEPEND=" diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index 3c152adce5d1..2c618af20185 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1 +1,2 @@ DIST mkdocstrings-python-1.5.0.gh.tar.gz 134827 BLAKE2B 8af0d4497a93c9064a4413ea88efe54461a56bfe58980162467c65ce20c612a15cd59334499c98ca6d2ad99f1c4bff3ad7feef0ddb654d4c171462169903d34a SHA512 99fd4db1541c48317e3bb7a8a4600cb358e938d506eb85773cd9d52de220a444a508df5b5ab7f5346f2680a2c2aa2f7c9635e62adc4fbc53e7500f1aaf6bc079 +DIST mkdocstrings-python-1.5.1.gh.tar.gz 135102 BLAKE2B 06da82fd75b5f4311e98316037f073bbfc176fb50b2676a43dc43c6d819574d4ad724bffa75ce4f765858fdb8042f8802c607e6093121920b48bf3db4b130c17 SHA512 01b5e78bb9ff3d0325ce96f1bf44d2f0da5809db925ca93db43b210da867c8a31b7c68329a4d11345283b170e34cbd50a11b7e5364ab1d9cbc074a1aa9f792d7 diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.5.1.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.5.1.ebuild new file mode 100644 index 000000000000..f9c059e2c6d8 --- /dev/null +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.5.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11} ) +DISTUTILS_USE_PEP517=pdm-backend + +inherit distutils-r1 + +DESCRIPTION="Python handler for dev-python/mkdocstrings" +HOMEPAGE=" + https://mkdocstrings.github.io/python/ + https://github.com/mkdocstrings/python/ + https://pypi.org/project/mkdocstrings-python/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/python-${PV}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/griffe-0.35[${PYTHON_USEDEP}] + dev-python/mkdocstrings[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mkdocs-material[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/mysqlclient/Manifest b/dev-python/mysqlclient/Manifest index 16337db4e649..d46a11d00ae7 100644 --- a/dev-python/mysqlclient/Manifest +++ b/dev-python/mysqlclient/Manifest @@ -1,2 +1 @@ -DIST mysqlclient-2.1.1.tar.gz 88138 BLAKE2B fdd044f2703af874dc0ca67b2fe07fcac3ceed5a4543aa15a0daa852ddf5ad6940a43675c0f104d9aa173e96da946e33054e1cc4c1b9812487558af64cc8fd43 SHA512 d8aed044b651aabb8d28d2df085f84e4d824ef0f147216d111425a9c8024f55634236ec131debf46660084c5a8fd67c944db60ffbf89e1d712cdca80c0726a06 DIST mysqlclient-2.2.0.tar.gz 89543 BLAKE2B 1e75d37825b81300103d980174d12986d7d02fa2f958ebbdb3d8a2ecea498a8afd9f43c2e3d46a88109364bc0ba172f91c7d5853ed4bd173ef34bc451d31c7b3 SHA512 c392bfc173c2a2e20821b862c3f23621bcd0c20884f58623c345921aaa4f0557b3f75e75e5577a0df150adf119ec008af5ad1fcbfe11248d73918c0a211e8df9 diff --git a/dev-python/mysqlclient/mysqlclient-2.1.1.ebuild b/dev-python/mysqlclient/mysqlclient-2.1.1.ebuild deleted file mode 100644 index a7bbbc4abb0a..000000000000 --- a/dev-python/mysqlclient/mysqlclient-2.1.1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# 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_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python interface to MySQL" -HOMEPAGE=" - https://pypi.org/project/mysqlclient/ - https://github.com/PyMySQL/mysqlclient/ -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -DEPEND=" - dev-db/mysql-connector-c:0= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-db/mariadb[server] - ) -" - -distutils_enable_sphinx doc -distutils_enable_tests pytest - -src_test() { - local datadir="${T}/mysql" \ - install_log="${T}/mysqld_install.log" \ - pidfile="${T}/mysqld.pid" \ - socket="${T}/mysqld.sock" \ - log="${T}/mysqld.log" - einfo "Creating test MySQL instance ..." - if ! mysql_install_db \ - --no-defaults \ - --auth-root-authentication-method=normal \ - --basedir="${EPREFIX}/usr" \ - --datadir="${datadir}" >& "${install_log}" - then - cat "${install_log}" - die "Failed to create database" - fi - - einfo "Starting test MySQL instance ..." - mysqld \ - --no-defaults \ - --character-set-server=utf8 \ - --pid-file="${pidfile}" \ - --socket="${socket}" \ - --skip-networking \ - --datadir="${datadir}" >& "${log}" & - - local i timeout=10 - einfo "Waiting for MySQL to start for up to ${timeout} seconds ..." - for i in seq 1 ${timeout}; do - [[ -S "${socket}" ]] && break - sleep 1 - done - if [[ ! -S "${socket}" ]]; then - cat "${log}" - die "MySQL failed to start in ${timeout} seconds" - fi - - cat > "${T}/mysql.cnf" <<- EOF - [MySQLdb-tests] - socket = ${socket} - user = root - database = test - EOF - - distutils-r1_src_test - - einfo "Stopping test MySQL instance ..." - pkill -F "${pidfile}" &>/dev/null -} - -python_test() { - local -x TESTDB="${T}/mysql.cnf" - rm -rf MySQLdb || die - epytest -} diff --git a/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild b/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild index 34b30b24c71b..a7bbbc4abb0a 100644 --- a/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild +++ b/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" DEPEND=" dev-db/mysql-connector-c:0= diff --git a/dev-python/numpy/numpy-1.25.2.ebuild b/dev-python/numpy/numpy-1.25.2.ebuild index 58917cd910ca..944a9409222b 100644 --- a/dev-python/numpy/numpy-1.25.2.ebuild +++ b/dev-python/numpy/numpy-1.25.2.ebuild @@ -23,7 +23,7 @@ LICENSE="BSD" SLOT="0" IUSE="lapack" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc ~x86" fi RDEPEND=" diff --git a/dev-python/paginate/paginate-0.5.6.ebuild b/dev-python/paginate/paginate-0.5.6.ebuild index 096dd4c48129..fba3608c272a 100644 --- a/dev-python/paginate/paginate-0.5.6.ebuild +++ b/dev-python/paginate/paginate-0.5.6.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" distutils_enable_tests pytest diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.7.1.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.7.1.ebuild index 5af2ddda9408..2bdcc6532962 100644 --- a/dev-python/pyproject-metadata/pyproject-metadata-0.7.1.ebuild +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.7.1.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/python-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/pypugjs/Manifest b/dev-python/pypugjs/Manifest index 4abcc510d4cd..d4795415db7e 100644 --- a/dev-python/pypugjs/Manifest +++ b/dev-python/pypugjs/Manifest @@ -1 +1,2 @@ +DIST pypugjs-5.9.12-nose.patch.xz 12616 BLAKE2B 0cb8e8cce8af20c301e5781bca466c26f0ef97365fb67c0c46b241c0c110010a6dbf0bcc63dc7e8e886a875d2827b4fd3abd080f69022d9247d8c71c8ee80e07 SHA512 c575600273069f0395ceb55abc7dac3bf0889c8b17c89b5bf5562aa919d8818464c27eee6d7518c796b37bdbd3d265ac8301e845f024122c3cab87b0ccfaf617 DIST pypugjs-5.9.12.gh.tar.gz 51164 BLAKE2B 32b7bbc2bde966ea53c6f52a77482f4f6ca1e0cb09948c1c9850cdd66e4449ecc60e2f6b812f57a7ade5bc323c48be5d105d63ab6680d5e2197cd203fce40d85 SHA512 c6e4bd3bb27d321e3721504e7c01f97d869eb2e29e3ac8f086aa696ca29436978ceaa420ef8ac9b5addd859f7764817b1f159e0f41784a3fdb9cd3a0620eb7dd diff --git a/dev-python/pypugjs/pypugjs-5.9.12-r1.ebuild b/dev-python/pypugjs/pypugjs-5.9.12-r1.ebuild new file mode 100644 index 000000000000..599372bc97c1 --- /dev/null +++ b/dev-python/pypugjs/pypugjs-5.9.12-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Pug (Jade) syntax adapter for Django, Jinja2 and Mako templates" +HOMEPAGE="https://github.com/kakulukia/pypugjs" +SRC_URI=" + https://github.com/kakulukia/pypugjs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +SRC_URI+=" https://dev.gentoo.org/~dolsen/distfiles/${P}-nose.patch.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/six-1.15.0[${PYTHON_USEDEP}] + >=dev-python/chardet-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.1[${PYTHON_USEDEP}] + >=dev-python/mako-1.1.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${WORKDIR}/pypugjs-5.9.12-nose.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + # Remove pyramid backend as pyramid isn't packaged + rm -r pypugjs/ext/pyramid || die + distutils-r1_src_prepare +} + +pkg_postinst() { + optfeature "converting to Django output" dev-python/django + optfeature "converting to Jinja2 output" dev-python/jinja + optfeature "converting to Mako output" dev-python/mako + optfeature "converting to Tornado output" dev-python/tornado +} diff --git a/dev-python/pytest-env/Manifest b/dev-python/pytest-env/Manifest index 2edb2ba86520..eed9731c9169 100644 --- a/dev-python/pytest-env/Manifest +++ b/dev-python/pytest-env/Manifest @@ -1,2 +1,3 @@ DIST pytest_env-0.8.2.tar.gz 7419 BLAKE2B c07140de76392bcf316935efaa52aea344c7167a95fe497c3702dd2aabc3150641f0903f2de6ee1794453dc2e5b1630d746b2fcb3dbcea8edb9ba066cde0a0b4 SHA512 6fbbb6b1db21ebeb47c472e10adb9bacedcdbbabceeaf93b01146ec7e175005aeef46616a4343bf02b23561c0ff5815506fe356f337371dfc057ee29521f68af DIST pytest_env-1.0.0.tar.gz 7456 BLAKE2B 9eaf71aa05a9a4b8783184dce1f1779b5ee54da54839f1113c9276df7cb4c4ef6055aadad7d20063d4c5c24654f2d100970bdae540eac49b89f049b78be49e93 SHA512 9d25c704e253c11e77933911817ba2b42127c13c38615e1cbf11575cfced81c69a46603bef680ee371512788acb6359a76841019837d55151490fd1f093bb83b +DIST pytest_env-1.0.1.tar.gz 7565 BLAKE2B 26aa1c6a5d44bbe40266bbb62ca62c687dd1d85aed821c271f301ff27a97fdc753d2cdf5feba8b223b33b5b05bf39c55c3df0f1f8f7aae77335f2052a65df6c0 SHA512 422aaa78e25fad7b447f06358b772cacf22d5441ae0aaac22863877424f44703c1329813b068d901d4f2fb9df21bb08a5e4082504b76102d02dd15087d527a01 diff --git a/dev-python/pytest-env/pytest-env-1.0.1.ebuild b/dev-python/pytest-env/pytest-env-1.0.1.ebuild new file mode 100644 index 000000000000..a525d6b4d29a --- /dev/null +++ b/dev-python/pytest-env/pytest-env-1.0.1.ebuild @@ -0,0 +1,36 @@ +# 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_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin that allows you to add environment variables" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-env/ + https://pypi.org/project/pytest-env/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/readtime/readtime-3.0.0.ebuild b/dev-python/readtime/readtime-3.0.0.ebuild index 7c5c9772e88c..2f8f289d2573 100644 --- a/dev-python/readtime/readtime-3.0.0.ebuild +++ b/dev-python/readtime/readtime-3.0.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" RDEPEND=" >=dev-python/beautifulsoup4-4.0.1[${PYTHON_USEDEP}] diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index dce410a5e94a..305693d24329 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -1,3 +1,2 @@ DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2 -DIST reportlab-3.6.13.tar.gz 4035524 BLAKE2B 638b670b76b4cfb88c0a66db484f5b4d042fd935798316d02303932503e353a6035419d7ef1c4dccd8ef94b3cc2e13a576fd3cb5461fca17122a800f1140945a SHA512 059c3acf2c995ebdd3ffe005bd98640bc9c063c2fb9b3115351b9c1a4f7cfdabf4ffe61123342de2e84773005d46cf6d44410042206222df0700259e31ec7aae DIST reportlab-4.0.4.tar.gz 3132866 BLAKE2B eb1791b248c8c0dc194781ca09dbf181dc20f745ce2fdd3a4627ae027b21baddc0bea56c6e5eefd5905f7656c5a3a388d90310ce53a948ab0a3dbaff569f2d63 SHA512 7d79f6258672523bee50256b5b15e336801fc42f290fa2ed5ed0ab355c9f2903c9210bb935c9c00fa74174072232402247c923268ede5d61ca62493d0faa2844 diff --git a/dev-python/reportlab/files/reportlab-3.6.11-correct-srclen-type-in-gstate__aapixbuf.patch b/dev-python/reportlab/files/reportlab-3.6.11-correct-srclen-type-in-gstate__aapixbuf.patch deleted file mode 100644 index 20a57efcac66..000000000000 --- a/dev-python/reportlab/files/reportlab-3.6.11-correct-srclen-type-in-gstate__aapixbuf.patch +++ /dev/null @@ -1,37 +0,0 @@ -Note: Upstream development is done in HG, not git; this patch was -generated using the git mirror at -https://github.com/MrBitBucket/reportlab-mirror. Attempted to submit to -reportlab-users mailing list but it rejected my mail server. - -From 9ba2380a68e891667a2659e16d0f04ebe0ecfd19 Mon Sep 17 00:00:00 2001 -From: matoro <matoro@users.noreply.github.com> -Date: Mon, 4 Jul 2022 18:42:18 -0400 -Subject: [PATCH] correct srclen type in gstate__aapixbuf - -gstate__aapixbuf calls PyArg_ParseTuple with the format string -"ddddy#ii|i". Specifically the key "y#" will try to read a bytes-like -object and its size into two Python variables. The latter of these -should be of type Py_ssize_t as specified by the C API, but here it is -incorrectly declared as an int. This was pointed out to me by the -cpython developers when I mistakenly identified it as a cpython bug and -submitted a PR there: https://github.com/python/cpython/issues/94149 ---- - src/rl_addons/renderPM/_renderPM.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/rl_addons/renderPM/_renderPM.c b/src/rl_addons/renderPM/_renderPM.c -index c8415595..bc77d766 100644 ---- a/src/rl_addons/renderPM/_renderPM.c -+++ b/src/rl_addons/renderPM/_renderPM.c -@@ -1319,7 +1319,7 @@ static void _reverse_rows_inplace( char *buf, int nrows, int stride) - - static PyObject* gstate__aapixbuf(gstateObject* self, PyObject* args) - { -- int srclen; -+ Py_ssize_t srclen; - double ctm[6], dstX, dstY, dstW, dstH; - ArtPixBuf src; - --- -2.37.2 - diff --git a/dev-python/reportlab/files/reportlab-3.6.9-paths.patch b/dev-python/reportlab/files/reportlab-3.6.9-paths.patch deleted file mode 100644 index e5ed7c43478d..000000000000 --- a/dev-python/reportlab/files/reportlab-3.6.9-paths.patch +++ /dev/null @@ -1,21 +0,0 @@ -Disable broken logic for finding freetype2 that hits symlink loops. - -diff -dupr reportlab-3.6.9.orig/setup.py reportlab-3.6.9/setup.py ---- reportlab-3.6.9.orig/setup.py 2022-03-28 10:13:33.892516135 +0200 -+++ reportlab-3.6.9/setup.py 2022-03-28 10:49:11.048573739 +0200 -@@ -737,13 +737,10 @@ def main(): - else: - FT_LIB=FT_LIB_DIR=FT_INC_DIR=FT_MACROS=[] - else: -- ftv, I, L = inc_lib_dirs('freetype') - FT_LIB=['freetype'] -- FT_LIB_DIR=L -- FT_INC_DIR=I -+ FT_LIB_DIR=[] -+ FT_INC_DIR=['/usr/include/freetype2'] - FT_MACROS = [('RENDERPM_FT',None)] -- infoline('installing with freetype version %s' % ftv) -- infoline('FT_LIB_DIR=%r FT_INC_DIR=%r' % (FT_LIB_DIR,FT_INC_DIR)) - if not FT_LIB: - infoline('# installing without freetype no ttf, sorry!') - infoline('# You need to install a static library version of the freetype2 software') diff --git a/dev-python/reportlab/reportlab-3.6.13.ebuild b/dev-python/reportlab/reportlab-3.6.13.ebuild deleted file mode 100644 index 69a23ab3476b..000000000000 --- a/dev-python/reportlab/reportlab-3.6.13.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Tools for generating printable PDF documents from any data source" -HOMEPAGE=" - https://www.reportlab.com/ - https://pypi.org/project/reportlab/ -" -SRC_URI+=" - https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -DEPEND=" - media-libs/freetype - media-libs/libart_lgpl - sys-libs/zlib:= -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}] -" -BDEPEND=" - app-arch/unzip -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.6.9-paths.patch - "${FILESDIR}"/${PN}-3.6.11-correct-srclen-type-in-gstate__aapixbuf.patch -) - -distutils_enable_sphinx docs/source - -src_unpack() { - unpack ${P}.tar.gz - cd ${P}/src/reportlab/fonts || die - unpack pfbfer-20070710.zip -} - -src_configure() { - cat > local-setup.cfg <<-EOF || die - [OPTIONS] - no-download-t1-files = 1 - use-system-libart = 1 - EOF -} - -python_test() { - pushd tests >/dev/null || die - "${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}" - popd >/dev/null || die -} diff --git a/dev-python/reportlab/reportlab-4.0.4.ebuild b/dev-python/reportlab/reportlab-4.0.4.ebuild index 5748af73606a..d2d8122a1611 100644 --- a/dev-python/reportlab/reportlab-4.0.4.ebuild +++ b/dev-python/reportlab/reportlab-4.0.4.ebuild @@ -20,7 +20,7 @@ SRC_URI+=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}] diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 28520175a7ba..4cfba040fb61 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -5,3 +5,4 @@ DIST sqlglot-17.12.0.tar.gz 8402758 BLAKE2B e563aecabdac819c55eabd678a12ee2a83f7 DIST sqlglot-17.14.0.tar.gz 8496712 BLAKE2B 5bdf3e3ffcb5da87f102cc706f52a1717abb571e30a5d780cfef7ec1f18ae987efda7728aef5ce7ba988a4340c1148a81d66048f2b6970a32404cc0970734b87 SHA512 c9058a91a3d0b763c64b5c1f2161d4bffde41ba113c76ccde5268f56b759bb63d83d92ad374a88e6e5cbddc5e46b885752f43db9c239182a7eb8e85d6401f4a8 DIST sqlglot-17.14.2.tar.gz 8498185 BLAKE2B c556387a77aa2d5a52ce2f0ac630253ea68b9cd9426493e689e253b524643d25f1b7833e0a0970a52ac172eeced458de25584e55dc74d48e9398a02ab7f3dae1 SHA512 186011ccdbe3a3abff6dd94f31c6f2030a9a3c508569528e716fbfaffefccd9c31a508507caa8e2225582c95056e966466ba9aac95262d10152917c70003de7b DIST sqlglot-17.15.0.tar.gz 8505061 BLAKE2B 60ab18f09a5540d1442b03b6eae104f01642808ab0081df5e387eaa9a8c188b21cc1574e0c63d3d0eeddef023c2d3d0008a0e6f0e7e5ce8cdadde51b40e8641e SHA512 efca36e7fffcaff3379a870266e6978452a06a502d179d5bb1ba3dbf6f2d84bd9ef8f7967f82d6512ab6d420b755d3ea2c3bd243a4f7c5e8baccd4dcd183d390 +DIST sqlglot-17.15.1.tar.gz 8536088 BLAKE2B 6b3e0663a4707bc5c94749765919f9e0a76e4d38b62777923407c360474e9b8671be7d2be3b7e3b7b37c95de9b51cb4aa4bfa161b2fbc7e218a6d20184804979 SHA512 bab2b32ab119e820067dd60b336e96797c2fddfa5cbbe619c12b0c27e19ab8fa8d3106cdc4956036f87b810bd1dab3a5f7a01b690d72b3c1e9ec9f10399bb95e diff --git a/dev-python/sqlglot/sqlglot-17.15.1.ebuild b/dev-python/sqlglot/sqlglot-17.15.1.ebuild new file mode 100644 index 000000000000..19b5d607c4f4 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-17.15.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/structlog/structlog-23.1.0.ebuild b/dev-python/structlog/structlog-23.1.0.ebuild index b70b6f09c848..da8154fac3c2 100644 --- a/dev-python/structlog/structlog-23.1.0.ebuild +++ b/dev-python/structlog/structlog-23.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0 MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" BDEPEND=" dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] diff --git a/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild b/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild index 7e365ef9b515..60f06753a440 100644 --- a/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild +++ b/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest |
