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: Mon, 01 Feb 2016 15:44:35
Message-Id: 1454341460.ff1b6c439513d9fe1353368509bff6848be9b025.jlec@gentoo
1 commit: ff1b6c439513d9fe1353368509bff6848be9b025
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 1 15:32:26 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 1 15:44:20 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff1b6c43
7
8 dev-python/mimeparse: Version Bump
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/virtualenv/virtualenv-14.0.5.ebuild | 51 ++++++++++++++++++++++++++
14 1 file changed, 51 insertions(+)
15
16 diff --git a/dev-python/virtualenv/virtualenv-14.0.5.ebuild b/dev-python/virtualenv/virtualenv-14.0.5.ebuild
17 new file mode 100644
18 index 0000000..064557d
19 --- /dev/null
20 +++ b/dev-python/virtualenv/virtualenv-14.0.5.ebuild
21 @@ -0,0 +1,51 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +
28 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~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 +DEPEND="${RDEPEND}
47 + >=dev-python/setuptools-19.6.[${PYTHON_USEDEP}]
48 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
49 + test? (
50 + dev-python/mock[${PYTHON_USEDEP}]
51 + dev-python/pytest[${PYTHON_USEDEP}]
52 + )"
53 +
54 +DOCS=( docs/index.rst docs/changes.rst )
55 +
56 +PATCHES=(
57 + "${FILESDIR}"/${PN}-1.8.2-no-versioned-script.patch
58 + "${FILESDIR}"/${PN}-12.1.1-skip-broken-test.patch
59 +)
60 +
61 +python_compile_all() {
62 + use doc && emake -C docs html
63 +}
64 +
65 +python_test() {
66 + py.test -v -v || die "Tests fail with ${EPYTHON}"
67 +}
68 +
69 +python_install_all() {
70 + use doc && local HTML_DOCS=( "${S}"/docs/_build/html/. )
71 + distutils-r1_python_install_all
72 +}