Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/wxglade/
Date: Mon, 28 May 2018 18:22:16
Message-Id: 1527531723.fc49c5d4d99eb14aa661ef5f5ee1c7fbbecd2518.pacho@gentoo
1 commit: fc49c5d4d99eb14aa661ef5f5ee1c7fbbecd2518
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 28 18:21:30 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon May 28 18:22:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc49c5d4
7
8 dev-util/wxglade: Version bump
9
10 Package-Manager: Portage-2.3.38, Repoman-2.3.9
11
12 dev-util/wxglade/Manifest | 1 +
13 dev-util/wxglade/wxglade-0.8.2.ebuild | 49 +++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-util/wxglade/Manifest b/dev-util/wxglade/Manifest
17 index cdd1e14ba05..cb606a11017 100644
18 --- a/dev-util/wxglade/Manifest
19 +++ b/dev-util/wxglade/Manifest
20 @@ -1 +1,2 @@
21 DIST wxGlade-0.6.3.tar.gz 595243 BLAKE2B 748369ab08cb114c9fabf046a981dd955532b7752b176c616e9660fc74eade1db3b6bf08669f5373586880fe7798ff96a7ce588878ea129a7c9d7c76a8bc2e3e SHA512 7cb8cb99f2a3d97c2aa43a6ad5cbb8c1b6aafff0e5d120fca1760acbb44d2c8fb3bf8a4d5b42055e1b4bef061bfdbe8eee884f4e087b9d6572874b5b818a61f9
22 +DIST wxGlade-0.8.2.zip 4682765 BLAKE2B b9c6a0fe5ca89dce4ba8236c1db079df76777ecff34c00b9251088f39e5c853c8b775a2d941fa7f45a4f607354b85ab6cb26b387bd7e81f4db9cf458944fecc0 SHA512 d74f0b88509232b5f573af70f643af840c96e810060fdffc413f71ad03acca0fdb0324fefe43ab2a36473d8b053259099883d4aae51afff0c1c0b0ece492f9d7
23
24 diff --git a/dev-util/wxglade/wxglade-0.8.2.ebuild b/dev-util/wxglade/wxglade-0.8.2.ebuild
25 new file mode 100644
26 index 00000000000..399a943d73c
27 --- /dev/null
28 +++ b/dev-util/wxglade/wxglade-0.8.2.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python2_7 )
35 +
36 +inherit eutils python-single-r1
37 +
38 +MY_P="wxGlade-${PV}"
39 +
40 +DESCRIPTION="Glade-like GUI designer which can generate Python, Perl, C++ or XRC code"
41 +HOMEPAGE="http://wxglade.sourceforge.net/"
42 +SRC_URI="mirror://sourceforge/wxglade/${MY_P}.zip"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
47 +
48 +IUSE=""
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +RDEPEND="${PYTHON_DEPS}
52 + dev-python/wxpython:3.0[${PYTHON_USEDEP}]
53 +"
54 +DEPEND="${RDEPEND}"
55 +
56 +S="${WORKDIR}/${MY_P}"
57 +
58 +src_compile() {
59 + python_fix_shebang wxglade.py
60 +}
61 +
62 +src_install() {
63 + einstalldocs
64 +
65 + # Install a bigger icon
66 + newicon docs_old/html/mondrian_200x200.png ${PN}.png
67 +
68 + dodoc -r docs
69 + rm -r docs docs_old || die
70 +
71 + python_moduleinto /usr/lib/wxglade
72 + python_domodule .
73 + dosym /usr/share/doc/${PF}/docs /usr/lib/wxglade/docs
74 + fperms 775 /usr/lib/wxglade/wxglade.py
75 + dosym ../lib/wxglade/wxglade.py /usr/bin/wxglade
76 +
77 + make_desktop_entry wxglade wxGlade wxglade "Development;GUIDesigner"
78 +}