summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-07-08 14:55:42 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-07-08 14:55:42 +0000
commitb917b2b0ca6e003efd4c3c68b6a044ddf1ae1c1a (patch)
tree660774a827819459114689f4b55d4b306d140ff3 /sci-mathematics/relational/relational-0.11.ebuild
parentVersion bump to 2.6.3 , patch thanks to Tim Harder <radhermit@gmail.com> bug ... (diff)
downloadgentoo-2-b917b2b0ca6e003efd4c3c68b6a044ddf1ae1c1a.tar.gz
gentoo-2-b917b2b0ca6e003efd4c3c68b6a044ddf1ae1c1a.tar.bz2
gentoo-2-b917b2b0ca6e003efd4c3c68b6a044ddf1ae1c1a.zip
Version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/relational/relational-0.11.ebuild')
-rw-r--r--sci-mathematics/relational/relational-0.11.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/sci-mathematics/relational/relational-0.11.ebuild b/sci-mathematics/relational/relational-0.11.ebuild
new file mode 100644
index 000000000000..13dab3ed4ea3
--- /dev/null
+++ b/sci-mathematics/relational/relational-0.11.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/relational/relational-0.11.ebuild,v 1.1 2010/07/08 14:55:42 hwoarang Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+
+inherit python distutils eutils
+
+DESCRIPTION="Qt4 relational algebra application"
+HOMEPAGE="http://galileo.dmi.unict.it/wiki/relational/"
+# upstream url is not static
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="dev-python/PyQt4[webkit,X]
+ media-fonts/dejavu"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_compile() {
+ true
+}
+
+src_install() {
+ insinto "$(python_get_sitedir)/"
+ doins -r "${PN}_gui" || die "doins failed"
+ doins -r "${PN}" || die "doins failed"
+ newbin ${PN}_gui.py ${PN} || die "dobin failed"
+ domenu ${PN}.desktop || die "domenu failed"
+ dodoc CHANGELOG CREDITS README || die "dodoc failed"
+ doman ${PN}.1 || die "doman failed"
+}
+
+pkg_postinst() {
+ python_mod_optimize ${PN} ${PN}_gui
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${PN} ${PN}_gui
+}