summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-04-04 21:33:40 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-04-04 21:33:40 +0000
commitc2f70685bcd128eab6a43a69a2b17a81d092385c (patch)
tree3d082593f42f4159456e7cb8acf6d385511f01bb /dev-python/sip
parentadd arm keyword (diff)
downloadhistorical-c2f70685bcd128eab6a43a69a2b17a81d092385c.tar.gz
historical-c2f70685bcd128eab6a43a69a2b17a81d092385c.tar.bz2
historical-c2f70685bcd128eab6a43a69a2b17a81d092385c.zip
small fixes to pyver
Diffstat (limited to 'dev-python/sip')
-rw-r--r--dev-python/sip/sip-3.5.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-python/sip/sip-3.5.ebuild b/dev-python/sip/sip-3.5.ebuild
index 6a6dac517ef1..a0097dd65c3c 100644
--- a/dev-python/sip/sip-3.5.ebuild
+++ b/dev-python/sip/sip-3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-3.5.ebuild,v 1.7 2003/04/04 01:21:34 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-3.5.ebuild,v 1.8 2003/04/04 21:33:40 liquidx Exp $
IUSE=""
@@ -21,6 +21,7 @@ DEPEND="virtual/glibc
S=${WORKDIR}/${MY_P}
+
src_unpack() {
unpack ${A}
cd ${S}
@@ -28,19 +29,22 @@ src_unpack() {
}
src_compile(){
+ distutils_python_version
+
chmod +x build.py
dodir /usr/bin
- dodir /usr/lib/python${PY_VER}/site-packages
+ dodir /usr/lib/python${PYVER}/site-packages
python build.py -l qt-mt \
-b ${D}/usr/bin \
- -d ${D}/usr/lib/python${PY_VER}/site-packages \
- -e ${D}/usr/include/python${PY_VER}
+ -d ${D}/usr/lib/python${PYVER}/site-packages \
+ -e ${D}/usr/include/python${PYVER}
make || die
}
src_install() {
- dodir /usr/include/python${PY_VER}
+ distutils_python_version
+ dodir /usr/include/python${PYVER}
make DESTDIR=${D} install || die
dodoc NEWS README THANKS
}