summaryrefslogtreecommitdiff
path: root/dev-util/wxglade
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/wxglade')
-rw-r--r--dev-util/wxglade/Manifest6
-rw-r--r--dev-util/wxglade/files/wxglade-0.6.3-wxversion.patch12
-rw-r--r--dev-util/wxglade/metadata.xml11
-rw-r--r--dev-util/wxglade/wxglade-0.6.3-r3.ebuild48
-rw-r--r--dev-util/wxglade/wxglade-0.8.2.ebuild51
5 files changed, 128 insertions, 0 deletions
diff --git a/dev-util/wxglade/Manifest b/dev-util/wxglade/Manifest
new file mode 100644
index 000000000000..717457158fc4
--- /dev/null
+++ b/dev-util/wxglade/Manifest
@@ -0,0 +1,6 @@
+AUX wxglade-0.6.3-wxversion.patch 357 BLAKE2B bd9f6ca3ad8b33d8f152aa067617cdee4b9b2e9302f7585ce9dfe84f7ac3c2c4cb5fbe0719eff92c61bb918a616a03a058a13e7efe6bfba404cf71bd4c165914 SHA512 6a3ab0d1365d7c511d3d360a95ded27abb4eebc1cf605712603934134c6da96d8d2fe4aea71c9b6d3a2fa1b0ff280f3cfc1b9198608b1e7b6a450ac7b62b06b0
+DIST wxGlade-0.6.3.tar.gz 595243 BLAKE2B 748369ab08cb114c9fabf046a981dd955532b7752b176c616e9660fc74eade1db3b6bf08669f5373586880fe7798ff96a7ce588878ea129a7c9d7c76a8bc2e3e SHA512 7cb8cb99f2a3d97c2aa43a6ad5cbb8c1b6aafff0e5d120fca1760acbb44d2c8fb3bf8a4d5b42055e1b4bef061bfdbe8eee884f4e087b9d6572874b5b818a61f9
+DIST wxGlade-0.8.2.zip 4682765 BLAKE2B b9c6a0fe5ca89dce4ba8236c1db079df76777ecff34c00b9251088f39e5c853c8b775a2d941fa7f45a4f607354b85ab6cb26b387bd7e81f4db9cf458944fecc0 SHA512 d74f0b88509232b5f573af70f643af840c96e810060fdffc413f71ad03acca0fdb0324fefe43ab2a36473d8b053259099883d4aae51afff0c1c0b0ece492f9d7
+EBUILD wxglade-0.6.3-r3.ebuild 1127 BLAKE2B abd1d19ce4d1668354f3e1c4607efa6b446d5af0703ab60cdb583d0807596327a2bf68fcf15726a424b620148aa8032c2b8025f7a6abd42be6da1d9e32ffc743 SHA512 60d54c5d1d36570b65a0319f99bb0921ef1f35c5e742d0cf060871ed36a58a178e37858d087c4be14540a48564bbc1dd6f774cd6a5a0523928a8711057171c6c
+EBUILD wxglade-0.8.2.ebuild 1101 BLAKE2B 25326cd03c46e54954bf83618bf898439115977fcf191a135522acd3b8aaab437d483545bf53a507da067abaf24f0347055584c843b4e7b1b65256a4424ea71f SHA512 9609d6234b87d9f7c39bdfa24b9858fd538b3b1ea941e14875871384ff294339355dbd520abf6230b24320872896035ffe5e600b7bc1a684985d8e8a65493aec
+MISC metadata.xml 338 BLAKE2B 646f91107076526a1d1e8c838869a20f69f0a13ed96a209ede0fedc8b10151ee18becd720646193994281de671a7d51ae7dc99c8652acda63bc73e72c6e57d33 SHA512 a5c2365b0607137be3ea999914329a9ffb3390065163f1f4bc818247ee9d8bfb7b4494c533f739870a31bd5ee484b9ff4199f279a9202708c1742513b0a48b97
diff --git a/dev-util/wxglade/files/wxglade-0.6.3-wxversion.patch b/dev-util/wxglade/files/wxglade-0.6.3-wxversion.patch
new file mode 100644
index 000000000000..f788e0bff492
--- /dev/null
+++ b/dev-util/wxglade/files/wxglade-0.6.3-wxversion.patch
@@ -0,0 +1,12 @@
+diff -Naur wxGlade-0.6.1-orig/main.py wxGlade-0.6.1/main.py
+--- wxGlade-0.6.1/main.py 2007-10-25 01:03:22.000000000 -0600
++++ wxGlade-0.6.1/main.py 2007-12-04 09:36:20.000000000 -0600
+@@ -7,7 +7,7 @@
+ # THIS PROGRAM COMES WITH NO WARRANTY
+
+ import wxversion
+-wxversion.ensureMinimal("2.6")
++wxversion.select("2.8")
+
+ #from wxPython.wx import *
+ import wx
diff --git a/dev-util/wxglade/metadata.xml b/dev-util/wxglade/metadata.xml
new file mode 100644
index 000000000000..a2cf0a120bb2
--- /dev/null
+++ b/dev-util/wxglade/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>wxwidgets@gentoo.org</email>
+ <name>Gentoo wxWidgets Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">wxglade</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/wxglade/wxglade-0.6.3-r3.ebuild b/dev-util/wxglade/wxglade-0.6.3-r3.ebuild
new file mode 100644
index 000000000000..e307c940a1e8
--- /dev/null
+++ b/dev-util/wxglade/wxglade-0.6.3-r3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/wxpython:2.8[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${P}-wxversion.patch )
+
+src_compile() {
+ python_fix_shebang wxglade.py
+}
+
+src_install() {
+ dodoc CHANGES.txt README.txt TODO.txt
+ newicon icons/icon.xpm wxglade.xpm
+ doman debian/wxglade.1
+ dodoc -r docs
+ rm -r debian docs || 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"
+}
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..98df5e4d387e
--- /dev/null
+++ b/dev-util/wxglade/wxglade-0.8.2.ebuild
@@ -0,0 +1,51 @@
+# 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}"
+
+RESTRICT="test" #656934
+
+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"
+}