summaryrefslogtreecommitdiff
path: root/dev-util/wxglade
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/wxglade
reinit the tree, so we can have metadata
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
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-util/wxglade/Manifest b/dev-util/wxglade/Manifest
new file mode 100644
index 000000000000..e830be78d6b6
--- /dev/null
+++ b/dev-util/wxglade/Manifest
@@ -0,0 +1,6 @@
+AUX wxglade-0.6.3-wxversion.patch 357 SHA256 95de2623e3cb79b71d7595d8fa48fb91b2dde220ddeca33e58db16c9abe02191 SHA512 6a3ab0d1365d7c511d3d360a95ded27abb4eebc1cf605712603934134c6da96d8d2fe4aea71c9b6d3a2fa1b0ff280f3cfc1b9198608b1e7b6a450ac7b62b06b0 WHIRLPOOL 6d474c31b6cab81d81915a26b61cbd950c125e3b9999555ef3f5d56d0a7470b73aee18b9402e6ca309acb4dc3f158034b6f6aadec14a932d3bd46321e1bb8cf0
+DIST wxGlade-0.6.3.tar.gz 595243 SHA256 28f0a15a8eb4d16039a1981bdcdc74bed12b595a4de8c11cf068b970fb80a68d SHA512 7cb8cb99f2a3d97c2aa43a6ad5cbb8c1b6aafff0e5d120fca1760acbb44d2c8fb3bf8a4d5b42055e1b4bef061bfdbe8eee884f4e087b9d6572874b5b818a61f9 WHIRLPOOL d7af96614f12216c74af0120012925284408b59eb46c2379de4b3080d5fcad73b1e369c01944505bfe271d238e6d32dae54ffa2b377a48adffa4ff62e905a6ba
+EBUILD wxglade-0.6.3-r3.ebuild 1127 SHA256 6cb50e73b250428dc5809003596d2944dfe62a747a5c214df45dc9a09e137a40 SHA512 60d54c5d1d36570b65a0319f99bb0921ef1f35c5e742d0cf060871ed36a58a178e37858d087c4be14540a48564bbc1dd6f774cd6a5a0523928a8711057171c6c WHIRLPOOL d5a09df5b0bb7d469547b02e28d4b3b3d9315d8c1cd96c3d207dc71c4060565b32c68819227592461318c14af638f5450947964f3df02c9f05677ea943cab427
+MISC ChangeLog 2473 SHA256 1b4fa8e90fec827b7c596a9335d70fd292c8bcb28d93e3828b0dfbe9e8abf828 SHA512 aebe6cef3ed8fa626c41e74ec69931e3c7a74933545da39baeb997c01d7c159c07e29575790e5cfd387bc5d04d5890a0e254ca09565e25bf3ce88a847f6d0a07 WHIRLPOOL 717a30bb290557ade9d34c82afa255a07898d63b15eae809b24e46a7442de8eecdc6d137f95399d00a288d97182788c1acb1674348ee575e24ba63720c07835b
+MISC ChangeLog-2015 7685 SHA256 bed74e0cf249d4f50c284a5d7377347253943cadcf1ca4ea0160b0832b871f24 SHA512 301978cd0b5d8cca9272e75ee78c9ccd2a4c02ab580b57babfc435a8cb3fff390783bc15ef2703feec298dcaac83622306f9352120cc225da1f027e826e35c4d WHIRLPOOL 8ed55ca6833d6ff36f8cdc26db0fcb138d577b5a476ba8c0706030642ad5e98d65524f17e14e278c60e0170fafe48027a3d734a4b68f80a80ac7b8025cc2ac7a
+MISC metadata.xml 338 SHA256 4cd21f7e3c69145af2dd420ce15a06be450c80f837733c41146ab6ec6d551734 SHA512 a5c2365b0607137be3ea999914329a9ffb3390065163f1f4bc818247ee9d8bfb7b4494c533f739870a31bd5ee484b9ff4199f279a9202708c1742513b0a48b97 WHIRLPOOL edc4740d59ab452db45f19fb4ad359cb71319e74720608ea10064e3e6436781a6dd8026b9c704f40cb0c341ddc16bc321b23cb06f9bf50d06eb05796d1e98b44
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"
+}