diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 261459 -> 261448 bytes | |||
-rw-r--r-- | dev-python/attrs/Manifest | 2 | ||||
-rw-r--r-- | dev-python/attrs/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/jedi/Manifest | 3 | ||||
-rw-r--r-- | dev-python/jedi/files/jedi-0.18.1-python3.11.patch | 16 | ||||
-rw-r--r-- | dev-python/jedi/jedi-0.18.1-r1.ebuild | 84 | ||||
-rw-r--r-- | dev-python/jmespath/Manifest | 2 | ||||
-rw-r--r-- | dev-python/jmespath/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/oauthlib/Manifest | 2 | ||||
-rw-r--r-- | dev-python/oauthlib/metadata.xml | 1 |
10 files changed, 109 insertions, 3 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 8c85b390d559..c87093be70e1 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/attrs/Manifest b/dev-python/attrs/Manifest index 4d5a620ed0ed..0dbca7e7b5f8 100644 --- a/dev-python/attrs/Manifest +++ b/dev-python/attrs/Manifest @@ -2,4 +2,4 @@ DIST attrs-21.4.0.tar.gz 201839 BLAKE2B f8e9ca1385efe6f5b9bf468f622f0bf5390830c5 DIST attrs-22.1.0.tar.gz 201288 BLAKE2B 5da48b3cbcd99cdcc531a0859be264a4d209778caa53bd95480a103549b816c8a805079e1555fce38eb33f8bd3d5b7bfa6f814ef2b60dc405bda6686c7746f0b SHA512 447637bc82b31d565479e364869b996eaf7b67e526ad97f79ba1c27f287bbb25a2c40663e35437bc19037f605fac9322bd35f303f2769f0eb2ee673900551885 EBUILD attrs-21.4.0-r1.ebuild 1848 BLAKE2B 468fba46dc9ced05a124eda67ab30bc0a7ea8bf1c5a55de545c1cf96cf26a682b6d1e36b6bcbe9d88276c67dd5dccfcb85aef2c88ce753d8b6d760d979008a59 SHA512 bcef30cfb380189d1427302221d3a531e32390f4375c504ce38b360ad0adc0ede60d50ae1db0feef0735a2902f77d559ab98a4ac41db1cb6ecbfdeaa2b395d62 EBUILD attrs-22.1.0.ebuild 978 BLAKE2B 2678cdb3afb816653417d08eb791cb84772b202abe8288b16b97102e694351bc9ea06827e3b9e65efec48197e9a791101245b09f21ad39799779a1297291f908 SHA512 f78754082e480c1c19cccc56705669f6247ee627bbad7de37ca2595bf6830f0c3850f1142de5cbf66ee8f2afec972873760d0b44c4f674b2933d14e3444d1fb3 -MISC metadata.xml 521 BLAKE2B 566735fbcb7141b4e2bf3130847bdde2850c803d5fe981540f728273231484984e5ebf3fed549cf9485763a8d9b8d102ccf984660a34541286621341e8aea64d SHA512 1b4999c797e93fd228652d1b6bd52dfc1a5e7b0828d2e70cdcf8dc859641c2c15f5353e1b9cf1b1f19dee8af75c521b26e651a7f4709e7729425d7dcc45137f1 +MISC metadata.xml 586 BLAKE2B d54794200f471af72d635c0cda12d773ff78f1083a9a6d2b0785b203789b2432b10ee7332f5abcd8f8dda952e10e4f981d51bbbfc4a6d461524570b3c5168f18 SHA512 b1161bb1ad04faea3ca915847d739287bc8bf9695608e49344ac6c9c4c16bb6818313a79b036df0cddde1da2d84740cf2d0b7d0c23d6cf3f22315046a3732f78 diff --git a/dev-python/attrs/metadata.xml b/dev-python/attrs/metadata.xml index 69235fceeae0..0c65494d24bd 100644 --- a/dev-python/attrs/metadata.xml +++ b/dev-python/attrs/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <stabilize-allarches/> <upstream> + <remote-id type="cpe">cpe:/a:attrs_project:attrs</remote-id> <remote-id type="pypi">attrs</remote-id> <maintainer status="unknown"> <email>hs@ox.cx</email> diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index 0e517e227470..d8515e836bb1 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -1,5 +1,8 @@ +AUX jedi-0.18.1-python3.11.patch 693 BLAKE2B 51a08bd5270443af1bf0698b730e7fba43c858c092323fb269373d995621b40a040130e8a2d1e84fb0090bd0e7ad9416741cdcfe15103dbb0b4ba99d6f6bec6e SHA512 2926fe31001ec7d2f895dacb8f926757de3db79b3d2d29a0e814e25ecbad954572bdad6f75f234ad24aa446471dcff74817d3aedb3c667d9efa5ffd82d237f47 DIST django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9.tar.gz 183312 BLAKE2B a68f6139903f5001db994ee0d881f40ab74932e81c3e2c3a0c22dc56e6be681d0fb42ce837603b21e4d0d448ccb25884ef0f69039305f309e82603267cee9f6a SHA512 506322c132f94e6a1e88cdbde6027a566387731fa6ad59934f95c3511f49d90eff2a3138363811be648b096407d418cd1f801df0bc35b1e464ef181e4076ada1 +DIST jedi-0.18.1.gh.tar.gz 466884 BLAKE2B c2403b20447b27b1fb19c16d1131299154fcb767453116964b339bf7ef4a1ca20b6c3216c3fbd63c304dd2c0c02a67702d5228e1d847975b778597dc58b489d1 SHA512 c72dc4927fe44641ea57c61e68b3c74c3a3f70ddc2990454ba931026c288723e07263918ecbb4ecc6f79716d37e10a1b1448ae8cfc6d52465122b3d1e43bea25 DIST jedi-0.18.1.tar.gz 466884 BLAKE2B c2403b20447b27b1fb19c16d1131299154fcb767453116964b339bf7ef4a1ca20b6c3216c3fbd63c304dd2c0c02a67702d5228e1d847975b778597dc58b489d1 SHA512 c72dc4927fe44641ea57c61e68b3c74c3a3f70ddc2990454ba931026c288723e07263918ecbb4ecc6f79716d37e10a1b1448ae8cfc6d52465122b3d1e43bea25 DIST typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3.tar.gz 602044 BLAKE2B 53298918a7e9a1163e76d4c70ad2a2117ee90b49329aa82d82b2aaaeaf000c971872f83ed283af6dc4be068b813876760c8b1b4acb4131865572a4aed3ea9230 SHA512 b3b9da66b6c6e03e0b262b3262df31215a5e080468ca9ebf4332ed53d715cd3956db7067fad3ec267042ff704f81ac665c703ef2fd0c5b445d440bd8e52bf1aa +EBUILD jedi-0.18.1-r1.ebuild 2311 BLAKE2B 074fcae946157ab09a7cdac73288991de290a120472712c295112d75a537e080c729393fd2dc2b28a51c4729a2c2662c6aeea10f22d0ab33f12f5a3def5b17e5 SHA512 86f05381722412966c20961fdcef692dffa94aefd8e371f1a705c50bb68dd7676ca463fda4a857050ede236e3ca970bdda2708b2b02c0758d25c03ae4d172e31 EBUILD jedi-0.18.1.ebuild 2201 BLAKE2B bed3608a18bdc8c1390eec43612bfb987839196798e0a708ca94b46ef1d082d49490ecb3886209f18aeaff01e7c5bc5e3e1b179196d0d9da50a4bbc1fe9469b6 SHA512 883ab512dc50f7400e0252ea182da65d3ede3e8e71441ecfb3c7a7e365815afc20d08ed93109da7f5d13313ab40594c2240e978cf4eb5addd9031d100ea87157 MISC metadata.xml 401 BLAKE2B c540d55ee88ab5a7be9ec902059a766a754da42ba5c1836c990d0d64edfec91fa33e8a745b9a15ce4a97831259150e0298fe2a5ed4c21993be73d9fd7af3d865 SHA512 6af98463225428333ec509b334014bd307569ce852f640a1f1c1e18f7551185d8db9b7c80822012c14f3c6ca1cf79ff24f289df3cd42803759d012a1a73ac07c diff --git a/dev-python/jedi/files/jedi-0.18.1-python3.11.patch b/dev-python/jedi/files/jedi-0.18.1-python3.11.patch new file mode 100644 index 000000000000..b708881e4f8d --- /dev/null +++ b/dev-python/jedi/files/jedi-0.18.1-python3.11.patch @@ -0,0 +1,16 @@ +diff --git a/jedi/inference/compiled/subprocess/functions.py b/jedi/inference/compiled/subprocess/functions.py +index 5070c6643..bbc14c392 100644 +--- a/jedi/inference/compiled/subprocess/functions.py ++++ b/jedi/inference/compiled/subprocess/functions.py +@@ -151,7 +151,11 @@ def _find_module(string, path=None, full_name=None, is_global_search=True): + + spec = find_spec(string, p) + if spec is not None: ++ if spec.origin == "frozen": ++ continue ++ + loader = spec.loader ++ + if loader is None and not spec.has_location: + # This is a namespace package. + full_name = string if not path else full_name diff --git a/dev-python/jedi/jedi-0.18.1-r1.ebuild b/dev-python/jedi/jedi-0.18.1-r1.ebuild new file mode 100644 index 000000000000..3063ef5c6a18 --- /dev/null +++ b/dev-python/jedi/jedi-0.18.1-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 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 + +TYPESHED_P="typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3" +DJANGO_STUBS_P="django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9" + +DESCRIPTION="Autocompletion library for Python" +HOMEPAGE=" + https://github.com/davidhalter/jedi/ + https://pypi.org/project/jedi/ +" +SRC_URI=" + https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + https://github.com/davidhalter/typeshed/archive/${TYPESHED_P#typeshed-}.tar.gz + -> ${TYPESHED_P}.tar.gz + https://github.com/davidhalter/django-stubs/archive/${DJANGO_STUBS_P#django-stubs-}.tar.gz + -> ${DJANGO_STUBS_P/v/}.tar.gz +" + +LICENSE=" + MIT + test? ( Apache-2.0 ) +" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + =dev-python/parso-0.8*[${PYTHON_USEDEP}] +" + +PATCHES=( + # https://github.com/davidhalter/jedi/pull/1889 + "${FILESDIR}/${P}-python3.11.patch" +) + +# RDEPEND needed because of an import jedi inside conf.py +distutils_enable_sphinx docs \ + dev-python/parso \ + dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_prepare_all() { + # upstream includes these as submodules ... + rmdir "${S}"/jedi/third_party/{django-stubs,typeshed} || die + mv "${WORKDIR}/${DJANGO_STUBS_P/v/}" \ + "${S}/jedi/third_party/django-stubs" || die + mv "${WORKDIR}/${TYPESHED_P}" \ + "${S}/jedi/third_party/typeshed" || die + + # don't run doctests, don't depend on colorama + sed -i "s:'docopt',:: ; s:'colorama',::" setup.py || die + sed -i "s: --doctest-modules::" pytest.ini || die + + # test_complete_expanduser relies on $HOME not being empty + > "${HOME}"/somefile || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile + test/test_speed.py + # assumes pristine virtualenv + test/test_inference/test_imports.py::test_os_issues + ) + [[ ${EPYTHON} != python3.8 ]] && EPYTEST_DESELECT+=( + # TODO + 'test/test_integration.py::test_completion[lambdas:112]' + ) + + # some plugin breaks case-insensitivity on completions + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # django and pytest tests are very version dependent + epytest -k "not django and not pytest" +} diff --git a/dev-python/jmespath/Manifest b/dev-python/jmespath/Manifest index 09e3c37fb07a..0b08a25c630e 100644 --- a/dev-python/jmespath/Manifest +++ b/dev-python/jmespath/Manifest @@ -1,3 +1,3 @@ DIST jmespath.py-1.0.1.gh.tar.gz 80936 BLAKE2B 9dfcdf4a8359d0e7c5f333e349d12e5c438693cf81b64df1a8a3b7211304ee228e9579be528a9b35ee0e4289539a5b4e214fcb9cb42d2b3fdbdd2e1a83975bc2 SHA512 c1676a4b7565d25c2948569005c503a0ca33908de6ed16536767da2c00c634e4ee345bcaf88a01bf6cd2996aaf722faaedff80061ab65ee77e5bc0f494f86a70 EBUILD jmespath-1.0.1.ebuild 695 BLAKE2B c0e833f50407b759ad4bcca1b41c6e8f96a706d89f0404b289081f9ee7ea07953512e76dd0482bf6b5e92cf29629360b9de84b41d6ce60b83a31a1253a6b4069 SHA512 99006b7927874d5aa71839a822c90ddfd4f59ec0cf1fd0ae68e693c2f30ed8662514ed420bab285dd2f62f544b646e406d1bed4f09715e6776f9749225f9870f -MISC metadata.xml 409 BLAKE2B 7adc2c326ae16f921adb5958e2f80b3309c4b4321c529e11225a7db22dbdb441335a1f35132147ad651c747075078263870ace4e1472398e833fbffd8e90ffd1 SHA512 a4009dc996e7c9df5b5bc31d7504af2d315ec57326edad640ce075f232c435d2dcfe400a7cb10cc33bafc142651a712df570efbfb2592361c078942c1e9a59bb +MISC metadata.xml 480 BLAKE2B 875457145d437a35e58412480d1bb3c1c7a3cf3e7c0bf4677303025c32e68fcc7a6c2738b7558f0c55aa34f2256c9762be18de3a678effcbacd37b6f61bd3533 SHA512 10d3de0c738b5e4c01065e1e0611b508e3acd63ee05c5edf95aaf6c664035d4227b7df1deebf591c492cc948badad0e82a3e8be23dd64c037484bec2c3e254c4 diff --git a/dev-python/jmespath/metadata.xml b/dev-python/jmespath/metadata.xml index f6cc8b80187f..efef3cbfdb8f 100644 --- a/dev-python/jmespath/metadata.xml +++ b/dev-python/jmespath/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <stabilize-allarches/> <upstream> + <remote-id type="cpe">cpe:/a:jmespath_project:jmespath</remote-id> <remote-id type="pypi">jmespath</remote-id> <remote-id type="github">jmespath/jmespath.py</remote-id> </upstream> diff --git a/dev-python/oauthlib/Manifest b/dev-python/oauthlib/Manifest index da73408f4d4f..8e797ee3f456 100644 --- a/dev-python/oauthlib/Manifest +++ b/dev-python/oauthlib/Manifest @@ -1,3 +1,3 @@ DIST oauthlib-3.2.2.tar.gz 177352 BLAKE2B 98c128eb0ec2a24f45fd63826eb2253e2e90afb37c1954a9d21f0046168bfff8d52a24b230b60f4d756e4730c0cc05b3484d2cb6ac3eb2d710ee113dea6598c9 SHA512 c147b96e0ab0d1a8845f525e80831cfd04495134dd1f17fd95eac62f3a95c91e6dca9d38e34206537d77f3c12dd5b553252239318ba39546979c350e96536b8b EBUILD oauthlib-3.2.2.ebuild 723 BLAKE2B 358df31bc745b855647416574c1df5f67f3cff8a637b25d6aa5bbf172a85dab22c703891c20973a8a3dd338694f673a714a1422f624f928cf91a3700f8f945c9 SHA512 8ef384370ccd30ebfe9b7934e35385db7bcfb3ea20749c9685f509e9987c5e919fdebccb9c32097c4cd7a1cde86aff1a3baf97a76017b50eafa41f5512de771b -MISC metadata.xml 393 BLAKE2B 7b784c5d6a94cb2eee22f2b92b154fb6a975d752a6af15822fbbd055175078ca3070a75ae575ce65619b9a09420ad5197f320f117a60e72db2ce47fef16ebf34 SHA512 30ceec289fd200942c38e63e9ac46e2caed0db9e990f89b3c04484cf11b8c584040bfb58c827d6a4d3425071b66b099e6dd7ac99397edbd2d58e943e04c2d9e6 +MISC metadata.xml 462 BLAKE2B f55c4f728fa3876547335d39e23c0ad548729501da250e30455077ce7e6816135c58125f579fa306a11ce527f6d7dd8f48ac2f8eb52ea7ad8d6d41bcc5cd142a SHA512 43a7a62ae73e1733e27cdc10150bfde2007a0b05f0ac1c2146329e5ca0e38e4a69cac1f61350279e74980e75c371b7c12dacc0d6c73806cc34a2c1b49ced9f43 diff --git a/dev-python/oauthlib/metadata.xml b/dev-python/oauthlib/metadata.xml index 340ba69d3c38..c5153bb030ee 100644 --- a/dev-python/oauthlib/metadata.xml +++ b/dev-python/oauthlib/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <stabilize-allarches/> <upstream> + <remote-id type="cpe">cpe:/a:oauthlib_project:oauthlib</remote-id> <remote-id type="pypi">oauthlib</remote-id> <remote-id type="github">oauthlib/oauthlib</remote-id> </upstream> |