From c7f0491bea4a7ab3ff006b29d68c0c7e6eacc3e3 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 10 Jan 2012 00:57:53 +0100 Subject: dev-python/virtualenvwrapper: added python3 compatible ebuild --- .../virtualenvwrapper/virtualenvwrapper-2.3.ebuild | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-python/virtualenvwrapper/virtualenvwrapper-2.3.ebuild (limited to 'dev-python/virtualenvwrapper/virtualenvwrapper-2.3.ebuild') 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 +} + -- cgit v1.2.3