summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2009-06-05 17:13:15 +0000
committerAndrey Grozin <grozin@gentoo.org>2009-06-05 17:13:15 +0000
commite6c3660faea75fae9baf0dd4144170996efc2318 (patch)
treeba6801761d20b24862851092fccb96d8ac04315c
parentstable sparc, bug 268581 (diff)
downloadgentoo-2-e6c3660faea75fae9baf0dd4144170996efc2318.tar.gz
gentoo-2-e6c3660faea75fae9baf0dd4144170996efc2318.tar.bz2
gentoo-2-e6c3660faea75fae9baf0dd4144170996efc2318.zip
Version bump, fixed USE-deps on PyQt4 (bug #272186)
(Portage version: 2.2_rc33/cvs/Linux i686)
-rw-r--r--sci-visualization/veusz/ChangeLog8
-rw-r--r--sci-visualization/veusz/files/veusz.desktop2
-rw-r--r--sci-visualization/veusz/veusz-1.2.1.ebuild32
-rw-r--r--sci-visualization/veusz/veusz-1.4.ebuild (renamed from sci-visualization/veusz/veusz-1.3.ebuild)29
4 files changed, 32 insertions, 39 deletions
diff --git a/sci-visualization/veusz/ChangeLog b/sci-visualization/veusz/ChangeLog
index f72788e701f4..fcc59bb29c18 100644
--- a/sci-visualization/veusz/ChangeLog
+++ b/sci-visualization/veusz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-visualization/veusz
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.13 2009/02/27 14:56:55 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.14 2009/06/05 17:13:14 grozin Exp $
+
+*veusz-1.4 (05 Jun 2009)
+
+ 05 Jun 2009; Andrey Grozin <grozin@gentoo.org> -veusz-1.2.1.ebuild,
+ -veusz-1.3.ebuild, +veusz-1.4.ebuild:
+ Version bump, fixed USE-deps on PyQt4 (bug #272186)
*veusz-1.3-r1 (27 Feb 2009)
diff --git a/sci-visualization/veusz/files/veusz.desktop b/sci-visualization/veusz/files/veusz.desktop
index 5c00781b2059..c4780f047e7b 100644
--- a/sci-visualization/veusz/files/veusz.desktop
+++ b/sci-visualization/veusz/files/veusz.desktop
@@ -2,7 +2,7 @@
Name=Veusz
GenericName=Veusz scientific plotting
Comment=For graphing and manipulation of scientific data
-MimeType=application/x-veusz
+MimeType=application/x-veusz;
Exec=veusz %F
Icon=veusz
Terminal=false
diff --git a/sci-visualization/veusz/veusz-1.2.1.ebuild b/sci-visualization/veusz/veusz-1.2.1.ebuild
deleted file mode 100644
index ce37002315c0..000000000000
--- a/sci-visualization/veusz/veusz-1.2.1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.2.1.ebuild,v 1.1 2008/12/03 12:20:19 bicatali Exp $
-
-inherit distutils
-
-DESCRIPTION="Qt based scientific plotting package with good Postscript output"
-HOMEPAGE="http://home.gna.org/veusz/"
-SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
-
-IUSE="doc examples fits"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-LICENSE="GPL-2"
-
-DEPEND="dev-python/numpy"
-
-RDEPEND="${DEPEND}
- dev-python/PyQt4
- fits? ( dev-python/pyfits )"
-
-src_install() {
- distutils_src_install
- insinto /usr/share/doc/${PF}
- if use examples; then
- doins -r examples || die "examples install failed"
- fi
- if use doc; then
- cd Documents
- doins -r Interface.txt manual.html manimages manual.pdf || die "doc install failed"
- fi
-}
diff --git a/sci-visualization/veusz/veusz-1.3.ebuild b/sci-visualization/veusz/veusz-1.4.ebuild
index 9a75efbf7f53..a157c66273eb 100644
--- a/sci-visualization/veusz/veusz-1.3.ebuild
+++ b/sci-visualization/veusz/veusz-1.4.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.3.ebuild,v 1.1 2009/02/26 21:36:48 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.4.ebuild,v 1.1 2009/06/05 17:13:14 grozin Exp $
-inherit distutils
+EAPI=2
+inherit eutils distutils fdo-mime
DESCRIPTION="Qt based scientific plotting package with good Postscript output"
HOMEPAGE="http://home.gna.org/veusz/"
@@ -14,19 +15,37 @@ KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
DEPEND="dev-python/numpy"
-
RDEPEND="${DEPEND}
- dev-python/PyQt4
+ dev-python/PyQt4[X,svg]
fits? ( dev-python/pyfits )"
src_install() {
distutils_src_install
+ dodoc Interface.txt
insinto /usr/share/doc/${PF}
if use examples; then
doins -r examples || die "examples install failed"
fi
if use doc; then
cd Documents
- doins -r Interface.txt manual.html manimages manual.pdf || die "doc install failed"
+ insinto /usr/share/doc/${PF}
+ doins manual.pdf
+ insinto /usr/share/doc/${PF}/html
+ doins -r manual.html manimages \
+ || die "doc install failed"
fi
+ newicon "${S}"/windows/icons/veusz_48.png veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
}