/[gentoo-x86]/dev-python/jedi/jedi-0.9.0.ebuild
Gentoo

Contents of /dev-python/jedi/jedi-0.9.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue May 5 17:43:21 2015 UTC (5 years, 2 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Version Bump; drop old

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/jedi/jedi-0.8.1-r2.ebuild,v 1.1 2015/02/28 10:25:54 jlec Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 python3_{3,4} )
8
9 inherit distutils-r1
10
11 DESCRIPTION="Awesome autocompletion library for python"
12 HOMEPAGE="https://github.com/davidhalter/jedi"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14
15 LICENSE="MIT"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="doc test"
19
20 DEPEND="
21 app-arch/xz-utils
22 dev-python/setuptools[${PYTHON_USEDEP}]
23 doc? ( dev-python/sphinx )
24 test? (
25 dev-python/pytest[${PYTHON_USEDEP}]
26 dev-python/tox[${PYTHON_USEDEP}]
27 )"
28
29 python_test() {
30 PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test test || die "Tests failed under ${EPYTHON}"
31 }
32
33 python_compile_all() {
34 use doc && emake -C docs html
35 }
36
37 python_install_all() {
38 use doc && dohtml -r "${S}"/docs/_build/html/*
39 distutils-r1_python_install_all
40 }

  ViewVC Help
Powered by ViewVC 1.1.20