From 7f0ccc917c7abe6223784c703d86cd14755691fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jul 2021 22:39:47 +0100 Subject: gentoo resync : 03.07.2021 --- dev-python/jedi/Manifest | 4 ++-- dev-python/jedi/jedi-0.17.2-r1.ebuild | 43 +++++++++++++++++------------------ dev-python/jedi/jedi-0.18.0.ebuild | 39 +++++++++++++++---------------- 3 files changed, 43 insertions(+), 43 deletions(-) (limited to 'dev-python/jedi') diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index 20f1ac2e59fa..8a0ee33759d7 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -2,6 +2,6 @@ DIST django-stubs-1.5.0.tar.gz 180400 BLAKE2B 0619a76f89fe4fad456a82e3048009f25f DIST jedi-0.17.2.tar.gz 474372 BLAKE2B cd0bf217202e4413a7d4f1d4095fb22ad5c3de557993fd33e246a1fb516992a16a7382db9e18e0c0414ff5d927008c8148e9bbd8ee0dbd62368d01a31611c326 SHA512 cd96faa6f9cd6e8ad8b9a52ceaa6a84f30c8ced51b20d621932f0babf1b90bbc445fbe5ffd11a4f0e356bf20bdd1da756ccc3574e5fc978883de72dfdb519977 DIST jedi-0.18.0.tar.gz 462786 BLAKE2B 35021ed1566fffc24056060f16b8a0aa6f8b6e382f716ff5978711fd66340e96f4e0b628463aadead5605db32cfc20df06a6c53a9b435658f1c455a6212da6e5 SHA512 fcee84496285a0b0b1cf1f3827593d0603bd87c84baf725cc7bdbf594979f49729b18a29b7465848413bdd3a5670fcc41187dd3eadbd9750d77788c5a9408dbf DIST typeshed-jedi_v0.16.0.tar.gz 497407 BLAKE2B d322d70d3c46d1abcedddbd10aed5c6f213698f4e9f9aec1b4bd7e7186ab7ce384ec6a95d6adc46c7459e3bbb748d6ff432115cae744a315aed60972d2390eee SHA512 1551082938b52717f90e28ffd25e838ab04798ea86ea719fa35975a9de006bcc063a00cc8c8babd994990cdff694d48490f4d8c898c322666450d7ef3be8688a -EBUILD jedi-0.17.2-r1.ebuild 2129 BLAKE2B e9f5a3ac3f0f9903f966c7ef0261c1b16d44828411e4d37dcb3096f9b708885a4296c86e5346d807e402da6c4dc7c25138522d65f45a933fd1740a5b34c7a058 SHA512 f4d01fe866bac52768e21f011fb6e4cb7d710b55b5daf1570451fc76942831be9aeaa8a96e2dec21927e9b9d76f5af09ce20dfd809c70ca7ec7cf9a916d452c1 -EBUILD jedi-0.18.0.ebuild 2182 BLAKE2B 87e194f62a4d3addbc8501fc079eb11b95f5cfb357dfd2652d7f7ba0243ec77c9b540c13d3e4731f716ff135fee9653bd69c3aabf35a109954528ad85bd52939 SHA512 52e66c6efd4505f5594fc4ebe43561e029b00b8454178a816433a1e25357d5539dfc3e53ece7d09701142aa62ec938f174ddf2ca5a83f07aac3ae1e26b6db791 +EBUILD jedi-0.17.2-r1.ebuild 2067 BLAKE2B b6f8da4804fb92e3937fba9071107305e3f67705a182a783ee7b3ca82fadce96f3f75c7d9f49111a58e8ec14b4097c480efd6aad2ea0f8373a3834d71dc98294 SHA512 fa94a1be329ccd38f377385300143606e07506baa3adc37233bb00e0626e2cdad90ab35d07c0869bdbba6b5899de3203bd8b2385cc10fd0b3a641e0e260aff34 +EBUILD jedi-0.18.0.ebuild 2100 BLAKE2B 5b039354d20eea6e5804b504314a1c01d6cb5aa9bf0060e159f683679021c7176b64ffe4e7c53d518e6f22d4dcd385a38b29b38bce7cec169eaf30e18856d576 SHA512 eff78fa0c885ad5a879cde50bd072917674d4602f633fb34524dd12628b4138bcd852fa2adff11a8891f6c7035f2ca9a2f385f3965850c837722ab546062f22a MISC metadata.xml 400 BLAKE2B 7ae1b5a2edac295d8d1cce978fd3c6470eacd06b890c960c33c58050a5bebdfd091cbcf48190e2f6b3681341db155f36e9492f41a4c5d88b2f1ebaacd92ca15b SHA512 f3bd9785ed160ea3335a03139abf10e68d10d2431b4b6f56da12c9a074954ad70972e953b2d283646009af180b9a50e59adffd455adb2937905812a98146360c diff --git a/dev-python/jedi/jedi-0.17.2-r1.ebuild b/dev-python/jedi/jedi-0.17.2-r1.ebuild index 2008df3339a1..71fc58c9def8 100644 --- a/dev-python/jedi/jedi-0.17.2-r1.ebuild +++ b/dev-python/jedi/jedi-0.17.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="MIT test? ( Apache-2.0 )" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~sparc x86" RDEPEND="=dev-python/parso-0.7*[${PYTHON_USEDEP}]" @@ -43,28 +43,27 @@ python_prepare_all() { sed -i "s:'docopt',:: ; s:'colorama',::" setup.py || die sed -i "s: --doctest-modules::" pytest.ini || die - # speed tests are fragile - rm test/test_speed.py || die - # test_complete_expanduser relies on $HOME not being empty - touch "${HOME}"/somefile || die + > "${HOME}"/somefile || die - # TODO: investigate - sed -e 's:test_local_import:_&:' \ - -i test/test_utils.py || die - sed -e '/with sqlite3\.connect/,+2d' \ - -i test/completion/stdlib.py || die - rm test/completion/django.py || die + distutils-r1_python_prepare_all +} - # tests relying on pristine virtualenv - # this relies on test* not matching anything else - sed -e "/#\? \['test'\]/,+1d" \ - -i test/completion/on_import.py || die - # this one's broken by 'path' module (dev-python/path-py) - sed -e 's:test_os_issues:_&:' \ - -i test/test_inference/test_imports.py || die - sed -e 's:test_venv_and_pths:_&:' \ - -i test/test_inference/test_sys_path.py || die +python_test() { + local deselect=( + # TODO + 'test/test_integration.py::test_completion[stdlib:197]' + 'test/test_integration.py::test_completion[on_import:29]' + # assume pristine virtualenv + test/test_utils.py::TestSetupReadline::test_local_import + test/test_inference/test_imports.py::test_os_issues + ) + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + # new features increased the match count again + test/test_utils.py::TestSetupReadline::test_import - distutils-r1_python_prepare_all + ) + + # django and pytest tests are very version dependent + epytest ${deselect[@]/#/--deselect } -k "not django and not pytest" } diff --git a/dev-python/jedi/jedi-0.18.0.ebuild b/dev-python/jedi/jedi-0.18.0.ebuild index 2c588b7dc472..d2d0631a0fd7 100644 --- a/dev-python/jedi/jedi-0.18.0.ebuild +++ b/dev-python/jedi/jedi-0.18.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -46,25 +46,26 @@ python_prepare_all() { # test_complete_expanduser relies on $HOME not being empty > "${HOME}"/somefile || die - # TODO: investigate - sed -e 's:test_local_import:_&:' \ - -i test/test_utils.py || die - sed -e '/with sqlite3\.connect/,+2d' \ - -i test/completion/stdlib.py || die - rm test/completion/django.py || die + distutils-r1_python_prepare_all +} - # these tests fail with various pytest<->python version combinations - rm test/completion/pytest.py || die +python_test() { + local deselect=( + # TODO + 'test/test_integration.py::test_completion[stdlib:155]' + 'test/test_integration.py::test_completion[on_import:29]' + # assume pristine virtualenv + test/test_utils.py::TestSetupReadline::test_local_import + test/test_inference/test_imports.py::test_os_issues + # fragile + test/test_speed.py + ) + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + # new features increased the match count again + test/test_utils.py::TestSetupReadline::test_import - # tests relying on pristine virtualenv - # this relies on test* not matching anything else - sed -e "/#\? \['test'\]/,+1d" \ - -i test/completion/on_import.py || die - # this one's broken by 'path' module (dev-python/path-py) - sed -e 's:test_os_issues:_&:' \ - -i test/test_inference/test_imports.py || die - sed -e 's:test_venv_and_pths:_&:' \ - -i test/test_inference/test_sys_path.py || die + ) - distutils-r1_python_prepare_all + # django and pytest tests are very version dependent + epytest ${deselect[@]/#/--deselect } -k "not django and not pytest" } -- cgit v1.2.3