diff options
-rw-r--r-- | dev-python/jedi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jedi/jedi-0.10.2.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index 05bbc883b521..e4a7d1e271d8 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -1,2 +1,3 @@ DIST jedi-0.10.0.tar.gz 369482 SHA256 d6a7344df9c80562c3f62199278004ccc7c5889be9f1a6aa5abde117ec085123 SHA512 64ff10cf041a107ca709802b41d9ae27b31fc7fa6cff0efdde4c78d01351efdc1333f1a02e2b8004453574199a4651043e7c3fea7149bfe5e3f0e93c23c38320 WHIRLPOOL 298722d855ee40007cd857f9af2dbdd5266fa7b4fcd52a19d378fcefe378edf49c9a3a9f29251a99cc0091d08bc28411e2497479b52e721bffd7105db1e2ec1f +DIST jedi-0.10.2.tar.gz 373879 SHA256 570aced88bc9ac34d8fa91d3db6de834f45c8adaac3f7fc1a1e9e08e19491acb SHA512 847b000894b5e17cf5582c88245989ce1f0e17b595c79a2cdf4cc7a805fe7360ea08f28ac31473408be795c9ea210c85541cffa5fc7e7119da8c0228eb509351 WHIRLPOOL 3e3792994d3f6a358f9109ddb288427733268a3b08040975af256ddda802e75f8bf3b924490e996798bddcff70c041a52017b209d796b031bc0437e0c2b3939a DIST jedi-0.9.0.tar.gz 334204 SHA256 3b4c19fba31bdead9ab7350fb9fa7c914c59b0a807dcdd5c00a05feb85491d31 SHA512 fa60861bde0afb63c90b0e14b252d33b68d5e83255d662ef727884c91bd530b5a76f0306965ed9620d7d42a92f177feb2524a7b088ade786fb486d62d6912e57 WHIRLPOOL a6233ed19129f129cd97778f1c01bdc1e0747ec1da3611164c50815c77ab57ca1c8d7bec824b00d105cac62d32f53981a54e72b80ddfef00a77cd9316aef94aa diff --git a/dev-python/jedi/jedi-0.10.2.ebuild b/dev-python/jedi/jedi-0.10.2.ebuild new file mode 100644 index 000000000000..4f72a0d4c5c3 --- /dev/null +++ b/dev-python/jedi/jedi-0.10.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,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 ~x86" +IUSE="doc 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 +} |