summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-02-26 16:07:42 +0000
committerMike Gilbert <floppym@gentoo.org>2013-02-26 16:07:42 +0000
commit8aed14cb371eb66e92ece8df3d050817aa252c0a (patch)
tree09346214f26d6d5424885f84b8746f19419cb580 /dev-python/chardet/chardet-2.0.1-r1.ebuild
parentEnable multilib. (diff)
downloadgentoo-2-8aed14cb371eb66e92ece8df3d050817aa252c0a.tar.gz
gentoo-2-8aed14cb371eb66e92ece8df3d050817aa252c0a.tar.bz2
gentoo-2-8aed14cb371eb66e92ece8df3d050817aa252c0a.zip
Create S as a subdirectory of WORKDIR to work around bug 459096.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/chardet/chardet-2.0.1-r1.ebuild')
-rw-r--r--dev-python/chardet/chardet-2.0.1-r1.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-python/chardet/chardet-2.0.1-r1.ebuild b/dev-python/chardet/chardet-2.0.1-r1.ebuild
index 4819ad442d0f..88c42667dbdc 100644
--- a/dev-python/chardet/chardet-2.0.1-r1.ebuild
+++ b/dev-python/chardet/chardet-2.0.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/chardet-2.0.1-r1.ebuild,v 1.4 2013/01/18 16:30:27 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/chardet-2.0.1-r1.ebuild,v 1.5 2013/02/26 16:07:42 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} pypy{1_9,2_0} )
@@ -16,14 +16,20 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
-S=${WORKDIR}
HTML_DOCS=( docs/ )
+src_unpack() {
+ # Workaround for bug 459096.
+ mkdir ${P} || die
+ cd ${P} || die
+ unpack ${A}
+}
+
select_source() {
if [[ ${EPYTHON} == python3* ]]; then
- cd "${WORKDIR}/python3-${P}" || die
+ cd "${S}/python3-${P}" || die
else
- cd "${WORKDIR}/python2-${P}" || die
+ cd "${S}/python2-${P}" || die
fi
}