From b11d03f2d92770a7be0c34a2549680304bd20af8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 27 Mar 2020 17:19:01 +0100 Subject: [PATCH] dev-python/jedi: Remove redundant versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/jedi/Manifest | 4 -- .../files/jedi-0.11.1-exclude-tests.patch | 26 -------- dev-python/jedi/jedi-0.10.2.ebuild | 44 ------------- dev-python/jedi/jedi-0.11.1.ebuild | 51 --------------- dev-python/jedi/jedi-0.12.0.ebuild | 46 -------------- dev-python/jedi/jedi-0.12.1.ebuild | 63 ------------------- 6 files changed, 234 deletions(-) delete mode 100644 dev-python/jedi/files/jedi-0.11.1-exclude-tests.patch delete mode 100644 dev-python/jedi/jedi-0.10.2.ebuild delete mode 100644 dev-python/jedi/jedi-0.11.1.ebuild delete mode 100644 dev-python/jedi/jedi-0.12.0.ebuild delete mode 100644 dev-python/jedi/jedi-0.12.1.ebuild diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index 97610ddd6cc0..4e76ed72a116 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -1,7 +1,3 @@ -DIST jedi-0.10.2.tar.gz 373879 BLAKE2B 8007b31dc6c96d9538ab141b976fd4554ea16f01bb277692534a2972a6dcf61ee809c7573a7a3f7c0eceb29505de6ffe3ec0a7234a427579333b453fc9cd9dbc SHA512 847b000894b5e17cf5582c88245989ce1f0e17b595c79a2cdf4cc7a805fe7360ea08f28ac31473408be795c9ea210c85541cffa5fc7e7119da8c0228eb509351 -DIST jedi-0.11.1.tar.gz 332402 BLAKE2B bc0a8df89c3d8b6cccc387a22cc08f613c990c59e360c58ae1d2becf521a755892afa4972195f6e40ec3bb48b74b20a966034d0e5bcad5051f90e5b4cc082270 SHA512 61389704a318f89d12b053b786bfb6bda21d2696830c001d6d6e66191fc060d731bc05ea71f2e70725532dcbe109c5c7346a36d227e6f8ab0eb2512f4c1a8945 -DIST jedi-0.12.0.tar.gz 354329 BLAKE2B ef203f2ba57a90de1e16b80c8786fa25d6d459244873dfb22044aa6d080435efa976daeb80949c3fba41ca2f57feb5bfed255b3bb490e17b40b3f13dfbb31e14 SHA512 3e8280b16855cf2c891666f0fb02ac30d801279b72b5bcb64541ef7c152d9f9b165015405ee291cbccd6c9cb3c0481c24f30e6100cb4463888153021b946f16d -DIST jedi-0.12.1.tar.gz 356736 BLAKE2B 515cbc27e065c24fb2cebae5a3807d2e025f22110f3de60d26a74475eadc985bb32bea60b691c580473fffe2fdfc86705187dea1fb730ef3f510b7bdb52e0d59 SHA512 92f9ac34abf908a8143dff360400dd8d6643dc3502bb7973f92bd05db94c2af151c2063f2de0481a14e26d11c009cc39c46189e1ea31d274b80802e3a10cd665 DIST jedi-0.14.1.tar.gz 860206 BLAKE2B d1234ceb417f531c5a29908843a47bec5b198abbc848248517f2796d95319e2d930f7c01af9759cb9a3d44a28fb73c4080802642aea1be32f16689e76c1a49ce SHA512 d68c350259921792788917440c9dd6eb923c90eb1b8d0e078a6d428fad852c4d6bbdc74d8caa88ba5a87db344e4b372dc9cfc959d7bab922888d70402fcf4776 DIST jedi-0.15.1.tar.gz 412356 BLAKE2B a7738e8825b3f578db5e64d50cbf65219b4d2f2f81c45cbae9e3dbb858b0e1ef26d76972c112bfae839daaf73bba0d00b30b5708404d16b0385452500a1c2d35 SHA512 0f6e0185f3f10dbc000f09ddfed7b9596fe5dc270682544173dc156d505618ea14f1f44ede5d2357745ab8ded0b15b2788d064ca4db39fe70196982dd0a16893 DIST jedi-0.15.2.tar.gz 422520 BLAKE2B f382e4026e1d0388c03b5116ea49fe4abf117c1555ccf0159541557e8d0d344774e15b983fbc66f996f60ae38552bb3b89f3f9cc809ab57f511a01664612f08f SHA512 079d9fc104125d188c72cfc0bd0ccd4de88eb5e7cdfba86e44f840e2427d0ab114bb812dad8e814e502e773d3a59f166547f5f6f287a5eedae64af99e8b5616e diff --git a/dev-python/jedi/files/jedi-0.11.1-exclude-tests.patch b/dev-python/jedi/files/jedi-0.11.1-exclude-tests.patch deleted file mode 100644 index a85af80d4c98..000000000000 --- a/dev-python/jedi/files/jedi-0.11.1-exclude-tests.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 4e52acbf26b6d52e26e757cb04817d17c5464331 Mon Sep 17 00:00:00 2001 -From: Dave Halter -Date: Sun, 7 Jan 2018 14:13:21 +0100 -Subject: [PATCH] Using setup.py build should not include part of tests - -It looks like that we have to not only exclude the test package but also 'test.*'. Thanks to @david-geiger for noticing this. Fixes #1024. ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 3f3b7e54..c7081858 100755 ---- a/setup.py -+++ b/setup.py -@@ -32,7 +32,7 @@ setup(name='jedi', - license='MIT', - keywords='python completion refactoring vim', - long_description=readme, -- packages=find_packages(exclude=['test']), -+ packages=find_packages(exclude=['test', 'test.*']), - install_requires=install_requires, - extras_require={'dev': ['docopt']}, - package_data={'jedi': ['evaluate/compiled/fake/*.pym']}, --- -2.16.1 - diff --git a/dev-python/jedi/jedi-0.10.2.ebuild b/dev-python/jedi/jedi-0.10.2.ebuild deleted file mode 100644 index 545a27e4779b..000000000000 --- a/dev-python/jedi/jedi-0.10.2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_6 ) - -inherit distutils-r1 - -DESCRIPTION="Autocompletion library for Python" -HOMEPAGE="https://github.com/davidhalter/jedi" -SRC_URI="https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx ) - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -src_prepare() { - # skip integration and speed tests - rm test/test_{integration,speed}* || die - - distutils-r1_python_prepare_all -} - -python_test() { - PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test -v test \ - || die "Tests failed under ${EPYTHON}" -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_install_all() { - use doc && HTML_DOCS=( "${S}"/docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/jedi/jedi-0.11.1.ebuild b/dev-python/jedi/jedi-0.11.1.ebuild deleted file mode 100644 index 6b7394cd0771..000000000000 --- a/dev-python/jedi/jedi-0.11.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) - -inherit distutils-r1 - -DESCRIPTION="Autocompletion library for Python" -HOMEPAGE="https://github.com/davidhalter/jedi" -SRC_URI="https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 x86" -IUSE="doc test" - -RDEPEND=">=dev-python/parso-0.1.1[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx ) - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ${RDEPEND} - )" - -PATCHES=( "${FILESDIR}"/${PN}-0.11.1-exclude-tests.patch ) - -# various misc failures -RESTRICT="test" - -src_prepare() { - # skip integration and speed tests - rm test/test_{integration,speed}* || die - - distutils-r1_python_prepare_all -} - -python_test() { - PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test -v test \ - || die "Tests failed under ${EPYTHON}" -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_install_all() { - use doc && HTML_DOCS=( "${S}"/docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/jedi/jedi-0.12.0.ebuild b/dev-python/jedi/jedi-0.12.0.ebuild deleted file mode 100644 index 66e53e4f9b00..000000000000 --- a/dev-python/jedi/jedi-0.12.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) - -inherit distutils-r1 - -DESCRIPTION="Autocompletion library for Python" -HOMEPAGE="https://github.com/davidhalter/jedi" -SRC_URI="https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="doc test" - -RDEPEND=">=dev-python/parso-0.1.1[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx ) - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ${RDEPEND} - )" - -# various misc failures -RESTRICT="test" - -src_prepare() { - distutils-r1_python_prepare_all -} - -python_test() { - PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test -v test \ - || die "Tests failed under ${EPYTHON}" -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_install_all() { - use doc && HTML_DOCS=( "${S}"/docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/jedi/jedi-0.12.1.ebuild b/dev-python/jedi/jedi-0.12.1.ebuild deleted file mode 100644 index db6ca80279e2..000000000000 --- a/dev-python/jedi/jedi-0.12.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{6,7} ) - -inherit distutils-r1 - -DESCRIPTION="Autocompletion library for Python" -HOMEPAGE="https://github.com/davidhalter/jedi" -SRC_URI="https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=">=dev-python/parso-0.3.1[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx ) - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ${RDEPEND} - )" - -python_prepare_all() { - # speed tests are fragile - rm test/test_speed.py || die - - # 'path' completion test does not account for 'path' being a valid - # package (i.e. dev-python/path-py) - # https://github.com/davidhalter/jedi/issues/1210 - sed -i -e '/path.*not in/d' test/test_evaluate/test_imports.py || die - - # no clue why it fails but we don't really care about .pyc files - # without sources anyway - rm test/test_evaluate/test_pyc.py || die - - # our very useful patching changes libdir for no good reason - sed -i -e "/site_pkg_path/s:'lib':& if virtualenv.version_info >= (3,7) else '$(get_libdir)':" \ - test/test_evaluate/test_sys_path.py || die - - # this super-secret feature of py3.4 apparently doesn't work for us - sed -i -e 's:test_init_extension_module:_&:' \ - test/test_evaluate/test_extension.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - py.test -vv jedi test || die "Tests failed under ${EPYTHON}" -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_install_all() { - use doc && HTML_DOCS=( "${S}"/docs/_build/html/. ) - distutils-r1_python_install_all -} -- 2.26.2