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: Sat, 30 Jan 2016 15:11:33
Message-Id: 1454166686.5d7854fa7659e6281bb9c159f06c490f5e6a1d55.jlec@gentoo
1 commit: 5d7854fa7659e6281bb9c159f06c490f5e6a1d55
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 29 14:18:43 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 15:11:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7854fa
7
8 dev-python/virtualenv: 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/Manifest | 1 +
14 dev-python/virtualenv/virtualenv-14.0.3.ebuild | 51 ++++++++++++++++++++++++++
15 2 files changed, 52 insertions(+)
16
17 diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest
18 index 274d4c6..40a811e 100644
19 --- a/dev-python/virtualenv/Manifest
20 +++ b/dev-python/virtualenv/Manifest
21 @@ -1,2 +1,3 @@
22 DIST virtualenv-13.1.2.tar.gz 1704701 SHA256 438a9933dac2e6ef2e4270fe82435f9c29f933f05e2c5840a7b45e342b6292f8 SHA512 e58f0b1d46174d61b0ef6703020806208f34291c5490fabf29d3b82a03ba89a7caeb377aac44549f6c0ffe2e445786e16dcd67593b7b8d3b1fae0d9e8c8ef124 WHIRLPOOL 03fe0181ebb2d4becb357a740cc3f743526a087e03c03f5e20abac6a54a2701865c89f9f6023ae996d3ca032b08d28e1048747dc8ea1740316f330180f0f5161
23 DIST virtualenv-14.0.1.tar.gz 1794063 SHA256 66778f6d27b3864644b923fdbac69d012281821c0c90d2e928a319e9eeef2830 SHA512 594fd00d99808dcc6da573b5b60ffe397bda229517351410aed4342935afcf0ce8d660ef8209fd8a19dd7d880c1afdb7caeb12c638dce80d01b623caa4b5c0fc WHIRLPOOL 1ce84d2d78953897f4fdeea9268849c21da7ca1e25b05b17efa7262a9557c1b89739f81566d7a3f96292837fbd998cce3052954c6acfe3ac1071d0179d57c6b6
24 +DIST virtualenv-14.0.3.tar.gz 1794400 SHA256 9b67a5b78f8d8bac1f5221d19b912023574aaa2376d1b2ce4cc3ade9fe04b43e SHA512 b6de36e0aa009c5841589ebfc35f56f4ee46cfbe3f1f48bb79fdec04558bc6655e8a7b97fbb98077f0992fc17f7293539af36865c3b1e965f00e820a33ba93f8 WHIRLPOOL 5670100c1656105cb0e3244bf8634d96a2b63fb2063f5c14199ca8dee09f0923386f5825966ff2f4b2edf59ff14b63f8122459b8d666f76a83fa732acce85639
25
26 diff --git a/dev-python/virtualenv/virtualenv-14.0.3.ebuild b/dev-python/virtualenv/virtualenv-14.0.3.ebuild
27 new file mode 100644
28 index 0000000..2a8a799
29 --- /dev/null
30 +++ b/dev-python/virtualenv/virtualenv-14.0.3.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Virtual Python Environment builder"
43 +HOMEPAGE="
44 + http://www.virtualenv.org/
45 + https://pypi.python.org/pypi/virtualenv
46 + https://github.com/pypa/virtualenv/
47 +"
48 +SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
49 +
50 +LICENSE="MIT"
51 +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"
52 +SLOT="0"
53 +IUSE="doc test"
54 +
55 +RDEPEND=""
56 +DEPEND="${RDEPEND}
57 + >=dev-python/setuptools-19.6.1[${PYTHON_USEDEP}]
58 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
59 + test? (
60 + dev-python/mock[${PYTHON_USEDEP}]
61 + dev-python/pytest[${PYTHON_USEDEP}]
62 + )"
63 +
64 +DOCS=( docs/index.rst docs/changes.rst )
65 +
66 +PATCHES=(
67 + "${FILESDIR}"/${PN}-1.8.2-no-versioned-script.patch
68 + "${FILESDIR}"/${PN}-12.1.1-skip-broken-test.patch
69 +)
70 +
71 +python_compile_all() {
72 + use doc && emake -C docs html
73 +}
74 +
75 +python_test() {
76 + py.test -v -v || die "Tests fail with ${EPYTHON}"
77 +}
78 +
79 +python_install_all() {
80 + use doc && local HTML_DOCS=( "${S}"/docs/_build/html/. )
81 + distutils-r1_python_install_all
82 +}