diff options
-rw-r--r-- | dev-util/wxglade/Manifest | 1 | ||||
-rw-r--r-- | dev-util/wxglade/wxglade-0.8.2.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/wxglade/Manifest b/dev-util/wxglade/Manifest index cdd1e14ba05f..cb606a11017f 100644 --- a/dev-util/wxglade/Manifest +++ b/dev-util/wxglade/Manifest @@ -1 +1,2 @@ DIST wxGlade-0.6.3.tar.gz 595243 BLAKE2B 748369ab08cb114c9fabf046a981dd955532b7752b176c616e9660fc74eade1db3b6bf08669f5373586880fe7798ff96a7ce588878ea129a7c9d7c76a8bc2e3e SHA512 7cb8cb99f2a3d97c2aa43a6ad5cbb8c1b6aafff0e5d120fca1760acbb44d2c8fb3bf8a4d5b42055e1b4bef061bfdbe8eee884f4e087b9d6572874b5b818a61f9 +DIST wxGlade-0.8.2.zip 4682765 BLAKE2B b9c6a0fe5ca89dce4ba8236c1db079df76777ecff34c00b9251088f39e5c853c8b775a2d941fa7f45a4f607354b85ab6cb26b387bd7e81f4db9cf458944fecc0 SHA512 d74f0b88509232b5f573af70f643af840c96e810060fdffc413f71ad03acca0fdb0324fefe43ab2a36473d8b053259099883d4aae51afff0c1c0b0ece492f9d7 diff --git a/dev-util/wxglade/wxglade-0.8.2.ebuild b/dev-util/wxglade/wxglade-0.8.2.ebuild new file mode 100644 index 000000000000..399a943d73c1 --- /dev/null +++ b/dev-util/wxglade/wxglade-0.8.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +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}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/wxpython:3.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + python_fix_shebang wxglade.py +} + +src_install() { + einstalldocs + + # Install a bigger icon + newicon docs_old/html/mondrian_200x200.png ${PN}.png + + dodoc -r docs + rm -r docs docs_old || die + + python_moduleinto /usr/lib/wxglade + python_domodule . + dosym /usr/share/doc/${PF}/docs /usr/lib/wxglade/docs + fperms 775 /usr/lib/wxglade/wxglade.py + dosym ../lib/wxglade/wxglade.py /usr/bin/wxglade + + make_desktop_entry wxglade wxGlade wxglade "Development;GUIDesigner" +} |