diff options
author | Mart Raudsepp <leio@gentoo.org> | 2007-05-13 21:35:35 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2007-05-13 21:35:35 +0000 |
commit | 4e8d7e8163137ce71779fc01f00aea2ce0d7908a (patch) | |
tree | e41e8123934f39f569cdfbeeec48fd1fdaceb9d1 | |
parent | Fix FAQ link. (diff) | |
download | gentoo-2-4e8d7e8163137ce71779fc01f00aea2ce0d7908a.tar.gz gentoo-2-4e8d7e8163137ce71779fc01f00aea2ce0d7908a.tar.bz2 gentoo-2-4e8d7e8163137ce71779fc01f00aea2ce0d7908a.zip |
Version bump, bug 177171. Also install a desktop entry and handle python optimized files properly
(Portage version: 2.1.2.7)
-rw-r--r-- | dev-util/wxglade/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/wxglade/files/digest-wxglade-0.5 | 3 | ||||
-rw-r--r-- | dev-util/wxglade/wxglade-0.5.ebuild | 43 |
3 files changed, 53 insertions, 1 deletions
diff --git a/dev-util/wxglade/ChangeLog b/dev-util/wxglade/ChangeLog index cb713e4a5696..88973c5f1b7c 100644 --- a/dev-util/wxglade/ChangeLog +++ b/dev-util/wxglade/ChangeLog @@ -1,6 +1,12 @@ # 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.31 2007/05/13 16:08:15 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/wxglade/ChangeLog,v 1.32 2007/05/13 21:35:35 leio Exp $ + +*wxglade-0.5 (13 May 2007) + + 13 May 2007; Mart Raudsepp <leio@gentoo.org> +wxglade-0.5.ebuild: + Version bump, bug 177171. Also install a desktop entry and handle python + optimized files properly 13 May 2007; nixnut <nixnut@gentoo.org> wxglade-0.4.1.ebuild: Stable on ppc wrt bug 177753 diff --git a/dev-util/wxglade/files/digest-wxglade-0.5 b/dev-util/wxglade/files/digest-wxglade-0.5 new file mode 100644 index 000000000000..1321915ee043 --- /dev/null +++ b/dev-util/wxglade/files/digest-wxglade-0.5 @@ -0,0 +1,3 @@ +MD5 705855ef251053bd6b032bc5667cea19 wxGlade-0.5.tar.gz 536399 +RMD160 ba2243ddc1e9568aa9b5a128b7fef76721e31a3d wxGlade-0.5.tar.gz 536399 +SHA256 b5e5eec0296354e131ee4686cb010b2e67231359d3707d75ef9edc8f88c4f753 wxGlade-0.5.tar.gz 536399 diff --git a/dev-util/wxglade/wxglade-0.5.ebuild b/dev-util/wxglade/wxglade-0.5.ebuild new file mode 100644 index 000000000000..7b3b5105adc8 --- /dev/null +++ b/dev-util/wxglade/wxglade-0.5.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.5.ebuild,v 1.1 2007/05/13 21:35:35 leio 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/lib/python${PYVER}/site-packages/${PN} + dodoc CHANGES.txt README.txt TODO.txt credits.txt + cp credits.txt ${D}/usr/lib/python${PYVER}/site-packages/${PN}/ + dohtml -r docs/* + rm -rf docs *txt + cp -R * ${D}/usr/lib/python${PYVER}/site-packages/${PN}/ + dosym /usr/share/doc/${PF}/html /usr/lib/python${PYVER}/site-packages/${PN}/docs + echo "#!/bin/bash" > wxglade + echo "exec python /usr/lib/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 +} |