summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2003-10-10 01:16:04 +0000
committerCaleb Tennis <caleb@gentoo.org>2003-10-10 01:16:04 +0000
commit37725f7deda6bf7a9619da7458db6e1cde1e22d7 (patch)
tree15ddeafe933c821e02b7536c549ce6c644db2c87 /dev-python/pykde
parentfix a typo - rev bump (diff)
downloadgentoo-2-37725f7deda6bf7a9619da7458db6e1cde1e22d7.tar.gz
gentoo-2-37725f7deda6bf7a9619da7458db6e1cde1e22d7.tar.bz2
gentoo-2-37725f7deda6bf7a9619da7458db6e1cde1e22d7.zip
fix a typo - rev bump
Diffstat (limited to 'dev-python/pykde')
-rw-r--r--dev-python/pykde/ChangeLog5
-rw-r--r--dev-python/pykde/Manifest6
-rw-r--r--dev-python/pykde/files/digest-pykde-3.7.4-r21
-rw-r--r--dev-python/pykde/pykde-3.7.4-r2.ebuild80
4 files changed, 88 insertions, 4 deletions
diff --git a/dev-python/pykde/ChangeLog b/dev-python/pykde/ChangeLog
index 8c1e1dfccd82..09dac767ab09 100644
--- a/dev-python/pykde/ChangeLog
+++ b/dev-python/pykde/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pykde
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pykde/ChangeLog,v 1.7 2003/10/02 16:00:48 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pykde/ChangeLog,v 1.8 2003/10/10 01:15:49 caleb Exp $
+
+ 09 Oct 2003; Caleb Tennis <caleb@gentoo.org> pykde-3.7.4-r1.ebuild:
+ fix a typo in the ebuild, revision bump (See Bug 30757)
*pykde-3.7.4-r1 (02 Oct 2003)
diff --git a/dev-python/pykde/Manifest b/dev-python/pykde/Manifest
index 012456971d58..de806ca0790c 100644
--- a/dev-python/pykde/Manifest
+++ b/dev-python/pykde/Manifest
@@ -1,8 +1,8 @@
MD5 34d1b3d1a9a6eda3698ca83e7f984dcb pykde-3.7.4.ebuild 1402
-MD5 3a3eb84ca4b87a15eeb8335120b5d3a1 pykde-3.7.4-r1.ebuild 2156
+MD5 34eb3b158483b3995af2111ced859724 pykde-3.7.4-r1.ebuild 2160
MD5 a0625a76afe55737a25000a235bc0a4d pykde-3.5.2.ebuild 1234
-MD5 3a3eb84ca4b87a15eeb8335120b5d3a1 pykde-3.7.4-r2.ebuild 2156
-MD5 e4c475dd68c9aa434915df7b6f62ef67 ChangeLog 1241
+MD5 b99dc964601b845a0757f117e03965c0 pykde-3.7.4-r2.ebuild 2156
+MD5 659cda04d2c3a822be6bd0f4ee1062b7 ChangeLog 1370
MD5 8ffc620e0c006abd05da325a3f888251 metadata.xml 182
MD5 0724bcacc7dc67d7071ec4a38828db1a files/digest-pykde-3.5.2 63
MD5 9964a12f8d0110947df654b5969e69e1 files/digest-pykde-3.7.4 63
diff --git a/dev-python/pykde/files/digest-pykde-3.7.4-r2 b/dev-python/pykde/files/digest-pykde-3.7.4-r2
new file mode 100644
index 000000000000..238ea35a5cd4
--- /dev/null
+++ b/dev-python/pykde/files/digest-pykde-3.7.4-r2
@@ -0,0 +1 @@
+MD5 871740c95c572ade9d0299ef0830656a PyKDE-3.7-4.tar.gz 630256
diff --git a/dev-python/pykde/pykde-3.7.4-r2.ebuild b/dev-python/pykde/pykde-3.7.4-r2.ebuild
new file mode 100644
index 000000000000..f3e5859754a4
--- /dev/null
+++ b/dev-python/pykde/pykde-3.7.4-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pykde/pykde-3.7.4-r2.ebuild,v 1.1 2003/10/10 01:15:49 caleb Exp $
+
+inherit eutils distutils
+
+MAJ_PV=${PV%.[0-9]*}
+MIN_PV=${PV##*[0-9].}
+MY_PN="PyKDE"
+MY_P=${MY_PN}-${MAJ_PV}-${MIN_PV}
+
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="set of Python bindings for the KDE libs"
+SRC_URI="http://www.river-bank.demon.co.uk/download/PyKDE2/${MY_P}.tar.gz"
+HOMEPAGE="http://www.riverbankcomputing.co.uk/pykde/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc
+ sys-devel/libtool
+ >=dev-lang/python-2.2.1
+ >=dev-python/sip-3.6
+ >=dev-python/PyQt-3.6
+ >=kde-base/kdelibs-3.0.4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # bug #27401 and 27619
+ distutils_python_version
+ if [ "${PYVER}" = "2.3" ]; then
+ if [ "${KDEDIR}" = "/usr/kde/3" ]; then
+ mv ${S}/sip/global.sip ${S}/sip/global.sip22
+ mv ${S}/sip/global.sip23 ${S}/sip/global/sip
+ else
+ mv ${S}/sip/kzip.sip ${S}/sip/kzip.sip22
+ mv ${S}/sip/kzip.sip23 ${S}/sip/kzip.sip
+ fi
+ fi
+
+ PYQTVER="$(pyuic -version 2>&1 )"
+ PYQTVER="${PYQTVER#Python User Interface Compiler }"
+ PYQTVER="${PYQTVER% for Qt version *}"
+ PYQTVER_MAJOR=${PYQTVER/.*/}
+ PYQTVER_MINOR=${PYQTVER#${PYQTVER_MAJOR}.}
+ PYQTVER_MINOR=${PYQTVER_MINOR/.*}
+
+ if [ "${PYQTVER_MAJOR}.${PYQTVER_MINOR}" = "3.8" ]; then
+ local x="${S}/build.py"
+ echo PyQt 3.8 detected.
+ echo Running sed on $x
+ cp $x ${x}.orig
+ sed -e 's/Release = "3.7"/Release = "3.8"/' ${x}.orig >${x}
+ rm ${x}.orig
+ fi
+}
+
+src_compile() {
+ dodir /usr/lib/python${PYVER}/site-packages
+ dodir /usr/include/python${PYVER}
+ python build.py \
+ -d ${D}/usr/lib/python${PYVER}/site-packages \
+ -s /usr/lib/python${PYVER}/site-packages \
+ -o ${KDEDIR}/lib \
+ -c+ -l qt-mt -v /usr/share/sip/qt || die
+ make || die
+}
+
+src_install() {
+ distutils_python_version
+
+ dodir /usr/lib/python${PYVER}/site-packages
+ make DESTDIR=${D} install || die
+ dodoc ChangeLog AUTHORS THANKS README NEWS COPYING DETAILS BUGS README.importTest
+ dodir /usr/share/doc/${PF}/
+ mv ${D}/usr/share/doc/* ${D}/usr/share/doc/${PF}/
+}