summaryrefslogtreecommitdiff
blob: 1d045efb06a6832859a64cfeba9262a8c2852ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/virtualenv-1.3.3.ebuild,v 1.6 2009/09/27 19:02:05 nixnut Exp $

EAPI="2"

NEED_PYTHON="2.3"
SUPPORT_PYTHON_ABIS="1"

inherit distutils

DESCRIPTION="Virtual Python Environment builder"
HOMEPAGE="http://pypi.python.org/pypi/virtualenv"
SRC_URI="http://pypi.python.org/packages/source/v/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="amd64 ppc ppc64 x86"
SLOT="0"
IUSE=""

RDEPEND=">=dev-python/setuptools-0.6_rc8"
DEPEND="${RDEPEND}"

RESTRICT_PYTHON_ABIS="3*"

DOCS="docs/index.txt"

src_prepare() {
	rm -f support-files/ez_setup.py
}

pkg_postinst() {
	python_mod_optimize rebuild-script.py refresh-support-files.py virtualenv.py
}

pkg_postrm() {
	python_mod_cleanup
}