diff options
author | 2014-12-22 20:14:44 +0000 | |
---|---|---|
committer | 2014-12-22 20:14:44 +0000 | |
commit | 256d640636424072f2537198faf741579afebf22 (patch) | |
tree | 4cd87e669ea66c3e50d88d4000c67cf9a0012f55 /dev-python/virtualenv | |
parent | Stable for amd64 wrt bug #528102 (diff) | |
download | gentoo-2-256d640636424072f2537198faf741579afebf22.tar.gz gentoo-2-256d640636424072f2537198faf741579afebf22.tar.bz2 gentoo-2-256d640636424072f2537198faf741579afebf22.zip |
Version bump.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
Diffstat (limited to 'dev-python/virtualenv')
-rw-r--r-- | dev-python/virtualenv/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/virtualenv/files/virtualenv-12.0-skip-broken-test.patch | 18 | ||||
-rw-r--r-- | dev-python/virtualenv/virtualenv-12.0.ebuild | 45 |
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-python/virtualenv/ChangeLog b/dev-python/virtualenv/ChangeLog index 4aafcef8cbfb..d5ee8d7a47e1 100644 --- a/dev-python/virtualenv/ChangeLog +++ b/dev-python/virtualenv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/virtualenv # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v 1.130 2014/12/08 11:02:34 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v 1.131 2014/12/22 20:14:44 radhermit Exp $ + +*virtualenv-12.0 (22 Dec 2014) + + 22 Dec 2014; Tim Harder <radhermit@gentoo.org> +virtualenv-12.0.ebuild, + +files/virtualenv-12.0-skip-broken-test.patch: + Version bump. 08 Dec 2014; Agostino Sarubbo <ago@gentoo.org> virtualenv-1.11.6.ebuild: Stable for ppc64, wrt bug #530618 diff --git a/dev-python/virtualenv/files/virtualenv-12.0-skip-broken-test.patch b/dev-python/virtualenv/files/virtualenv-12.0-skip-broken-test.patch new file mode 100644 index 000000000000..a7485e43d390 --- /dev/null +++ b/dev-python/virtualenv/files/virtualenv-12.0-skip-broken-test.patch @@ -0,0 +1,18 @@ +--- virtualenv-12.0/tests/test_virtualenv.py ++++ virtualenv-12.0/tests/test_virtualenv.py +@@ -5,6 +5,7 @@ + import sys + import tempfile + from mock import patch, Mock ++import unittest + + + def test_version(): +@@ -123,6 +124,7 @@ + shutil.rmtree(tmp_virtualenv) + + ++@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.0.ebuild b/dev-python/virtualenv/virtualenv-12.0.ebuild new file mode 100644 index 000000000000..0b00392c64f7 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-12.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/virtualenv-12.0.ebuild,v 1.1 2014/12/22 20:14:44 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" +SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~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}" +} |