summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-01-29 15:18:43 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-30 16:11:26 +0100
commit5d7854fa7659e6281bb9c159f06c490f5e6a1d55 (patch)
tree4c6941bddad54f24d7ece756e931e119ba8eb3a5 /dev-python/virtualenv
parentdev-python/setuptools: Version Bump (diff)
downloadgentoo-5d7854fa7659e6281bb9c159f06c490f5e6a1d55.tar.gz
gentoo-5d7854fa7659e6281bb9c159f06c490f5e6a1d55.tar.bz2
gentoo-5d7854fa7659e6281bb9c159f06c490f5e6a1d55.zip
dev-python/virtualenv: Version Bump
Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/virtualenv')
-rw-r--r--dev-python/virtualenv/Manifest1
-rw-r--r--dev-python/virtualenv/virtualenv-14.0.3.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest
index 274d4c6164fc..40a811ebc28f 100644
--- a/dev-python/virtualenv/Manifest
+++ b/dev-python/virtualenv/Manifest
@@ -1,2 +1,3 @@
DIST virtualenv-13.1.2.tar.gz 1704701 SHA256 438a9933dac2e6ef2e4270fe82435f9c29f933f05e2c5840a7b45e342b6292f8 SHA512 e58f0b1d46174d61b0ef6703020806208f34291c5490fabf29d3b82a03ba89a7caeb377aac44549f6c0ffe2e445786e16dcd67593b7b8d3b1fae0d9e8c8ef124 WHIRLPOOL 03fe0181ebb2d4becb357a740cc3f743526a087e03c03f5e20abac6a54a2701865c89f9f6023ae996d3ca032b08d28e1048747dc8ea1740316f330180f0f5161
DIST virtualenv-14.0.1.tar.gz 1794063 SHA256 66778f6d27b3864644b923fdbac69d012281821c0c90d2e928a319e9eeef2830 SHA512 594fd00d99808dcc6da573b5b60ffe397bda229517351410aed4342935afcf0ce8d660ef8209fd8a19dd7d880c1afdb7caeb12c638dce80d01b623caa4b5c0fc WHIRLPOOL 1ce84d2d78953897f4fdeea9268849c21da7ca1e25b05b17efa7262a9557c1b89739f81566d7a3f96292837fbd998cce3052954c6acfe3ac1071d0179d57c6b6
+DIST virtualenv-14.0.3.tar.gz 1794400 SHA256 9b67a5b78f8d8bac1f5221d19b912023574aaa2376d1b2ce4cc3ade9fe04b43e SHA512 b6de36e0aa009c5841589ebfc35f56f4ee46cfbe3f1f48bb79fdec04558bc6655e8a7b97fbb98077f0992fc17f7293539af36865c3b1e965f00e820a33ba93f8 WHIRLPOOL 5670100c1656105cb0e3244bf8634d96a2b63fb2063f5c14199ca8dee09f0923386f5825966ff2f4b2edf59ff14b63f8122459b8d666f76a83fa732acce85639
diff --git a/dev-python/virtualenv/virtualenv-14.0.3.ebuild b/dev-python/virtualenv/virtualenv-14.0.3.ebuild
new file mode 100644
index 000000000000..2a8a799caa3a
--- /dev/null
+++ b/dev-python/virtualenv/virtualenv-14.0.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Virtual Python Environment builder"
+HOMEPAGE="
+ http://www.virtualenv.org/
+ https://pypi.python.org/pypi/virtualenv
+ https://github.com/pypa/virtualenv/
+"
+SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+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"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-python/setuptools-19.6.1[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+DOCS=( docs/index.rst docs/changes.rst )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.8.2-no-versioned-script.patch
+ "${FILESDIR}"/${PN}-12.1.1-skip-broken-test.patch
+)
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ py.test -v -v || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${S}"/docs/_build/html/. )
+ distutils-r1_python_install_all
+}