From ff3ac0b17b39e52a4fc9ca04d17a5535c8f6085c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Jan 2023 06:12:40 +0000 Subject: gentoo auto-resync : 07:01:2023 - 06:12:40 --- dev-python/Manifest.gz | Bin 260585 -> 260593 bytes dev-python/Nuitka/Manifest | 2 + dev-python/Nuitka/Nuitka-1.3.6.ebuild | 54 +++++++++++++ dev-python/astroid/Manifest | 2 + dev-python/astroid/astroid-2.12.14.ebuild | 60 ++++++++++++++ dev-python/boto3/Manifest | 2 + dev-python/boto3/boto3-1.26.45.ebuild | 68 ++++++++++++++++ dev-python/botocore/Manifest | 2 + dev-python/botocore/botocore-1.29.45.ebuild | 74 ++++++++++++++++++ dev-python/httpx/Manifest | 2 +- dev-python/httpx/httpx-0.23.3-r1.ebuild | 82 ++++++++++++++++++++ dev-python/httpx/httpx-0.23.3.ebuild | 82 -------------------- dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.61.1.ebuild | 77 ++++++++++++++++++ dev-python/jq/Manifest | 2 + dev-python/jq/jq-1.4.0.ebuild | 37 +++++++++ dev-python/pikepdf/Manifest | 2 + dev-python/pikepdf/pikepdf-6.2.8.ebuild | 62 +++++++++++++++ dev-python/pkginfo/Manifest | 2 + dev-python/pkginfo/pkginfo-1.9.5.ebuild | 29 +++++++ dev-python/reedsolomon/Manifest | 2 + dev-python/reedsolomon/reedsolomon-1.6.1.ebuild | 34 ++++++++ dev-python/rich/Manifest | 2 + dev-python/rich/rich-13.0.1.ebuild | 51 ++++++++++++ dev-python/sphinx-autodoc-typehints/Manifest | 2 + .../sphinx-autodoc-typehints-1.20.1.ebuild | 44 +++++++++++ dev-python/tox/Manifest | 2 + dev-python/tox/tox-4.2.6.ebuild | 86 +++++++++++++++++++++ dev-python/ujson/Manifest | 2 + dev-python/ujson/ujson-5.7.0.ebuild | 41 ++++++++++ 30 files changed, 826 insertions(+), 83 deletions(-) create mode 100644 dev-python/Nuitka/Nuitka-1.3.6.ebuild create mode 100644 dev-python/astroid/astroid-2.12.14.ebuild create mode 100644 dev-python/boto3/boto3-1.26.45.ebuild create mode 100644 dev-python/botocore/botocore-1.29.45.ebuild create mode 100644 dev-python/httpx/httpx-0.23.3-r1.ebuild delete mode 100644 dev-python/httpx/httpx-0.23.3.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.61.1.ebuild create mode 100644 dev-python/jq/jq-1.4.0.ebuild create mode 100644 dev-python/pikepdf/pikepdf-6.2.8.ebuild create mode 100644 dev-python/pkginfo/pkginfo-1.9.5.ebuild create mode 100644 dev-python/reedsolomon/reedsolomon-1.6.1.ebuild create mode 100644 dev-python/rich/rich-13.0.1.ebuild create mode 100644 dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.20.1.ebuild create mode 100644 dev-python/tox/tox-4.2.6.ebuild create mode 100644 dev-python/ujson/ujson-5.7.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index ff44f874ab46..7493e79e6e5c 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index bd9118e3467c..b862de667aa8 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,5 +1,7 @@ DIST Nuitka-1.3.4.tar.gz 4028710 BLAKE2B 5cf02644524f612cd4403147323ce0e4d121efd91d8a9da3f55e81117e088337ce9d56f801691b52236bb17bb7ffc3987e98c8d23bad1c84b4bae61fae41b5cd SHA512 7c3562a264833ba2b5ed09a43d91113f59ece8a088480ac03517fe66b380d354faf465845fb7218d34f328114d8bdee92d4374651182f85f50593ce9294e8796 DIST Nuitka-1.3.5.tar.gz 4019765 BLAKE2B dc169a318400e23021a2712f41c49e8d045352c2b6ab946a289d479ee3aeb887456cb0218e762ea091885ce4204d1c3d59e6d228a58b596a70387400e5f31c35 SHA512 edc603b3b38e68473d3002641e61d969cd1fe9626aaa45023c017b2c2ed288d61ee5e537e9b96ca53efc5e052e689df37849bb0b1da65d0b31d38152645ced25 +DIST Nuitka-1.3.6.tar.gz 4029420 BLAKE2B 2c4f9daeb8532287e0e1ff65bcb6da77a048ea4638b74c4f7fe86bcc2d2a2746357af264bf0659ce3a582f270dda049d750050482eb65c4582387ffcd788a9f5 SHA512 c8ec015b9cdf2a49b5cc31103ff14d47654c7df3f003fc045a6b41df11b48597975427cc38c5f03b7b2e9f57e7838ccbc2def168943069be4bafe28a2e1c921e EBUILD Nuitka-1.3.4.ebuild 1191 BLAKE2B d09596501d4167392016199b9c9246ab0f57ceca5667340672d9cdca0d7ebe5288eef83e9485bffe607a8f8af1cea705809ab94ca730e1abe39929109b44f504 SHA512 edfd1f3c1abb7d0be5a943e92a4b0ac79f205d5df93a453c8922aad73d3df4489a0b1a4bb4ed11a1e77b493633231f156b6be6faa17629a6d5b1ba44295f05c5 EBUILD Nuitka-1.3.5.ebuild 1191 BLAKE2B 11fe3e2a6dd185eb1a80fdc1b317d1b36d67780cc3f4c445ec882abab4285c68632ffb180a8bc676d60328736b77757f1348f28ad8b57435d037304d1b7f172a SHA512 afd8b49b1a3dcf541926d21ebf397a35c2e51b8f333ff774b89a86a6538541a330e8a142ffb88d52f3035b721bdcb9d8731dc3e9e1b5191b8cfaf0cbf26262a1 +EBUILD Nuitka-1.3.6.ebuild 1191 BLAKE2B 11fe3e2a6dd185eb1a80fdc1b317d1b36d67780cc3f4c445ec882abab4285c68632ffb180a8bc676d60328736b77757f1348f28ad8b57435d037304d1b7f172a SHA512 afd8b49b1a3dcf541926d21ebf397a35c2e51b8f333ff774b89a86a6538541a330e8a142ffb88d52f3035b721bdcb9d8731dc3e9e1b5191b8cfaf0cbf26262a1 MISC metadata.xml 943 BLAKE2B d7ab883773e7480dcfb4b79932a3874e2274669169a24a54aa622a2a0ac079e0296da4bd196d166cb11fcff785985da0b10d0fae351032914ccf312c9bb9833c SHA512 625d8760b8e849c6e014856f584cb42f50bb5ebb1fa648cb704a5a1baf175e7d2ce9f43f6f724d11c81a68e364b6ac1c38459540b58f2ccd6a675902af5b1cc9 diff --git a/dev-python/Nuitka/Nuitka-1.3.6.ebuild b/dev-python/Nuitka/Nuitka-1.3.6.ebuild new file mode 100644 index 000000000000..3ad289dde538 --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.3.6.ebuild @@ -0,0 +1,54 @@ +# 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 ) + +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 2685565adfa3..6c3fceaa3fc0 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,3 +1,5 @@ DIST astroid-2.12.13.gh.tar.gz 437906 BLAKE2B c00462d44c9705dc5b46fc52915e6a44e53e840d5326427d235c9156bc4de58b184271338ebc10a4572e1aace8d4ababd3bd7e440a6ee585aa66d15dfe4117be SHA512 16d062b1a619663b157c4753f1744e56e7d0ef7cace12660feb7f6bc540e54be02638b52c1c877d3eb514e2d7423c4afc71e7d5464880bfd3724ff7ae6d7b90a +DIST astroid-2.12.14.gh.tar.gz 440473 BLAKE2B 5b3d55664676b806af73208a2fcbbea2ee0c48bfb59ffa4f54fdc6dd35463d032b4b033530c9d10c52289f3d51c8d59c4d35330a427110c76a1a4566162ceddc SHA512 cdce9ed35ec107bb7ed4a7eb9e778f90c248dbbc00e3da5b4ae86340f960b71f31ffea0cabb677f17bde9daa28f8bed1de4a9f331b8cc975d85793a44dc29b65 EBUILD astroid-2.12.13.ebuild 1816 BLAKE2B f1f21f45a5b36043905eebd5153754d0a4feb88b05813052898b70379ddbb7350be1440a8a7fec3209f1a664f71dd83e46948283314fa1697e2189ac12d4ef65 SHA512 5042ae5ad74caa9736d55880f623e6d73893de397bf1e594dac9efef4858320ccaecb26c9fbe8fdf905c8c9612a995795af7b7f7c949fe83f8a3c73046577760 +EBUILD astroid-2.12.14.ebuild 1824 BLAKE2B 9644ee13a4da0148a7150e579e110d37117b7c85d679aafac6a7cc99b13c17263eaa1349bb32e1e987e329daca30ef6814689eb5e528be6e2f14231dd4ca45c5 SHA512 177e95f9b017004667b2db9fbeb2e2ed3d957ef83516a77660adfa7ac8550aabd3a752bad5801cbea6d7312b73ce445504f97852a59dd85588151f9fcc8e4742 MISC metadata.xml 1143 BLAKE2B 1f6c4e004277eebed2e29cb935ef01e5f18fb0a526f99f0e875ae3815308dce0483b5274b4e23bed076464aa62a035937a7a3817e2d4a5fb9211b9043271e04c SHA512 56b07d0f08a49772661bc3d233cf1f628aa7c241c51b91d75dfbd44995e169d8ab5bbd99863d7b9b67792486346982a7b8eebefb462e7e212cd7dff920d80840 diff --git a/dev-python/astroid/astroid-2.12.14.ebuild b/dev-python/astroid/astroid-2.12.14.ebuild new file mode 100644 index 000000000000..4dc5cb9edc30 --- /dev/null +++ b/dev-python/astroid/astroid-2.12.14.ebuild @@ -0,0 +1,60 @@ +# 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..11} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/PyCQA/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}] + =.*':':" 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/httpx/Manifest b/dev-python/httpx/Manifest index 2ad71bbe782f..e1b33c460623 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -3,5 +3,5 @@ DIST httpx-0.23.2.gh.tar.gz 2163739 BLAKE2B fe89a162749e8710f6392ce3a2eb887a4ee0 DIST httpx-0.23.3.gh.tar.gz 2163546 BLAKE2B 96903669ca9d22cbb85bd322a407aa2b6799b5f8bfce277a763248ac2d65d60b85c0c71f24af99098eaca585f8136d9db687d6d0ab8cf2347d3c6fe28222def0 SHA512 d4f051578de63e677492727c466d44858c31d1b85441621667d4aeaec5cd2ebd0257a1db115f1b4d77d563359dfc81c2cd1221c0cc66c891b461fa1f4e8a5aee EBUILD httpx-0.23.1-r1.ebuild 2170 BLAKE2B 351d8ae5566b7b7341540df0f28dbfb7689531343a0291eab21086cb2400380414f6c24dda191c0209a6d7d21fe8f6facea443a2d5c88e7791648073a7641752 SHA512 c228cd845319691d1c7c0678e18c5d6d81956b08e10e63bc27351938ca0fefda440f5446a7e60253429dc6999dbd95c86f1dcc334bd01c3b53d8f0edb748e133 EBUILD httpx-0.23.2.ebuild 2183 BLAKE2B 7f2df7f82df88c085f6b4d12501112830e5839a0815b61ac38c0cea4e9ffbde557533a3b7319c1413ea0c59648a5fd40b863c71e1198f9fcb2e4dcc2ca7f08e9 SHA512 781b903aee1d0029d10108d5948de525c11b42105cdb3adce1ce550b6d86f454acca16cb8ef2c59840dcc55d166c74ccf4c9ba12d08198214dac5be504340038 -EBUILD httpx-0.23.3.ebuild 2050 BLAKE2B cef1f9dc0b4f1fedbb8de112cbc1ff3fd8c9b7fe9839d6d4f09a3cd19800315365453698d0b6d0b83f117ca2ac4f4dc9d2cf6f7ef54c1a916a2ff1c881e62b31 SHA512 bfd801f1a242eed588c27dce96a1257fb4c37f625db489783451e8ab419d5d0bd114432c322dbe63561d4f04acd84cbbc002d2109f3219d61dd893bc79d9e168 +EBUILD httpx-0.23.3-r1.ebuild 2066 BLAKE2B 8735166de530620c99f482f19bd602d415d7c00029ad059ceeef32dd538803948d0130b2f90d49098556a8f4811ab7bcf20d0d1446e9965d8cb7efff32b85dba SHA512 633306fc6cf8507433319e2bfa34103a14ecb3c71b5f67e55eb0c8967f5d36381431ba9514c4b50caf212ae79c152d7d558ebb386a9f410301e13da8d5928b3f MISC metadata.xml 518 BLAKE2B 063b5b95529cd5a31aac83998c0acbdfef208c34e931c96ae8ee767a326301a597a8297514b5c97bef2b3b706b8938d38c0e5f5d752307a9dd06984792c799a2 SHA512 3a29dffa0f951255a67468b28917590d4108ca12e14af03bfddef80f6d48e266fcccdd991e778ab9e267c0bc76ff0017e07905c1f2f45dc440a9af89f6cae6aa diff --git a/dev-python/httpx/httpx-0.23.3-r1.ebuild b/dev-python/httpx/httpx-0.23.3-r1.ebuild new file mode 100644 index 000000000000..f89b00fc919f --- /dev/null +++ b/dev-python/httpx/httpx-0.23.3-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 optfeature # docs + +DESCRIPTION="Fully-featured HTTP client which provides sync and async APIs" +HOMEPAGE=" + https://www.python-httpx.org/ + https://github.com/encode/httpx/ + https://pypi.org/project/httpx/ +" +SRC_URI=" + https://github.com/encode/httpx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + =dev-python/httpcore-0.15[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.3[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + cli? ( + =dev-python/click-8*[${PYTHON_USEDEP}] + =dev-python/pygments-2*[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/h2[${PYTHON_USEDEP}] + dev-python/socksio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + if ! use cli; then + sed -i -e '/^httpx =/d' pyproject.toml || die + fi + sed -i -e '/rfc3986/s:,<2::' -e '/rich/s:,<13::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/client/test_proxies.py::test_async_proxy_close + tests/client/test_proxies.py::test_sync_proxy_close + ) + + use cli || EPYTEST_IGNORE+=( + tests/test_main.py + ) + + epytest +} + +pkg_postinst() { + optfeature "HTTP/2 support" dev-python/h2 + optfeature "SOCKS proxy support" dev-python/socksio + optfeature "Decoding for brotli compressed responses" dev-python/brotlicffi +} diff --git a/dev-python/httpx/httpx-0.23.3.ebuild b/dev-python/httpx/httpx-0.23.3.ebuild deleted file mode 100644 index 8bdd6f0fea7d..000000000000 --- a/dev-python/httpx/httpx-0.23.3.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{8..11} ) - -inherit distutils-r1 optfeature # docs - -DESCRIPTION="Fully-featured HTTP client which provides sync and async APIs" -HOMEPAGE=" - https://www.python-httpx.org/ - https://github.com/encode/httpx/ - https://pypi.org/project/httpx/ -" -SRC_URI=" - https://github.com/encode/httpx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - =dev-python/httpcore-0.15[${PYTHON_USEDEP}] - >=dev-python/rfc3986-1.3[${PYTHON_USEDEP}] - dev-python/sniffio[${PYTHON_USEDEP}] - cli? ( - =dev-python/click-8*[${PYTHON_USEDEP}] - =dev-python/pygments-2*[${PYTHON_USEDEP}] - =22::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + epytest +} diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index 2343542e1f77..69cd5629bf61 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1,5 +1,7 @@ DIST ujson-5.5.0.tar.gz 7140414 BLAKE2B cca99fbb8cec447500c0dec34a952c4474acd0149783c887ee713cee60859570e41c9e349d49ff7eeba645d0c04a7e368da2ec8c42b6f55f59e971f834449e3a SHA512 883c0bd8b933557fc98556af1679de6df0372ee83a5533d8ea3f994dc13cd9bcd3140e2532ea1ad24419dab9ffbb59027e00f0a5e7ca285bf68358205a07bcd5 DIST ujson-5.6.0.tar.gz 7151977 BLAKE2B 59c0b88bdc59791889971993135484ce99763ad4805b36db7a3abc5e950c9132b917e7fbfb09870af916f5939d10e23ab44137f416179f75a06f424cf4b1154d SHA512 996c9746e011f116fcab3e61345df27cb2c1251852f758eff1d3465e19df03deb1a037669aa6ee5aad2fc6c2cf76c22075ad6a73158ff4dc81357e59a4ee244a +DIST ujson-5.7.0.tar.gz 7152625 BLAKE2B 363fd77be3e2f8fb42a70db744ab4da12c0c8383103983b3555cee237497837abfcef102b19a51c0fa118fedd7847c568607c058f1d2cea76858a6bd89a226da SHA512 e18a1608a7fe79030e3ff307c9e95a0e238cd5049ee791eddbc07efa55853475d053268b80a8765023639ae8ff39f82b4ae2c04e82fc7dc5f3192a5134ec0757 EBUILD ujson-5.5.0.ebuild 879 BLAKE2B f58b2f5d57429fd3d899023579443447348e2784052777267ccc86c5ab53e79ee72aa09effc370a8ed5fdd43b7d98fe08bb00ccb3e3083e6c3ddfb1d890cd542 SHA512 25da7256c33440a0f8577ebaf46900254fa66be01651895609ca28d2cf244262d2164bcf2f8f550e163bfa6cbc6a2c63c77ebbdbca315b7c354e77f9457869dd EBUILD ujson-5.6.0.ebuild 883 BLAKE2B 53b31100105961b8be57f353de9c24919f93410a9c6f8869786ad7d24e007e6e472886a50f47758581c76f76031173f3ab8abd33c91d3feafda97c8428f89fd0 SHA512 af0ff62802e67cba5dfd7fa869b68ee47f7f693607998f26890e6e83f0fd1d8b112cc618224774a1cf4aade2b53e90ee5c9f6d1eb6fc2f442e7d3624f0c319c1 +EBUILD ujson-5.7.0.ebuild 883 BLAKE2B d88419743029fabfad7ca4816f42a15623d28bcd1e9c60de9e63c7c5b71278f59459a23ba08fe8033a231aa006761f6158a0532b67a2e387dfa771799ba6310f SHA512 7dfab9e7ff6ba86cc234328dadf833cdd015425fa68b0a4aaa5e0ce8ac3a867c87e8a42ce507e115b0dd0fcf5657199f4af60b6ac50188eb7159d740c4228ee4 MISC metadata.xml 494 BLAKE2B 8e20150926d62643e7ff2110cba22313db0c0e3112290ce08302d57103aa35c42a56921d0b46e0acca2ef83756eb4f7384f23ddb06fe41ef6c4a28921f11ec33 SHA512 d9c0a59f916b84d50e51a21152c1815fea90a909dc9bd44ea620b2a33ca6a92ee237aafe29debcc9d1a2bf63c84112300845309eb0ab1265e5d2b0c05dd313f0 diff --git a/dev-python/ujson/ujson-5.7.0.ebuild b/dev-python/ujson/ujson-5.7.0.ebuild new file mode 100644 index 000000000000..7c752cf6c7c8 --- /dev/null +++ b/dev-python/ujson/ujson-5.7.0.ebuild @@ -0,0 +1,41 @@ +# 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..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Ultra fast JSON encoder and decoder for Python" +HOMEPAGE=" + https://github.com/ultrajson/ultrajson/ + https://pypi.org/project/ujson/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + dev-libs/double-conversion:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + export UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion" + export UJSON_BUILD_DC_LIBS="-ldouble-conversion" + export UJSON_BUILD_NO_STRIP=1 +} -- cgit v1.2.3