From 5a9a37ab1a5feedb7b109d91eaf108c9233b19d6 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 17 Dec 2009 15:13:57 +0000 Subject: Initial commit of relational package ( bug #264419 ) (Portage version: 2.2_rc59/cvs/Linux x86_64) --- sci-mathematics/relational/ChangeLog | 9 +++++ sci-mathematics/relational/metadata.xml | 8 ++++ sci-mathematics/relational/relational-0.10.ebuild | 47 +++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 sci-mathematics/relational/ChangeLog create mode 100644 sci-mathematics/relational/metadata.xml create mode 100644 sci-mathematics/relational/relational-0.10.ebuild diff --git a/sci-mathematics/relational/ChangeLog b/sci-mathematics/relational/ChangeLog new file mode 100644 index 000000000000..ff2a96ea6fea --- /dev/null +++ b/sci-mathematics/relational/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-mathematics/relational +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/relational/ChangeLog,v 1.1 2009/12/17 15:13:57 hwoarang Exp $ + +*relational-0.10 (17 Dec 2009) + + 17 Dec 2009; +relational-0.10.ebuild, +metadata.xml: + Initial commit of relational package ( bug #264419 ) + diff --git a/sci-mathematics/relational/metadata.xml b/sci-mathematics/relational/metadata.xml new file mode 100644 index 000000000000..1d7818888617 --- /dev/null +++ b/sci-mathematics/relational/metadata.xml @@ -0,0 +1,8 @@ + + + +qt + + + + diff --git a/sci-mathematics/relational/relational-0.10.ebuild b/sci-mathematics/relational/relational-0.10.ebuild new file mode 100644 index 000000000000..5bb521f01364 --- /dev/null +++ b/sci-mathematics/relational/relational-0.10.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/relational/relational-0.10.ebuild,v 1.1 2009/12/17 15:13:57 hwoarang Exp $ + +EAPI="2" + +inherit python distutils eutils + +DESCRIPTION="Qt4 relational algebra application" +HOMEPAGE="http://qt-apps.org/content/show.php/Relational?content=86178" +# upstream url is not static +SRC_URI="http://dev.gentooexperimental.org/~hwoarang/distfiles/${PN}_${PV}.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}" + +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_version + python_mod_optimize $(python_get_sitedir)/${PN}/ + python_mod_optimize $(python_get_sitedir)/${PN}_gui/ +} + +pkg_postrm() { + python_mod_cleanup +} -- cgit v1.2.3-65-gdbad