diff options
-rw-r--r-- | dev-python/PyQt4/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/PyQt4/Manifest | 16 | ||||
-rw-r--r-- | dev-python/PyQt4/PyQt4-4.0_beta1.ebuild | 59 | ||||
-rw-r--r-- | dev-python/PyQt4/files/digest-PyQt4-4.0_beta1 | 3 | ||||
-rw-r--r-- | dev-python/PyQt4/metadata.xml | 6 |
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-python/PyQt4/ChangeLog b/dev-python/PyQt4/ChangeLog new file mode 100644 index 000000000000..5e770170400f --- /dev/null +++ b/dev-python/PyQt4/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/PyQt4 +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.1 2006/05/05 17:07:56 caleb Exp $ + +*PyQt4-4.0_beta1 (05 May 2006) + + 05 May 2006; Caleb Tennis <caleb@gentoo.org> +metadata.xml, + +PyQt4-4.0_beta1.ebuild: + initial import, from bug #121554 + diff --git a/dev-python/PyQt4/Manifest b/dev-python/PyQt4/Manifest new file mode 100644 index 000000000000..026be679394c --- /dev/null +++ b/dev-python/PyQt4/Manifest @@ -0,0 +1,16 @@ +DIST PyQt4-gpl-4.0beta1.tar.gz 965140 RMD160 4048b60d98cff20b02b6e04a4169ae3a74616432 SHA256 7b240fc97c08f02cd688bfa8b9aec63f91af815efe9cbe4a65d4c967430cb7e2 size 965140 +EBUILD PyQt4-4.0_beta1.ebuild 1972 RMD160 049e2b9bc9b8ed36313bd0c7b497634a96d991c3 SHA1 4f01d50a2c61d828fe0d21c2a5100edf1f2bdd92 SHA256 96c86c5691e0c15d591862ee93e4ff2625bfab5a462b4b14246124b0b934e2cb size 1972 +MD5 c84311721ca02a1b7bde13e9baa79fd9 PyQt4-4.0_beta1.ebuild 1972 +RMD160 049e2b9bc9b8ed36313bd0c7b497634a96d991c3 PyQt4-4.0_beta1.ebuild 1972 +SHA256 96c86c5691e0c15d591862ee93e4ff2625bfab5a462b4b14246124b0b934e2cb PyQt4-4.0_beta1.ebuild 1972 +MISC ChangeLog 361 RMD160 4dcef2b2b56787be0b8c25fd735cade35d338c5f SHA1 9258f75bd5b818387b42498264afcae62076bc4e SHA256 af68a8819c3cbaf3492b254da1fc113fb80655691392b4cc1e06cd92f57e98cd size 361 +MD5 a364ae35a567e3644c0be25631c4d01a ChangeLog 361 +RMD160 4dcef2b2b56787be0b8c25fd735cade35d338c5f ChangeLog 361 +SHA256 af68a8819c3cbaf3492b254da1fc113fb80655691392b4cc1e06cd92f57e98cd ChangeLog 361 +MISC metadata.xml 175 RMD160 74ecde8b999da503a2733b49ed618d5d50d26476 SHA1 ec86e15b85c2bc4429ad67bb52238b44f2b16cbd SHA256 26b18db06b1665422af8905fb70f8f48920a048578172d62b9689e273ee39a2d size 175 +MD5 811c07ba7510a315382249fc3adb44fc metadata.xml 175 +RMD160 74ecde8b999da503a2733b49ed618d5d50d26476 metadata.xml 175 +SHA256 26b18db06b1665422af8905fb70f8f48920a048578172d62b9689e273ee39a2d metadata.xml 175 +MD5 ff3c6691dc0cf4c82721d465e85a2b6f files/digest-PyQt4-4.0_beta1 256 +RMD160 e0b5ce0ad7f69e137bead36e3f20f2d90991dded files/digest-PyQt4-4.0_beta1 256 +SHA256 1f88cdf6049cfc327c9d84aa3d81372dd0c54ccae078db809d45adf9057eb81d files/digest-PyQt4-4.0_beta1 256 diff --git a/dev-python/PyQt4/PyQt4-4.0_beta1.ebuild b/dev-python/PyQt4/PyQt4-4.0_beta1.ebuild new file mode 100644 index 000000000000..3db393b5a23c --- /dev/null +++ b/dev-python/PyQt4/PyQt4-4.0_beta1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.0_beta1.ebuild,v 1.1 2006/05/05 17:07:56 caleb Exp $ + +inherit distutils + +MY_P="PyQt4-gpl-${PV/_beta/beta}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="PyQt is a set of Python bindings for the Qt toolkit." +HOMEPAGE="http://www.riverbankcomputing.co.uk/pyqt/" +#SRC_URI="mirror://gentoo/${MY_P}.tar.gz" +SRC_URI="http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/${MY_P}.tar.gz" +#SRC_URI="http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt3/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="debug doc examples" + +RDEPEND="=x11-libs/qt-4* + >=dev-python/sip-4.4.3" +DEPEND="${RDEPEND} + sys-devel/libtool" + + +src_unpack() { + unpack ${A} + sed -i -e "s:^[ \t]*check_license():# check_license():" ${S}/configure.py + sed -i -e "s:join(qt_dir, \"mkspecs\":join(\"/usr/share/qt4\", \"mkspecs\":g" ${S}/configure.py + sed -i -e "s:\"QT_INSTALL_HEADERS\"\: os.path.join(qt_dir, \"include\":\"QT_INSTALL_HEADERS\"\: os.path.join(qt_dir, \"include/qt4\":g" ${S}/configure.py + sed -i -e "s:\"QT_INSTALL_LIBS\"\: os.path.join(qt_dir, \"lib\":\"QT_INSTALL_LIBS\"\: os.path.join(qt_dir, \"lib/qt4\":g" ${S}/configure.py +} + +src_compile() { + distutils_python_version + addpredict ${QTDIR}/etc/settings + + local myconf="-d ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/PyQt4 \ + -b ${ROOT}/usr/bin \ + -v ${ROOT}/usr/share/sip" #\ +# -n ${ROOT}/usr/include \ +# -o ${ROOT}/usr/$(get_libdir) \ +# -w -y qt-mt" + use debug && myconf="${myconf} -u" + + python configure.py ${myconf} + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + dodoc ChangeLog LICENSE NEWS README README.Linux THANKS + use doc && dohtml doc/PyQt.html + if use examples ; then + dodir /usr/share/doc/${PF}/examples + cp -r examples3/* ${D}/usr/share/doc/${PF}/examples + fi +} diff --git a/dev-python/PyQt4/files/digest-PyQt4-4.0_beta1 b/dev-python/PyQt4/files/digest-PyQt4-4.0_beta1 new file mode 100644 index 000000000000..b561287d742a --- /dev/null +++ b/dev-python/PyQt4/files/digest-PyQt4-4.0_beta1 @@ -0,0 +1,3 @@ +MD5 cfe54d81bbcbca7d4b6f1ac8893e47ad PyQt4-gpl-4.0beta1.tar.gz 965140 +RMD160 4048b60d98cff20b02b6e04a4169ae3a74616432 PyQt4-gpl-4.0beta1.tar.gz 965140 +SHA256 7b240fc97c08f02cd688bfa8b9aec63f91af815efe9cbe4a65d4c967430cb7e2 PyQt4-gpl-4.0beta1.tar.gz 965140 diff --git a/dev-python/PyQt4/metadata.xml b/dev-python/PyQt4/metadata.xml new file mode 100644 index 000000000000..a789e7bbe9ee --- /dev/null +++ b/dev-python/PyQt4/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +<herd>qt</herd> +</pkgmetadata> |