Added symlink to docs so tutorial would work.
authorRob Cakebread <pythonhead@gentoo.org>
Wed, 14 Jan 2004 00:26:15 +0000 (00:26 +0000)
committerRob Cakebread <pythonhead@gentoo.org>
Wed, 14 Jan 2004 00:26:15 +0000 (00:26 +0000)
dev-util/wxglade/Manifest
dev-util/wxglade/files/digest-wxglade-0.3.1-r1 [new file with mode: 0644]
dev-util/wxglade/metadata.xml
dev-util/wxglade/wxglade-0.3.1-r1.ebuild [new file with mode: 0644]

index 89be52245827305cb6099882d3cfa52547890257..8687a408c65e6e138438385b0c93570e4d65114e 100644 (file)
@@ -1,6 +1,6 @@
-MD5 d66b9b1a11043e92183ad489bf9b0dd2 ChangeLog 517
+MD5 d07abe63a08180582bbd4bfb83f516f7 ChangeLog 517
 MD5 4fca175f747a090fd2b7b8ce22fbc06d metadata.xml 162
 MD5 7ca306e5ba5eff65806bfa9d66d836c0 wxglade-0.3.1.ebuild 1009
-MD5 a655cbaafa7b96512a848ddf7debfb35 wxglade-0.3.1-r1.ebuild 1014
+MD5 8ddb345917732b10e37dbd1f3397b65d wxglade-0.3.1-r1.ebuild 1121
 MD5 e2d210765074f03bd2e2c5d2ce8f6b63 files/digest-wxglade-0.3.1 62
 MD5 e2d210765074f03bd2e2c5d2ce8f6b63 files/digest-wxglade-0.3.1-r1 62
diff --git a/dev-util/wxglade/files/digest-wxglade-0.3.1-r1 b/dev-util/wxglade/files/digest-wxglade-0.3.1-r1
new file mode 100644 (file)
index 0000000..da9e095
--- /dev/null
@@ -0,0 +1 @@
+MD5 6c3e859cb2932b9e28661d9a60ce56d5 wxGlade-0.3.1.tgz 353389
index de483c53568fa127e082f0a932b29dc573eb3ebf..f1dd0cd2050087863ccde247297f0015f926fef3 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>python</herd>
+<herd>wxwindows</herd>
 </pkgmetadata>
diff --git a/dev-util/wxglade/wxglade-0.3.1-r1.ebuild b/dev-util/wxglade/wxglade-0.3.1-r1.ebuild
new file mode 100644 (file)
index 0000000..4912954
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/wxglade/wxglade-0.3.1-r1.ebuild,v 1.1 2004/01/14 00:26:08 pythonhead Exp $
+
+S="${WORKDIR}/wxGlade-${PV}"
+DESCRIPTION="Glade-like GUI designer which can generate Python, Perl, C++ or XRC code"
+HOMEPAGE="http://wxglade.sourceforge.net/"
+SRC_URI="mirror://sourceforge/wxglade/wxGlade-${PV}.tgz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=dev-lang/python-2.2
+       >=dev-python/wxPython-2.4.2.4"
+
+src_install() {
+       PY_VER=`python -c 'import sys;print sys.version[0:3]'`
+       dodir /usr/lib/python${PY_VER}/site-packages/${PN}
+       dodoc *txt
+       cp credits.txt ${D}/usr/lib/python${PY_VER}/site-packages/${PN}/
+       dohtml -r docs/*
+       rm -rf docs *txt
+       mv examples ${D}/usr/share/doc/${PF}
+       cp -R * ${D}/usr/lib/python${PY_VER}/site-packages/${PN}/
+       dosym /usr/share/doc/${PF}/html /usr/lib/python${PY_VER}/site-packages/${PN}/docs
+       echo "#!/bin/bash" > wxglade
+       echo "/usr/lib/python${PY_VER}/site-packages/${PN}/wxglade.py" >> wxglade
+       exeinto /usr/bin
+       doexe wxglade
+}
+