Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jedi/
Date: Thu, 10 May 2018 21:41:01
Message-Id: 1525988451.ac574cb2df4415733578e0d346f5472c72bef4a8.monsieurp@gentoo
1 commit: ac574cb2df4415733578e0d346f5472c72bef4a8
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 10 21:40:11 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu May 10 21:40:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac574cb2
7
8 dev-python/jedi: version bump.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-python/jedi/Manifest | 1 +
13 dev-python/jedi/jedi-0.12.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest
17 index aa9d365820a..9a60f7a3c2e 100644
18 --- a/dev-python/jedi/Manifest
19 +++ b/dev-python/jedi/Manifest
20 @@ -1,2 +1,3 @@
21 DIST jedi-0.10.2.tar.gz 373879 BLAKE2B 8007b31dc6c96d9538ab141b976fd4554ea16f01bb277692534a2972a6dcf61ee809c7573a7a3f7c0eceb29505de6ffe3ec0a7234a427579333b453fc9cd9dbc SHA512 847b000894b5e17cf5582c88245989ce1f0e17b595c79a2cdf4cc7a805fe7360ea08f28ac31473408be795c9ea210c85541cffa5fc7e7119da8c0228eb509351
22 DIST jedi-0.11.1.tar.gz 332402 BLAKE2B bc0a8df89c3d8b6cccc387a22cc08f613c990c59e360c58ae1d2becf521a755892afa4972195f6e40ec3bb48b74b20a966034d0e5bcad5051f90e5b4cc082270 SHA512 61389704a318f89d12b053b786bfb6bda21d2696830c001d6d6e66191fc060d731bc05ea71f2e70725532dcbe109c5c7346a36d227e6f8ab0eb2512f4c1a8945
23 +DIST jedi-0.12.0.tar.gz 354329 BLAKE2B ef203f2ba57a90de1e16b80c8786fa25d6d459244873dfb22044aa6d080435efa976daeb80949c3fba41ca2f57feb5bfed255b3bb490e17b40b3f13dfbb31e14 SHA512 3e8280b16855cf2c891666f0fb02ac30d801279b72b5bcb64541ef7c152d9f9b165015405ee291cbccd6c9cb3c0481c24f30e6100cb4463888153021b946f16d
24
25 diff --git a/dev-python/jedi/jedi-0.12.0.ebuild b/dev-python/jedi/jedi-0.12.0.ebuild
26 new file mode 100644
27 index 00000000000..ce096b6c317
28 --- /dev/null
29 +++ b/dev-python/jedi/jedi-0.12.0.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Autocompletion library for Python"
40 +HOMEPAGE="https://github.com/davidhalter/jedi"
41 +SRC_URI="https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
46 +IUSE="doc test"
47 +
48 +RDEPEND=">=dev-python/parso-0.1.1[${PYTHON_USEDEP}]"
49 +DEPEND="
50 + dev-python/setuptools[${PYTHON_USEDEP}]
51 + doc? ( dev-python/sphinx )
52 + test? (
53 + dev-python/pytest[${PYTHON_USEDEP}]
54 + ${RDEPEND}
55 + )"
56 +
57 +# various misc failures
58 +RESTRICT="test"
59 +
60 +src_prepare() {
61 + distutils-r1_python_prepare_all
62 +}
63 +
64 +python_test() {
65 + PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test -v test \
66 + || die "Tests failed under ${EPYTHON}"
67 +}
68 +
69 +python_compile_all() {
70 + use doc && emake -C docs html
71 +}
72 +
73 +python_install_all() {
74 + use doc && HTML_DOCS=( "${S}"/docs/_build/html/. )
75 + distutils-r1_python_install_all
76 +}