summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2011-09-08 12:25:28 +0000
committerAndrey Grozin <grozin@gentoo.org>2011-09-08 12:25:28 +0000
commit67a4a20e2d6ae9901c371dd831379142275cb420 (patch)
treef23155c83bae5c2a657e3d2ecf848c49f7c3bae8 /sci-visualization
parentMove 1.5 to java-overlay, update homepage, download link and license for 1.6. (diff)
downloadgentoo-2-67a4a20e2d6ae9901c371dd831379142275cb420.tar.gz
gentoo-2-67a4a20e2d6ae9901c371dd831379142275cb420.tar.bz2
gentoo-2-67a4a20e2d6ae9901c371dd831379142275cb420.zip
Version bump, closing bug #382189
(Portage version: 2.2.0_alpha54/cvs/Linux i686)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/veusz/ChangeLog7
-rw-r--r--sci-visualization/veusz/veusz-1.13.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/sci-visualization/veusz/ChangeLog b/sci-visualization/veusz/ChangeLog
index b6ea4b010746..526acef3f3bf 100644
--- a/sci-visualization/veusz/ChangeLog
+++ b/sci-visualization/veusz/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-visualization/veusz
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.35 2011/07/26 09:52:41 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.36 2011/09/08 12:25:28 grozin Exp $
+
+*veusz-1.13 (08 Sep 2011)
+
+ 08 Sep 2011; Andrey Grozin <grozin@gentoo.org> +veusz-1.13.ebuild:
+ Version bump, closing bug #382189
*veusz-1.12-r1 (26 Jul 2011)
diff --git a/sci-visualization/veusz/veusz-1.13.ebuild b/sci-visualization/veusz/veusz-1.13.ebuild
new file mode 100644
index 000000000000..d6bb54579fa7
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.13.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.13.ebuild,v 1.1 2011/09/08 12:25:28 grozin Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils eutils fdo-mime
+
+DESCRIPTION="Qt based scientific plotting package with good Postscript output"
+HOMEPAGE="http://home.gna.org/veusz/ http://pypi.python.org/pypi/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[X,svg]
+ fits? ( dev-python/pyfits )"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+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
+ insinto /usr/share/doc/${PF}
+ doins manual.pdf || die "doins failed"
+ 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 || die "domenu failed"
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml || die "doins failed"
+ # symlinking the license, bug #341653
+ symlink_license() {
+ dosym "${ROOT}"/usr/portage/licenses/GPL-2 "$(python_get_sitedir)/${PN}"/COPYING
+ }
+ python_execute_function -q symlink_license
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+}