diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-07 16:02:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-07 16:02:18 +0000 |
| commit | 79b7d8a4a950a4aa1485d6baa9ad812fe47ab4ea (patch) | |
| tree | 6b6f21cbda50c23f294053a36660f89ca16692fc /dev-python | |
| parent | 4f4d15b929483c8c6051c5d1894b5370e0a5087b (diff) | |
| download | baldeagleos-repo-79b7d8a4a950a4aa1485d6baa9ad812fe47ab4ea.tar.gz baldeagleos-repo-79b7d8a4a950a4aa1485d6baa9ad812fe47ab4ea.tar.xz baldeagleos-repo-79b7d8a4a950a4aa1485d6baa9ad812fe47ab4ea.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
28 files changed, 734 insertions, 4 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 048ae79cf736..040634807a17 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,2 +1,3 @@ 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 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..643e80898bd5 --- /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_{7,8,9,10,11} ) + +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 6779e5691aac..bff60211af61 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1 +1,2 @@ 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 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..66a27643b45d --- /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_{7,8,9,10,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}] + <dev-python/wrapt-2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # no clue why it's broken + tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/unittest_brain_dataclasses.py::test_pydantic_field + tests/unittest_brain.py::SixBrainTest::test_from_imports + tests/unittest_regrtest.py::NonRegressionTests::test_numpy_distutils + # some problem with warnings (our options?) + tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg + tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args + tests/unittest_scoped_nodes.py::test_deprecation_of_doc_attribute + ) + + # Faker causes sys.path_importer_cache keys to be overwritten + # with PosixPaths + epytest -p no:faker +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index beb008a4652c..2e17fc7ede1c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.26.41.gh.tar.gz 586086 BLAKE2B 8f5fac4e26a8ff34e91ee99ab4f93b6c3117 DIST boto3-1.26.42.gh.tar.gz 586350 BLAKE2B 2dab3f95a6fd17debb1e77fc24f319d1edbd8d0ae1703c339022bad66cf5443860aad122c466a4087ce0954acfd371e41f957c07c972408e3f698c437952501c SHA512 0d8b4b6226c82ed0496baa3db0ef3d6778931d33ba1367738e22fe11fcf24bcfdbc29a5d67aef61648f5d784cb31d0b3f7472b0d64909c1d2ed544dd95ba7c1a DIST boto3-1.26.43.gh.tar.gz 586684 BLAKE2B 43178ff879cb5b3df585fbd1b4a6f71fe116947df2bdcf58c9223ea81e4500853cf3ba78eb47a98c6b9095a03af88b628914192a76cd7c420223e8569e5ef049 SHA512 18ba125c58a70081ce24c60c6315d7165179a7f7bbfcdefbcab5df99375eb7a7a5bf0b9210e2b47fab13166a425625c48ab5a18c6524171838b30cd235830b2e DIST boto3-1.26.44.gh.tar.gz 587289 BLAKE2B 33e2c6215a3f9459c3482c349ba68ad39200220a5173a9e3b0001313cbba4a57f42b5e9ea22c5a5a705f018eff89c7514fefbb313de6c829c1c7213543a62ec1 SHA512 7781db03ea01f1fcb21545013a0ef095daf8df70b0927e16fdec10871a2e5ea6a191cb63829fbcdf9dcb6234d213714db94a6cfcaf13e529570f63aac8003e84 +DIST boto3-1.26.45.gh.tar.gz 587548 BLAKE2B fca56cad5fa8bf3bfa34f76aa7014d6ee1129653ec8f0b2c0bb0c2b250814d855e732c4ea4252435a1674138ff00e757cec706ac1a1daa8f6e7969d7f0b65811 SHA512 e872efdc764d20b8d264d7a7e984d9427a0f5bd0a78d895812c2e40a4cf97ba0c483129492b5fe698ac8e123a3a23d6fde4e92cc075632ec7b9d0ed55d0b57b4 diff --git a/dev-python/boto3/boto3-1.26.45.ebuild b/dev-python/boto3/boto3-1.26.45.ebuild new file mode 100644 index 000000000000..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.45.ebuild @@ -0,0 +1,68 @@ +# 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} ) + +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_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 69852cbd61e6..953d7f32665d 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.29.41.gh.tar.gz 11082628 BLAKE2B a42a66299715159e82bb7bd9ceb5d1d DIST botocore-1.29.42.gh.tar.gz 11083372 BLAKE2B 8abca30fbd4bb55d8a0beccc6e81d3da60086230cf55a7ed384491e4bccaf2c5791fccc700ccc737b04b09bdfca4fa4feb3cddb7d0a72c37dccd71d4f6979901 SHA512 56c8859012dcdbf73c2417fc6feb32bf212e07fba5702a51bfb9bbcd446a3a34493a5a9e50369fb223f06c2afa9541eb584252391b09d667a9d13bfda32dfac5 DIST botocore-1.29.43.gh.tar.gz 11084999 BLAKE2B 8b6d6010639849fdc944820d82c59a95946694a22806f474a6b2778a1581ed35424d66b6bade5a878efe77d4229a001555b4cacff2ab8041f3b901d74b108d72 SHA512 70e26fd5a51ba5760751b8aec2d4b2565f0c75bd263202e8e409c42b37991de03c3a01fa724d9aa9c000034989eb937240a56ea96132ced7a29ef3fee4dd15de DIST botocore-1.29.44.gh.tar.gz 11087027 BLAKE2B e082d732b9cdeee91df4bae5a4f840ccf89b5408a934c5ffc62e7d5ddfb43a710ee55b2a6b4911bbea55ac319478bbcca5e3291e71dc7d98c147064e0b2239d0 SHA512 f928acfeabfd7c0b362d7f0865d8c1e65e5f4fe6b982da7a3e2b5dd1d395eaa9337d5cc4321005e9e759437828cb016173eb4d69357fac4d668f948b5fd0d43a +DIST botocore-1.29.45.gh.tar.gz 11090136 BLAKE2B 4c5cbd6e80a061793276b40124124c6c8e8c0d9f5bfbe4d5089d755b7af8399635107ed94da6602b2d0788159c1d883b7821db989fe47ad02bcf8bbaa7784b08 SHA512 dfbbc2b30449fa7526794489d3f0c3951e81ddbf53d7915d4492697398febd3b4b918604054a85c950c26a2423e969042de395b8b513688dcf8ad3fe305df4f7 diff --git a/dev-python/botocore/botocore-1.29.45.ebuild b/dev-python/botocore/botocore-1.29.45.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.45.ebuild @@ -0,0 +1,74 @@ +# 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} ) + +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_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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/httpx/httpx-0.23.3.ebuild b/dev-python/httpx/httpx-0.23.3-r1.ebuild index a95e6a8cf9b8..b4ef3e69dd3c 100644 --- a/dev-python/httpx/httpx-0.23.3.ebuild +++ b/dev-python/httpx/httpx-0.23.3-r1.ebuild @@ -33,7 +33,7 @@ RDEPEND=" cli? ( =dev-python/click-8*[${PYTHON_USEDEP}] =dev-python/pygments-2*[${PYTHON_USEDEP}] - <dev-python/rich-13[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] ) " BDEPEND=" @@ -57,7 +57,7 @@ src_prepare() { if ! use cli; then sed -i -e '/^httpx =/d' pyproject.toml || die fi - sed -i -e '/rfc3986/s:,<2::' pyproject.toml || die + sed -i -e '/rfc3986/s:,<2::' -e '/rich/s:,<13::' pyproject.toml || die distutils-r1_src_prepare } diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index d3414b91d643..455a3d9f2ef9 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.59.0.gh.tar.gz 9337749 BLAKE2B 29673a769702cf80efa05c3f5a60a3dac6d1226db2afbf25e3ff71be801c396db843222dac5facff8bbb1105dbd7533e2e908188a611a6e051b757ef87498dae SHA512 8d189576a45dc527c2adc0b36781a9323292aa3ed61ab1e0747c379d170c8a1907b787889ceb767d4814422d158c3cdd542360e75295605805b22d832a999777 DIST hypothesis-6.61.0.gh.tar.gz 9340090 BLAKE2B 0d550e50085ad2e9ae848b86b35eaa229de9aa461e235748c308708e92f22388ca1cd5f663f68d8399f89b73fe20298653f947988b6fb2c505ca44650c3997d4 SHA512 3b460c817b46a61e8bcb506316cc56a6e70b7cb16e1f7af925d24372992fcd8c7c6895722d11637402f67eef0fad63318c5c8835e72b585c789e95937cd38465 +DIST hypothesis-6.61.1.gh.tar.gz 9340617 BLAKE2B cdef4559eed21211ecfb3942575b3a9f83e8c2335443d5541e1f52e839a41755d18d5174c1041f12723a26100c6188c618acaa7f504f250132e53ca534c36be1 SHA512 1a0093f18ca3ce4507926c82838cbb205b012faa47f5b4c1b8f574cfe9ebfd10d94d673020212922d162ee1238ee2a09d20b596e9c81ba4a106dfb4e2d6692a0 diff --git a/dev-python/hypothesis/hypothesis-6.61.1.ebuild b/dev-python/hypothesis/hypothesis-6.61.1.ebuild new file mode 100644 index 000000000000..a4fa67304bc9 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.61.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest index ae0c90c1673f..252c25e96b41 100644 --- a/dev-python/jq/Manifest +++ b/dev-python/jq/Manifest @@ -1 +1,2 @@ DIST jq-1.3.0.gh.tar.gz 2648187 BLAKE2B 61b6d4dbb2163477d09e69c25e0bec98780f39088d4e689a7e13ed8d64749c2e238f2bf7d1f6c47f3cebe1c94a1e5fa5322a988ce251e8417aac77c789975064 SHA512 cf3c1ac7954d36d808b9f9841ff7f71835e3324f6f8eb09ef3a66b446b47a354d8ff090dc3529b9936ec5d7a33ba5163354d3534f0dfc0cb467222a990e58fb5 +DIST jq.py-1.4.0.gh.tar.gz 2648402 BLAKE2B 5efc35fd9ee52e5c1c87ac46d980d1557121eedb14beb5d534987d81a37b05c5c765ef69cecf65141d7c451623d05d378bdcf9a6e48667c07a9f52e7d0317bbf SHA512 8acd9c4094e0e6f5ffd43303432347448e8cb160f2c33250a386afc75eac53134b15142da3f344b0ea3eac4df838ffa322771580a27349299f32a2c525e09555 diff --git a/dev-python/jq/jq-1.4.0.ebuild b/dev-python/jq/jq-1.4.0.ebuild new file mode 100644 index 000000000000..fb174dd2fd71 --- /dev/null +++ b/dev-python/jq/jq-1.4.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +MY_P="jq.py-${PV}" +DESCRIPTION="Python bindings for jq" +HOMEPAGE=" + https://github.com/mwilliamson/jq.py/ + https://pypi.org/project/jq/ +" +SRC_URI=" + https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + # Cython compilation isn't part of setup.py, so do it manually + "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die + distutils-r1_python_compile +} diff --git a/dev-python/lit/lit-15.0.6.ebuild b/dev-python/lit/lit-15.0.6.ebuild index 264c11d49128..47835027452d 100644 --- a/dev-python/lit/lit-15.0.6.ebuild +++ b/dev-python/lit/lit-15.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 522898401e2f..3aa5d6c5823b 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -2,3 +2,4 @@ DIST pikepdf-6.2.4.gh.tar.gz 2906023 BLAKE2B 4ca9e6d56260c6e5fcf4e88aae899576d1a DIST pikepdf-6.2.5.gh.tar.gz 2906061 BLAKE2B a74c8e83142d29c204672e24cc9586984ed68d2ccd71d7a900b9bee5e1c4eb30f2242d58e0240a876c85f713dc08096af2c89f0114b872329caa122556cdb876 SHA512 28fcc3caf6aa6c8317c1fe333e9382f753b262deccc7e6adf5983b612ecb06314a3ec3c712c052fff8b186f05329399d74eac8c15565a4f993fea8b927882c0a DIST pikepdf-6.2.6.gh.tar.gz 2905945 BLAKE2B 3ab7e80ca43c7395994333a47f3ef667b69228cc80c5e03d3264c9dbefaafcd7d367030a90f7836904f141ce497967024264939a50dd59a0ab92e0beca607697 SHA512 a395e6b53792ecbd604424be67ccefd66d4a0a73dc1f22c86ee763e97a2f940d607494d5a0c5172867196932ffa0efac44427dddb277b754fe39e28f41f1fae5 DIST pikepdf-6.2.7.gh.tar.gz 2906211 BLAKE2B bfc3d8e707b952e214fda3e31ecb0cb44266f41de63f2daea7e13dc944ed8d9d2438ead7a0b6a8f18b6295f52621311f94849b060459d082e75eef0c71713148 SHA512 4cfab0729c0f87bd52f58b9f23af8a4ddd34029b1259e4e2c67a73abfda3b5bd2e8de25962ed70a5497609398453e4f1ea6642e3b01245cb2c70bc09b5ac55f8 +DIST pikepdf-6.2.8.gh.tar.gz 2906054 BLAKE2B 7b639741112857dbf784da7245f905e76664b200f4f832b6a2e8bbf7ab3e48e7f3a5dba1ae00bba72a5797e7e7bce0f1cea6777114ccf9a9b39d352a754edaeb SHA512 d27d8dcd80aa6a553ea6fb3c404bbe7752b2d1a7fb7a8e0315707f24243ff3fcdf58f273dc283e117a0124bfa724f7384004340f20d9f322cf08a5e0366b0225 diff --git a/dev-python/pikepdf/pikepdf-6.2.8.ebuild b/dev-python/pikepdf/pikepdf-6.2.8.ebuild new file mode 100644 index 000000000000..4e43f05163cd --- /dev/null +++ b/dev-python/pikepdf/pikepdf-6.2.8.ebuild @@ -0,0 +1,62 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=app-text/qpdf-11.1.1:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecation[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5[${PYTHON_USEDEP}] + >=dev-python/pytest-6[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pkginfo/Manifest b/dev-python/pkginfo/Manifest index e2c0bf14a038..7d76fa495b0b 100644 --- a/dev-python/pkginfo/Manifest +++ b/dev-python/pkginfo/Manifest @@ -1,3 +1,4 @@ DIST pkginfo-1.9.2.tar.gz 377091 BLAKE2B e217e3d58fbc7a4efe7321d1eb4f6c95ea75cfcdcbdd06c0f8b728eb1ec18c5800a7ed6f6338996c60f5f251f36d40b40c20d0b1700956dd8a23a6e40594a356 SHA512 16eb4708040811a21184e5fff1bbbde775360718fa67df97f56c646381f6f1e58967920753437e5759e4d88c31a4f10c1e4d8be2380981939e51e4ee140dbeda DIST pkginfo-1.9.3.tar.gz 786745 BLAKE2B 6b5c507073a30900e9325c68e437594fee0e491199a38de19baea0170453d84031441ab7a08387d5b3d363f8b77ec971ef6c36dd72154114041e724c17f4eb1b SHA512 452893a2fdc99068ea780f11d1a54bc5c0f99a2ec7e1ced2ec43a0703c85af24e61b6d80c0724981fab9b6e0caa3e2e98882f34d3edbe8b187ea16d66e120dcc DIST pkginfo-1.9.4.tar.gz 378812 BLAKE2B fa548bfd84ff177759cbf2227246360bec68e38c1c2a778da192dad8ab7781a7d6cbe9c160f7684f99517c6d3eaff4fa1fb014014caff5a42f74397d4ff48aa8 SHA512 45a3af0352ba8e4d4fdf13082a8676c0c97b450a82c73d11b6579134dbc28c486ea4b439adcfb2dd146659580fd882b3a2770490092a37b14eaedc77fb8d67f5 +DIST pkginfo-1.9.5.tar.gz 379301 BLAKE2B 2cee09d742fbe49582f61ca4f1bff7cb5bca5b46f82a047ffccdc7e92bda556753eafbf4440aca176b9e1c807ddde5e53f180e7928b504a3f4d9572fb0374977 SHA512 4d25334e8381268cbe6dfe2b8f71a9e2ffbdb6eee1e5185ae8130552ed399ef93708f3b871eb5670737100488f263fb9f7a8142b065ce039b103978f2798aa31 diff --git a/dev-python/pkginfo/pkginfo-1.9.5.ebuild b/dev-python/pkginfo/pkginfo-1.9.5.ebuild new file mode 100644 index 000000000000..406ac2d3cb5c --- /dev/null +++ b/dev-python/pkginfo/pkginfo-1.9.5.ebuild @@ -0,0 +1,29 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Provides an API for querying the distutils metadata written in a PKG-INFO file" +HOMEPAGE=" + https://launchpad.net/pkginfo/ + https://pypi.org/project/pkginfo/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs diff --git a/dev-python/reedsolomon/Manifest b/dev-python/reedsolomon/Manifest index 3c352a15bda8..e2e019b5a033 100644 --- a/dev-python/reedsolomon/Manifest +++ b/dev-python/reedsolomon/Manifest @@ -1,2 +1,3 @@ DIST reedsolomon-1.5.4.tar.gz 283778 BLAKE2B 5354b8d320db1533469ae1fd706c0412a81bb408675041af5dbf42b42014e4b779b937fa8e3b3d0a5e67e62d9fd7ce9ac519022dd98dbc82a156ee0cda7914ce SHA512 c738f817c8f536ee86e5bcd3de73a4cf6a3e606ba196a359b6c09e7372dba31316ddb8b134d7c335100e4c2ff0158ff07caa35fee9bc20768bde23cd803e274a DIST reedsolomon-1.6.0.gh.tar.gz 62527 BLAKE2B 100e0152ca8d05605f961dbddcc41552941356a72b488375cb1237cf45938382abf6bfd439b572a9aed11a12068258027fae0bc867e7577280829779d21f53a3 SHA512 ddf73b0bdc78856d9aa76e7bf3fcb9715b9b7f922c2d72dc4bd13a4d5a233844757e2946ef96c545ab7979bc6b62a1f33286711f927871a6689a269d20a81b44 +DIST reedsolomon-1.6.1.gh.tar.gz 63944 BLAKE2B 58845e726fdf2096af280bf14feb981d883b2368a47904d33a2386db0fb5d94091ecdc22e48bfa415e2abd9c4b3c99446b3b51bca9cce510961172697a273a0d SHA512 323f91e3e43847023f23087e1038ae240572b87c29ee26be1a05a6ee49824aa86cb706d1856b27e28841fbb14efaf897d1b8e0cb626529fe7cdeaa7fbda6ce27 diff --git a/dev-python/reedsolomon/reedsolomon-1.6.1.ebuild b/dev-python/reedsolomon/reedsolomon-1.6.1.ebuild new file mode 100644 index 000000000000..70eaabb5338c --- /dev/null +++ b/dev-python/reedsolomon/reedsolomon-1.6.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Python Reed Solomon encoder/decoder" +HOMEPAGE=" + https://github.com/tomerfiliba/reedsolomon/ + https://pypi.org/project/reedsolo/ +" +SRC_URI=" + https://github.com/tomerfiliba/reedsolomon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Unlicense" # or MIT-0 +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/test_creedsolo.py || die "creedsolo test failed with ${EPYTHON}" + "${EPYTHON}" tests/test_reedsolo.py || die "reedsolo test failed with ${EPYTHON}" +} diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 867f81194739..75108e1b956b 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,2 +1,3 @@ DIST rich-12.6.0.gh.tar.gz 15056457 BLAKE2B 58367ef0acb61d68931ea0394ea458e29b3bb59726c6b95d4b179553183c5cef2766484e0d040203181aad927add70198fb3483bfe6113e20851db141de3a867 SHA512 e05a0ad1d6b4f1e4f7e5e3d09c70d5892a618707ae0952e34274c5ffb18a833fe85a4ac15024cc34915515b63059c02f0df32a6c97cbe91e9ac96928c7134fb0 DIST rich-13.0.0.gh.tar.gz 15065008 BLAKE2B b2b323b633e6600dd1595c1769daf3659b2d7cf6f98fe91ca9e083c24bc3de9de79b27de08144ab7acaa3634cc588f1548d73536555a06f1b4832f91c978ab9a SHA512 6837aad1015318c0a017000ba60cea0b4b06e85b7fb9650e90ed87ca8dedd3bf3369c5520571661123aee099380445eefa6b30002f0290c2160540a49433bb91 +DIST rich-13.0.1.gh.tar.gz 15065056 BLAKE2B 71d6418b483a88834f7fbce9d9ac8deffbf8940b32ac751503b68994ac1717c8cbede57a37fa33ba025ee6f03196a65797f934252c1658e7ca651cef759d731e SHA512 12458ceae7cc1a8796339547405df23598adbf8ac71dec42b65e0685c8725b0f183b4934c9a91690be3f54af463a91645cb595934749c0ee4ac7d1a4062cfb46 diff --git a/dev-python/rich/rich-13.0.1.ebuild b/dev-python/rich/rich-13.0.1.ebuild new file mode 100644 index 000000000000..39e882a6d8e3 --- /dev/null +++ b/dev-python/rich/rich-13.0.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal" +HOMEPAGE=" + https://github.com/Textualize/rich/ + https://pypi.org/project/rich/ +" +SRC_URI=" + https://github.com/Textualize/rich/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8) +" + +distutils_enable_tests pytest + +python_test() { + local -x COLUMNS=80 + local EPYTEST_DESELECT=( + # TODO + tests/test_console.py::test_size_can_fall_back_to_std_descriptors + tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 + # pygments? + tests/test_syntax.py::test_python_render_simple_indent_guides + tests/test_syntax.py::test_python_render_line_range_indent_guides + ) + epytest -p no:pytest-qt +} + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 5c8a5729a956..e877452070ba 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1,2 +1,3 @@ DIST sphinx-autodoc-typehints-1.19.5.gh.tar.gz 27758 BLAKE2B f73b0afa3656949f5aa14c8055020bccd81ff5f81df6dbf7c95d3656597d1e2e12918f77c6af56afb5c3ec28680e270aaa81c3d149b5427872dd8844bcaec495 SHA512 90cc5bb81e0a76ea3e476e3821299573ea0deaef0e007d2f83e0ff442db34bccf6e1078a4e06243bf19c8ee964477b924369ebbffb6ab4aa1cd673b16b0c79b2 DIST sphinx-autodoc-typehints-1.20.0.gh.tar.gz 27988 BLAKE2B 00dca24835ecaef8a2ebb9e0e918da39b5a7c72d946d654f4aec50777ce222b86f267bd8ab43deeccf802326fc067fdbbc03d5836322a233c9b48bb184995589 SHA512 6c807206d0d5abb0ec9afa03706271afbd9130dc41c1a591021a8656f518f66d057f601b27599fb6f7de3c4633747ff8a62c204759afad96784f4356c1e64be9 +DIST sphinx-autodoc-typehints-1.20.1.gh.tar.gz 28374 BLAKE2B 87891c5ee6b1fa76b12fd09a77c7de3e739cf95b76d0e3dd215feb585d9b07e883998c8e1a1a493230add7e8362278c750a0412d8e3d5102698e8e91e8042a4b SHA512 f8194c823c496c62dc6fa2d46595e39ec5da8f6661ceb3fc553a81f0a33604c00f3a4d742132326dca19c62cd32e7898fcfe89af862dfbc663b940bd4f9808a9 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.20.1.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.20.1.ebuild new file mode 100644 index 000000000000..6a021099323f --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.20.1.ebuild @@ -0,0 +1,44 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" +SRC_URI=" + https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/sphinx-5.2.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/nptyping-2.3.1[${PYTHON_USEDEP}] + >=dev-python/sphobjinv-2.2.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # this package is addicted to Internet + tests/test_sphinx_autodoc_typehints.py::test_format_annotation +) + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 77521c26f1fa..348c78b3f0eb 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -2,3 +2,4 @@ DIST tox-3.27.1.gh.tar.gz 309006 BLAKE2B fa8aaa9cd5b03e54c166bb6b748290420b91498 DIST tox-3.28.0.gh.tar.gz 309472 BLAKE2B 9896411426f6aebb3efa468c01696ecc5f17ec3e67825672d0efc74c1b1468bc8b8d9c14b6177c181750ba4b9a5e77d616068dd83e21f5641acfc8e2a271cc1f SHA512 64816754e6800661bb564c5c7d21c4139522d540a04fafe3c4591d596072d48d1cbe0ee2abee9c8faf3d5007774f5371431b5a7a8f49912bc879c7b168aab2ca DIST tox-4.2.3.gh.tar.gz 290003 BLAKE2B 2ccd1b511114e8a06312922460b39e37de4ac347551ef3595e17d7d972b0049702e8113f1df2470eed90e21a6020dcbb5c88ad976daecaa0259de36233917c4e SHA512 4f9493a32bcc3c1014c89f2a658babc5a6bd12b96a6a5e9f657b6cd750cb787a296ebb58e4d77cd9239cdaaa687eed870d3b7eec76ee91a870a4ed731895b24e DIST tox-4.2.4.gh.tar.gz 290148 BLAKE2B 2c04499197413992dfc412d8c92cde71262c83f97ade63314a1526d1c566b398f77f097536c20ac4f6153095360598edf5a69b13037d27d43c5d19eafa5443ca SHA512 4bfe742e96ae709989f336a360b9db38005adc60549918c044ad8b9d2c3261b1beff07c35f9b501a5d69d213e519c894b97f37e57f085095823aa19b53de0531 +DIST tox-4.2.6.gh.tar.gz 290939 BLAKE2B ea505ef8a852c17dbae1489b91939f38d8a7bfca45a73cb259f2206928dc88294933ad4e420d148379e429f1dc2924e41028e6d5624aea4dcf170473344583ce SHA512 21efd8418a96f1570e33d4e903e4233eedb4ac6592b9df44dfe686414b00bb4fb1fb9bfe948e301e708e31adae609ecc37e9485d4b2d3b879de66da071c90e51 diff --git a/dev-python/tox/tox-4.2.6.ebuild b/dev-python/tox/tox-4.2.6.ebuild new file mode 100644 index 000000000000..3c8f0d97d606 --- /dev/null +++ b/dev-python/tox/tox-4.2.6.ebuild @@ -0,0 +1,86 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" +SRC_URI=" + https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv" + +RDEPEND=" + >=dev-python/cachetools-5.2[${PYTHON_USEDEP}] + >=dev-python/chardet-5.1[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] + >=dev-python/pluggy-1[${PYTHON_USEDEP}] + >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] + >=dev-python/flaky-3.7[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] + >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_prepare() { + # the minimal bounds in tox are entirely meaningless and new packaging + # breaks setuptools + sed -i -e '/packaging/s:>=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 1e6928ca6ef7..645f4991c8be 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1,2 +1,3 @@ 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 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..617020f3ad0e --- /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_{7,8,9,10,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 +} |
