summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/virtualenv/virtualenv-1.8.4.ebuild')
-rw-r--r--dev-python/virtualenv/virtualenv-1.8.4.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/virtualenv/virtualenv-1.8.4.ebuild b/dev-python/virtualenv/virtualenv-1.8.4.ebuild
new file mode 100644
index 000000000000..0bd622e6fdcb
--- /dev/null
+++ b/dev-python/virtualenv/virtualenv-1.8.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/virtualenv-1.8.4.ebuild,v 1.1 2012/11/29 06:27:48 patrick Exp $
+
+EAPI="4"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils vcs-snapshot eutils
+
+DESCRIPTION="Virtual Python Environment builder"
+HOMEPAGE="http://www.virtualenv.org/ http://pypi.python.org/pypi/virtualenv"
+SRC_URI="https://github.com/pypa/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND="dev-python/setuptools"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )
+ test? ( dev-python/mock )"
+
+DOCS="docs/index.txt docs/news.txt"
+PYTHON_MODNAME="virtualenv.py virtualenv_support"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # let the python eclass handle script versioning
+ epatch "${FILESDIR}"/${PN}-1.8.2-no-versioned-script.patch
+}
+
+src_compile() {
+ distutils_src_compile
+ use doc && emake -C docs html
+}
+
+src_install() {
+ distutils_src_install
+ use doc && dohtml -r docs/_build/html/
+}