diff options
author | Caleb Tennis <caleb@gentoo.org> | 2003-10-03 14:10:34 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2003-10-03 14:10:34 +0000 |
commit | 092fa27d4b081076e872ea320171a1fce9b12612 (patch) | |
tree | b494344bae1f8c5366ae6bd7e1897f9ca47019bc /dev-python/PyQt | |
parent | new version (diff) | |
download | historical-092fa27d4b081076e872ea320171a1fce9b12612.tar.gz historical-092fa27d4b081076e872ea320171a1fce9b12612.tar.bz2 historical-092fa27d4b081076e872ea320171a1fce9b12612.zip |
new version
Diffstat (limited to 'dev-python/PyQt')
-rw-r--r-- | dev-python/PyQt/Manifest | 4 | ||||
-rw-r--r-- | dev-python/PyQt/PyQt-3.8.1.ebuild | 59 | ||||
-rw-r--r-- | dev-python/PyQt/files/digest-PyQt-3.8.1 | 1 | ||||
-rw-r--r-- | dev-python/PyQt/files/license-3.8.1.diff | 33 |
4 files changed, 95 insertions, 2 deletions
diff --git a/dev-python/PyQt/Manifest b/dev-python/PyQt/Manifest index c0d3f3a67f55..84b419f0447b 100644 --- a/dev-python/PyQt/Manifest +++ b/dev-python/PyQt/Manifest @@ -3,8 +3,8 @@ MD5 2e30dd8f945dfb6f14951ced3cad1ae9 PyQt-3.7.ebuild 1436 MD5 657e3333c78cead88a14142104e5efee PyQt-3.6-r1.ebuild 1457 MD5 d9c770222974ab65ac157d4917ee296c PyQt-3.6.ebuild 1454 MD5 de479aa5e28c5e053877d3c650df7554 PyQt-3.5-r1.ebuild 1379 -MD5 e0ab6466ea1ba3916c6e51a18855cc15 PyQt-3.8.1.ebuild 1455 -MD5 b5bd377b8c6f64af35365465da535eca ChangeLog 2739 +MD5 f65d15c720003b3e128b722275163a0c PyQt-3.8.1.ebuild 1550 +MD5 b258943f54c4b57d04363b055da9f174 ChangeLog 2847 MD5 68cdd1ba7ae1a93ddeb886092f60ac82 PyQt-3.8.ebuild 1437 MD5 811c07ba7510a315382249fc3adb44fc metadata.xml 175 MD5 94164eef52f16b805d3c252c02100d11 files/qt3.1.2-compilation-fix-3.5.diff 2151 diff --git a/dev-python/PyQt/PyQt-3.8.1.ebuild b/dev-python/PyQt/PyQt-3.8.1.ebuild new file mode 100644 index 000000000000..fda3085c1421 --- /dev/null +++ b/dev-python/PyQt/PyQt-3.8.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt/PyQt-3.8.1.ebuild,v 1.1 2003/10/03 14:10:31 caleb Exp $ + +inherit eutils distutils + +IUSE="" + +S="${WORKDIR}/PyQt-x11-gpl-${PV}" + +DESCRIPTION="set of Python bindings for the QT 3.x Toolkit" +SRC_URI="http://www.river-bank.demon.co.uk/download/PyQt/PyQt-x11-gpl-${PV}.tar.gz" +HOMEPAGE="http://www.riverbankcomputing.co.uk/pyqt/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" +RESTRICT="nomirror" + +PV_MAJOR=${PV/.*/} +PV_MINOR=${PV#${PV_MAJOR}.} +PV_MINOR=${PV_MINOR/.*} + +DEPEND="virtual/glibc + sys-devel/libtool + x11-libs/qt + dev-lang/python + =dev-python/sip-${PV_MAJOR}.${PV_MINOR}* + >=dev-python/qscintilla-1.53" + +src_unpack() { + unpack PyQt-x11-gpl-${PV}.tar.gz + cd ${S} + epatch $FILESDIR/license-${PV}.diff +} + +src_compile() { + + distutils_python_version + # standard qt sandbox problem workaround + [ -d "$QTDIR/etc/settings" ] && addwrite "$QTDIR/etc/settings" + dodir /usr/lib/python${PYVER}/site-packages + dodir /usr/include/python${PYVER} + python build.py \ + -d ${D}/usr/lib/python${PYVER}/site-packages \ + -e /usr/include/python${PYVER} \ + -b ${D}/usr/bin \ + -l qt-mt -c + make || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc README.Linux NEWS LICENSE README ChangeLog THANKS + dodir /usr/share/doc/${P}/ + mv ${D}/usr/share/doc/* ${D}/usr/share/doc/${P}/ + # I found out this location from the redhat rpm + insinto /usr/share/sip/qt + doins ${S}/sip/* +} diff --git a/dev-python/PyQt/files/digest-PyQt-3.8.1 b/dev-python/PyQt/files/digest-PyQt-3.8.1 new file mode 100644 index 000000000000..ae65b19a75b0 --- /dev/null +++ b/dev-python/PyQt/files/digest-PyQt-3.8.1 @@ -0,0 +1 @@ +MD5 bde37288aea521b9981cc8a193707932 PyQt-x11-gpl-3.8.1.tar.gz 743691 diff --git a/dev-python/PyQt/files/license-3.8.1.diff b/dev-python/PyQt/files/license-3.8.1.diff new file mode 100644 index 000000000000..bce72604c1f0 --- /dev/null +++ b/dev-python/PyQt/files/license-3.8.1.diff @@ -0,0 +1,33 @@ +--- build.py.orig 2003-09-19 03:04:28.000000000 +0200 ++++ build.py 2003-09-19 03:05:25.000000000 +0200 +@@ -710,30 +710,6 @@ + licType = "GPL" + licname = "GNU General Public License" + +- inform("This is the %s version of PyQt and is licensed under the %s." % (licType,licname),0) +- +- print +- print "Type 'L' to view the license." +- print "Type 'yes' to accept the terms of the license." +- print "Type 'no' to decline the terms of the license." +- print +- +- while 1: +- try: +- resp = raw_input("Do you accept the terms of the license? ") +- except: +- resp = "" +- +- resp = string.lower(string.strip(resp)) +- +- if resp == "yes": +- break +- +- if resp == "no": +- sys.exit(0) +- +- if resp == "l": +- os.system("more LICENSE") + + inform("Building the %s version of PyQt 3.8.1 for Python %s on %s." % (licType,pyFullVers,sys.platform)) + |