summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2013-04-13 05:38:31 +0000
committerAndrey Grozin <grozin@gentoo.org>2013-04-13 05:38:31 +0000
commitbfda92a086a8de1b6c0702ce0a253792075199fd (patch)
tree66621689e866b549e1439a7b5e285c5cd76af70d /sci-visualization/veusz
parentUpdate upstream repo (bug #465386 by Branko BAdrljica). Add slot operator to (diff)
downloadgentoo-2-bfda92a086a8de1b6c0702ce0a253792075199fd.tar.gz
gentoo-2-bfda92a086a8de1b6c0702ce0a253792075199fd.tar.bz2
gentoo-2-bfda92a086a8de1b6c0702ce0a253792075199fd.zip
Version bump
(Portage version: 2.2.0_alpha173/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
Diffstat (limited to 'sci-visualization/veusz')
-rw-r--r--sci-visualization/veusz/ChangeLog7
-rw-r--r--sci-visualization/veusz/veusz-1.17.1.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/sci-visualization/veusz/ChangeLog b/sci-visualization/veusz/ChangeLog
index 390201dea9c3..529f37f5b0bc 100644
--- a/sci-visualization/veusz/ChangeLog
+++ b/sci-visualization/veusz/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-visualization/veusz
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.41 2013/03/28 13:43:46 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.42 2013/04/13 05:38:31 grozin Exp $
+
+*veusz-1.17.1 (13 Apr 2013)
+
+ 13 Apr 2013; Andrey Grozin <grozin@gentoo.org> +veusz-1.17.1.ebuild:
+ Version bump
*veusz-1.17 (28 Mar 2013)
diff --git a/sci-visualization/veusz/veusz-1.17.1.ebuild b/sci-visualization/veusz/veusz-1.17.1.ebuild
new file mode 100644
index 000000000000..347dada2d17e
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.17.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.17.1.ebuild,v 1.1 2013/04/13 05:38:31 grozin Exp $
+
+EAPI=4
+
+# python cruft
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+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 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+
+DEPEND="dev-python/numpy"
+RDEPEND="${DEPEND}
+ dev-python/PyQt4[X,svg]
+ fits? ( dev-python/pyfits )"
+
+src_install() {
+ distutils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+ use doc && dodoc Documents/manual.pdf && \
+ dohtml -r Documents/{manimages,manual.html}
+
+ newicon windows/icons/veusz_48.png veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+ # symlinking the license, bug #341653
+ symlink_license() {
+ dosym /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
+}