From bfda92a086a8de1b6c0702ce0a253792075199fd Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Sat, 13 Apr 2013 05:38:31 +0000 Subject: Version bump (Portage version: 2.2.0_alpha173/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!) --- sci-visualization/veusz/ChangeLog | 7 +++- sci-visualization/veusz/veusz-1.17.1.ebuild | 58 +++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 sci-visualization/veusz/veusz-1.17.1.ebuild (limited to 'sci-visualization/veusz') 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 +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 +} -- cgit v1.2.3-65-gdbad