summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/wxglade/ChangeLog7
-rw-r--r--dev-util/wxglade/files/digest-wxglade-0.6.13
-rw-r--r--dev-util/wxglade/wxglade-0.6.1.ebuild43
3 files changed, 52 insertions, 1 deletions
diff --git a/dev-util/wxglade/ChangeLog b/dev-util/wxglade/ChangeLog
index fa55c482a62d..6d8fc9ee38f4 100644
--- a/dev-util/wxglade/ChangeLog
+++ b/dev-util/wxglade/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/wxglade
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/wxglade/ChangeLog,v 1.37 2007/10/03 04:17:18 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/wxglade/ChangeLog,v 1.38 2007/10/29 02:44:18 dirtyepic Exp $
+
+*wxglade-0.6.1 (29 Oct 2007)
+
+ 29 Oct 2007; Ryan Hill <dirtyepic@gentoo.org> +wxglade-0.6.1.ebuild:
+ Version bump.
03 Oct 2007; Ryan Hill <dirtyepic@gentoo.org> wxglade-0.4.1.ebuild,
-wxglade-0.5.ebuild:
diff --git a/dev-util/wxglade/files/digest-wxglade-0.6.1 b/dev-util/wxglade/files/digest-wxglade-0.6.1
new file mode 100644
index 000000000000..ec8503d2f1db
--- /dev/null
+++ b/dev-util/wxglade/files/digest-wxglade-0.6.1
@@ -0,0 +1,3 @@
+MD5 2594cbbe6609119b803c1e0d38ad9289 wxGlade-0.6.1.tar.gz 582089
+RMD160 3ac92508766c7975e2d34ed5e5b400568b37afe6 wxGlade-0.6.1.tar.gz 582089
+SHA256 06c163a98bf1bac449a4281d0082c1766ea860ff2fe68d63492412b001a76c8a wxGlade-0.6.1.tar.gz 582089
diff --git a/dev-util/wxglade/wxglade-0.6.1.ebuild b/dev-util/wxglade/wxglade-0.6.1.ebuild
new file mode 100644
index 000000000000..3010781f11d4
--- /dev/null
+++ b/dev-util/wxglade/wxglade-0.6.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/wxglade/wxglade-0.6.1.ebuild,v 1.1 2007/10/29 02:44:18 dirtyepic Exp $
+
+inherit python multilib eutils
+
+MY_P="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/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+S="${WORKDIR}/${MY_P}"
+DEPEND=">=dev-lang/python-2.3
+ =dev-python/wxpython-2.6*"
+
+src_install() {
+ python_version
+ dodir /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+ dodoc CHANGES.txt README.txt TODO.txt credits.txt
+ cp credits.txt "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/
+ dohtml -r docs/*
+ rm -rf docs *txt
+ cp -R * "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/
+ dosym /usr/share/doc/${PF}/html /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/docs
+ echo "#!/bin/bash" > wxglade
+ echo "exec python /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/wxglade.py \$*" >> wxglade
+ exeinto /usr/bin
+ doexe wxglade
+ insinto /usr/share/pixmaps
+ newins icons/icon.xpm wxglade.xpm
+ make_desktop_entry wxglade wxGlade wxglade "Development;GUIDesigner"
+}
+
+pkg_postinst() {
+ python_mod_optimize "${ROOT}"usr/$(get_libdir)/python*/site-packages/wxglade
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${ROOT}"usr/$(get_libdir)/python*/site-packages/wxglade
+}