summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-04-08 04:01:52 +0000
committerTim Harder <radhermit@gentoo.org>2015-04-08 04:01:52 +0000
commit7d6bd6f5157189fb7be07c2b0237d9545ce7080c (patch)
treef59998aa36c679a427f7fd63b0763ed0bc141acd /dev-python
parentMark alpha/arm/arm64/ia64/m68k/s390/sh stable #543976. (diff)
downloadgentoo-2-7d6bd6f5157189fb7be07c2b0237d9545ce7080c.tar.gz
gentoo-2-7d6bd6f5157189fb7be07c2b0237d9545ce7080c.tar.bz2
gentoo-2-7d6bd6f5157189fb7be07c2b0237d9545ce7080c.zip
Version bump.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/virtualenv/ChangeLog8
-rw-r--r--dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch19
-rw-r--r--dev-python/virtualenv/virtualenv-12.1.1.ebuild45
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-python/virtualenv/ChangeLog b/dev-python/virtualenv/ChangeLog
index 6427b9c10a22..f688b547ed1a 100644
--- a/dev-python/virtualenv/ChangeLog
+++ b/dev-python/virtualenv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/virtualenv
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v 1.139 2015/04/04 19:32:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v 1.140 2015/04/08 04:01:52 radhermit Exp $
+
+*virtualenv-12.1.1 (08 Apr 2015)
+
+ 08 Apr 2015; Tim Harder <radhermit@gentoo.org> +virtualenv-12.1.1.ebuild,
+ +files/virtualenv-12.1.1-skip-broken-test.patch:
+ Version bump.
04 Apr 2015; Mike Frysinger <vapier@gentoo.org> virtualenv-1.11.6.ebuild,
virtualenv-12.0.5.ebuild, virtualenv-12.0.6.ebuild, virtualenv-12.0.7.ebuild,
diff --git a/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch b/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch
new file mode 100644
index 000000000000..5c14c3e22850
--- /dev/null
+++ b/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch
@@ -0,0 +1,19 @@
+--- virtualenv-12.1.1/tests/test_virtualenv.py
++++ virtualenv-12.1.1/tests/test_virtualenv.py
+@@ -6,6 +6,7 @@
+ import tempfile
+ import pytest
+ import platform # noqa
++import unittest
+
+ from mock import patch, Mock
+
+@@ -126,7 +127,7 @@
+ shutil.rmtree(tmp_virtualenv)
+
+
+-@pytest.mark.skipif("platform.python_implementation() == 'PyPy'")
++@unittest.skip("Running create environment while testing is broken")
+ def test_always_copy_option():
+ """Should be no symlinks in directory tree"""
+ tmp_virtualenv = tempfile.mkdtemp()
diff --git a/dev-python/virtualenv/virtualenv-12.1.1.ebuild b/dev-python/virtualenv/virtualenv-12.1.1.ebuild
new file mode 100644
index 000000000000..f8ec78c85060
--- /dev/null
+++ b/dev-python/virtualenv/virtualenv-12.1.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/virtualenv-12.1.1.ebuild,v 1.1 2015/04/08 04:01:52 radhermit Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Virtual Python Environment builder"
+HOMEPAGE="http://www.virtualenv.org/ http://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 ~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="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ 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}"/${P}-skip-broken-test.patch
+)
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${S}"/docs/_build/html/. )
+ distutils-r1_python_install_all
+}
+
+python_test() {
+ py.test || die "Tests fail with ${EPYTHON}"
+}