Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/virtualenv/
Date: Sun, 11 Oct 2015 11:25:34
Message-Id: 1444562669.f3d0bba11d88b2cf566d5e75a017ed60150dd3c5.jlec@gentoo
1 commit: f3d0bba11d88b2cf566d5e75a017ed60150dd3c5
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 11 10:46:05 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 11 11:24:29 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3d0bba1
7
8 dev-python/virtualenv: Add python3.5 support
9
10 Package-Manager: portage-2.2.23
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/virtualenv/virtualenv-13.1.2-r1.ebuild | 53 +++++++++++++++++++++++
14 1 file changed, 53 insertions(+)
15
16 diff --git a/dev-python/virtualenv/virtualenv-13.1.2-r1.ebuild b/dev-python/virtualenv/virtualenv-13.1.2-r1.ebuild
17 new file mode 100644
18 index 0000000..77713a1
19 --- /dev/null
20 +++ b/dev-python/virtualenv/virtualenv-13.1.2-r1.ebuild
21 @@ -0,0 +1,53 @@
22 +# Copyright 1999-2015 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=5
27 +
28 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="Virtual Python Environment builder"
33 +HOMEPAGE="
34 + http://www.virtualenv.org/
35 + https://pypi.python.org/pypi/virtualenv
36 + https://github.com/pypa/virtualenv/
37 +"
38 +SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="MIT"
41 +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
42 +SLOT="0"
43 +IUSE="doc test"
44 +
45 +RDEPEND="
46 + >=dev-python/pip-7.1.2[${PYTHON_USEDEP}]
47 + dev-python/setuptools[${PYTHON_USEDEP}]
48 + "
49 +DEPEND="${RDEPEND}
50 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
51 + test? (
52 + dev-python/mock[${PYTHON_USEDEP}]
53 + dev-python/pytest[${PYTHON_USEDEP}]
54 + )"
55 +
56 +DOCS=( docs/index.rst docs/changes.rst )
57 +
58 +PATCHES=(
59 + "${FILESDIR}"/${PN}-1.8.2-no-versioned-script.patch
60 + "${FILESDIR}"/${PN}-12.1.1-skip-broken-test.patch
61 +)
62 +
63 +python_compile_all() {
64 + use doc && emake -C docs html
65 +}
66 +
67 +python_test() {
68 + py.test -vvx || die "Tests fail with ${EPYTHON}"
69 +}
70 +
71 +python_install_all() {
72 + use doc && local HTML_DOCS=( "${S}"/docs/_build/html/. )
73 + distutils-r1_python_install_all
74 +}