diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-01-10 00:57:53 +0100 |
---|---|---|
committer | root <root@laptop.localhost> | 2012-01-10 00:58:14 +0100 |
commit | c7f0491bea4a7ab3ff006b29d68c0c7e6eacc3e3 (patch) | |
tree | 8fb2f9e732fd5e663f29f2912a02388ea7a9ed7f /dev-python/virtualenvwrapper/virtualenvwrapper-2.3.ebuild | |
parent | 8cf53cfa2f09690aa15718e964badfec7cb6c087 (diff) | |
download | overlay-c7f0491bea4a7ab3ff006b29d68c0c7e6eacc3e3.tar.gz overlay-c7f0491bea4a7ab3ff006b29d68c0c7e6eacc3e3.tar.xz overlay-c7f0491bea4a7ab3ff006b29d68c0c7e6eacc3e3.zip |
dev-python/virtualenvwrapper: added python3 compatible ebuild
Diffstat (limited to '')
-rw-r--r-- | dev-python/virtualenvwrapper/virtualenvwrapper-2.3.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/virtualenvwrapper/virtualenvwrapper-2.3.ebuild b/dev-python/virtualenvwrapper/virtualenvwrapper-2.3.ebuild new file mode 100644 index 0000000..0f5fdba --- /dev/null +++ b/dev-python/virtualenvwrapper/virtualenvwrapper-2.3.ebuild @@ -0,0 +1,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 +} + |