aboutsummaryrefslogtreecommitdiffstats
path: root/dev-python/virtualenvwrapper/virtualenvwrapper-2.3.ebuild
blob: 0f5fdba9e4a5a3ca4bbd50152abeb8f87f8d16da (plain) (blame)
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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"

inherit distutils eutils

DESCRIPTION="Enhancements to virtualenv"
HOMEPAGE="http://pypi.python.org/pypi/virtualenvwrapper"
SRC_URI="http://www.doughellmann.com/downloads/${P}.tar.gz"

LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""

RDEPEND="dev-python/virtualenv"
DEPEND="${RDEPEND}"

src_prepare() {
	python_copy_sources

	patching() {
		[[ "${PYTHON_ABI}" != 3.* ]] && return
		epatch "${FILESDIR}/python-3.patch"
	}
	python_execute_function --action-message 'Applying patches with $(python_get_implementation) $(python_get_version)' -s patching
}