summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-visualization/veusz
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-visualization/veusz')
-rw-r--r--sci-visualization/veusz/Manifest7
-rw-r--r--sci-visualization/veusz/files/veusz.desktop10
-rw-r--r--sci-visualization/veusz/files/veusz.xml10
-rw-r--r--sci-visualization/veusz/metadata.xml20
-rw-r--r--sci-visualization/veusz/veusz-1.11.ebuild56
-rw-r--r--sci-visualization/veusz/veusz-1.20.1.ebuild64
-rw-r--r--sci-visualization/veusz/veusz-1.20.ebuild64
-rw-r--r--sci-visualization/veusz/veusz-1.21.1.ebuild75
-rw-r--r--sci-visualization/veusz/veusz-1.21.ebuild64
-rw-r--r--sci-visualization/veusz/veusz-1.22.ebuild71
-rw-r--r--sci-visualization/veusz/veusz-1.23.ebuild72
11 files changed, 513 insertions, 0 deletions
diff --git a/sci-visualization/veusz/Manifest b/sci-visualization/veusz/Manifest
new file mode 100644
index 000000000000..3ceab2ed78c9
--- /dev/null
+++ b/sci-visualization/veusz/Manifest
@@ -0,0 +1,7 @@
+DIST veusz-1.11.tar.gz 1579404 SHA256 7ded2b8788f7420ea76dd499a485473fddce1f2587e9c93e453743b194d08e94
+DIST veusz-1.20.1.tar.gz 1778707 SHA256 64c7f1624f14ae898aa5a4b0e1de7933bfa3fffb6cb272853c8acdd471c66814 SHA512 2b477e03dec895914a34206750285ff6dcba53ff23bab79403194b893e22b03063179c26a812b3bd98c00ea71cfda062a5b345b9bd7c1acdf5682c4acc9be755 WHIRLPOOL c8a0ff3752ac152b2029b224f97cb9331dc3ded2c38968e9c5f5cf15355ae1c830e8d6da7de075a1d5d6f2d20b142a5475eb2dc262eff9de028f11afb57c9f92
+DIST veusz-1.20.tar.gz 1774169 SHA256 6a73b357f0c0602e6fd45eaec3a5a305181101f15e16c9c3621a5ea2df4d6743 SHA512 68453c15a8e6b81034a458e65524a28ba1649d6e25443d2c90a2fd32e11b56a470d2c176c1908d243195e747dd0c4ca4cc1ed9390cc0e8d3d9737b52798f54a8 WHIRLPOOL b3560554e360e6b79ef4631d90f19c708b5351179844eeb836c250a4bdb2ced95f0bff69064ae2e3be8ac21965a1bcea11c90a1b9b5a59ced7f610a0029d1391
+DIST veusz-1.21.1.tar.gz 1804339 SHA256 fa1ba0129228218c804fc7c654cdfd4d6c4b5a93830a307afc893eb126b0a2c5 SHA512 6fa40674fb9100522e7fefa3d49759488c7ee0d11b90bb2a7de6ccb4f03da53e8e2024027987df8638fa1a7742845ac6e8263d9942ac287d1e4c2e1dece42dd8 WHIRLPOOL 9f5d7e874c7547c87eaf348661d72ad2b72fe8ead966b713c136a5a11e1fbfce073009fb58601887a98c729be78566178016472d80ccca3e7330ad633a809be0
+DIST veusz-1.21.tar.gz 1803048 SHA256 15dae8891d7d87d13c097b93b0c65e6b9c657f919a735a0b2e59260733feb7d0 SHA512 1fb061f31f258b2c17f5200c9d25b6aa94c1cf85b675097ab236e6772c87721b3bbe9d655c0ffe698f087e2e116aa371824a58ce380def9beadde37c8e49bf1c WHIRLPOOL dfa8212590e4b9b190918814e77111601f4ffb26932ccb3c0a9d38ddbb510fc5aad4dcd4268da74dcf717278940ffe7c621325aee906e1526e956bed8b493847
+DIST veusz-1.22.tar.gz 1809097 SHA256 46665217787053a2524adf425db4ceab667a69098de1548c03e512c2bd8cefbb SHA512 dca03c04280e63dae9e709e6269382cc9b5e33ea253137cda5cdb1873c5588638a0609dcec763abae8bf15d41d5b624baa4761f2e195c462821faf2f87830231 WHIRLPOOL 34c211fa570d2cb91678966e8ff68d9720002a246d8ce3431d193d3bc7bceee914ace4c010a5d9340800df17ee6825775f0248b8aabfff12aa98cc87dfb26bda
+DIST veusz-1.23.tar.gz 1822000 SHA256 6ba03cef320764cf8d1cc62f6ab20e52727a86faf21c45382e999f596d62c301 SHA512 4a7ec1e94338bbcc072caf7256da8185b999814e9c2cda907c7989fd5b80efda49029c801f49d4b95a8745f3b47bf0e4b16732f9524558e3466321d27d696646 WHIRLPOOL 11f246a8139c324f8ef58ce28b9108a6d416722909b28af69d154bd283409105fb6c5cc4e19ad5630f870766e2a741b68f51076f171e12974c53b180e5974b8e
diff --git a/sci-visualization/veusz/files/veusz.desktop b/sci-visualization/veusz/files/veusz.desktop
new file mode 100644
index 000000000000..c4780f047e7b
--- /dev/null
+++ b/sci-visualization/veusz/files/veusz.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Veusz
+GenericName=Veusz scientific plotting
+Comment=For graphing and manipulation of scientific data
+MimeType=application/x-veusz;
+Exec=veusz %F
+Icon=veusz
+Terminal=false
+Type=Application
+Categories=Graphics;DataVisualization;
diff --git a/sci-visualization/veusz/files/veusz.xml b/sci-visualization/veusz/files/veusz.xml
new file mode 100644
index 000000000000..7e6d83d322f7
--- /dev/null
+++ b/sci-visualization/veusz/files/veusz.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0'?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-veusz">
+ <comment>Veusz saved graph</comment>
+ <glob pattern="*.vsz"/>
+ <magic priority="50">
+ <match type="string" value="# Veusz saved document" offset="0"/>
+ </magic>
+ </mime-type>
+</mime-info>
diff --git a/sci-visualization/veusz/metadata.xml b/sci-visualization/veusz/metadata.xml
new file mode 100644
index 000000000000..7c60390db52e
--- /dev/null
+++ b/sci-visualization/veusz/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ A Qt based scientific plotting package written in Python using PyQt. It is
+ designed to produce publication ready Postscript output. It provides a GUI,
+ command line and scripting interface (based on Python) to its plotting
+ facilities.
+</longdescription>
+ <use>
+ <flag name="fits">Add FITS format via <pkg>dev-python/astropy</pkg></flag>
+ <flag name="emf">Add FITS format via <pkg>dev-python/pyemf</pkg></flag>
+ <flag name="minuit">Use Minuit during fitting via<pkg>dev-python/pyminuit</pkg></flag>
+ <flag name="vo">Add Virtual Observatory tools via <pkg>dev-python/astropy</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="pypi">veusz</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-visualization/veusz/veusz-1.11.ebuild b/sci-visualization/veusz/veusz-1.11.ebuild
new file mode 100644
index 000000000000..1f0fd9987c01
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.11.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-visualization/veusz/veusz-1.20.1.ebuild b/sci-visualization/veusz/veusz-1.20.1.ebuild
new file mode 100644
index 000000000000..e4c002a8fdc4
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.20.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3} )
+
+inherit eutils fdo-mime distutils-r1 virtualx
+
+DESCRIPTION="Qt scientific plotting package with good Postscript output"
+HOMEPAGE="http://home.gna.org/veusz/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+IUSE="dbus doc emf fits hdf5 vo"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+
+DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ >=dev-python/PyQt4-4.6[X,svg,${PYTHON_USEDEP}]
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ emf? ( dev-python/pyemf[$(python_gen_usedep 'python2*')] )
+ fits? ( dev-python/astropy[${PYTHON_USEDEP}] )
+ hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
+ vo? (
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/sampy[$(python_gen_usedep 'python2*')]
+ )"
+
+python_test() {
+ distutils_install_for_testing
+ cd tests || die
+ VIRTUALX_COMMAND="${EPYTHON}" \
+ VEUSZ_RESOURCE_DIR="${TEST_DIR}/lib/veusz" \
+ virtualmake runselftest.py
+}
+
+python_install() {
+ distutils-r1_python_install
+ # symlink the license, bug #341653
+ ln -s "${PORTDIR}"/licenses/${LICENSE} \
+ "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ use doc && dodoc Documents/manual.pdf && \
+ dohtml -r Documents/{manimages,manual.html}
+
+ doicon icons/veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-visualization/veusz/veusz-1.20.ebuild b/sci-visualization/veusz/veusz-1.20.ebuild
new file mode 100644
index 000000000000..e4c002a8fdc4
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.20.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3} )
+
+inherit eutils fdo-mime distutils-r1 virtualx
+
+DESCRIPTION="Qt scientific plotting package with good Postscript output"
+HOMEPAGE="http://home.gna.org/veusz/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+IUSE="dbus doc emf fits hdf5 vo"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+
+DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ >=dev-python/PyQt4-4.6[X,svg,${PYTHON_USEDEP}]
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ emf? ( dev-python/pyemf[$(python_gen_usedep 'python2*')] )
+ fits? ( dev-python/astropy[${PYTHON_USEDEP}] )
+ hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
+ vo? (
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/sampy[$(python_gen_usedep 'python2*')]
+ )"
+
+python_test() {
+ distutils_install_for_testing
+ cd tests || die
+ VIRTUALX_COMMAND="${EPYTHON}" \
+ VEUSZ_RESOURCE_DIR="${TEST_DIR}/lib/veusz" \
+ virtualmake runselftest.py
+}
+
+python_install() {
+ distutils-r1_python_install
+ # symlink the license, bug #341653
+ ln -s "${PORTDIR}"/licenses/${LICENSE} \
+ "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ use doc && dodoc Documents/manual.pdf && \
+ dohtml -r Documents/{manimages,manual.html}
+
+ doicon icons/veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-visualization/veusz/veusz-1.21.1.ebuild b/sci-visualization/veusz/veusz-1.21.1.ebuild
new file mode 100644
index 000000000000..deb1e3baef53
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.21.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit eutils fdo-mime distutils-r1 virtualx
+
+DESCRIPTION="Qt scientific plotting package with good Postscript output"
+HOMEPAGE="http://home.gna.org/veusz/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+IUSE="dbus doc emf fits hdf5 vo"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+
+CDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/PyQt4-4.6[X,svg,${PYTHON_USEDEP}]
+"
+RDEPEND="${CDEPEND}
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ emf? ( dev-python/pyemf[$(python_gen_usedep 'python2*')] )
+ fits? ( dev-python/astropy[${PYTHON_USEDEP}] )
+ hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
+ vo? (
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/sampy[$(python_gen_usedep 'python2*')]
+ )"
+DEPEND="${CDEPEND}
+ dev-python/sip[${PYTHON_USEDEP}]
+ "
+
+python_prepare_all() {
+ sed \
+ -e "/sipconfig.Configuration/s:'PyQt4':'':g" \
+ -i pyqtdistutils.py || die
+}
+
+python_test() {
+ distutils_install_for_testing
+ cd tests || die
+ VIRTUALX_COMMAND="${EPYTHON}" \
+ VEUSZ_RESOURCE_DIR="${TEST_DIR}/lib/veusz" \
+ virtualmake runselftest.py
+}
+
+python_install() {
+ distutils-r1_python_install
+ # symlink the license, bug #341653
+ ln -s "${PORTDIR}"/licenses/${LICENSE} \
+ "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ use doc && dodoc Documents/manual.pdf && \
+ dohtml -r Documents/{manimages,manual.html}
+
+ doicon icons/veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-visualization/veusz/veusz-1.21.ebuild b/sci-visualization/veusz/veusz-1.21.ebuild
new file mode 100644
index 000000000000..e4c002a8fdc4
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.21.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3} )
+
+inherit eutils fdo-mime distutils-r1 virtualx
+
+DESCRIPTION="Qt scientific plotting package with good Postscript output"
+HOMEPAGE="http://home.gna.org/veusz/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+IUSE="dbus doc emf fits hdf5 vo"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+
+DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ >=dev-python/PyQt4-4.6[X,svg,${PYTHON_USEDEP}]
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ emf? ( dev-python/pyemf[$(python_gen_usedep 'python2*')] )
+ fits? ( dev-python/astropy[${PYTHON_USEDEP}] )
+ hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
+ vo? (
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/sampy[$(python_gen_usedep 'python2*')]
+ )"
+
+python_test() {
+ distutils_install_for_testing
+ cd tests || die
+ VIRTUALX_COMMAND="${EPYTHON}" \
+ VEUSZ_RESOURCE_DIR="${TEST_DIR}/lib/veusz" \
+ virtualmake runselftest.py
+}
+
+python_install() {
+ distutils-r1_python_install
+ # symlink the license, bug #341653
+ ln -s "${PORTDIR}"/licenses/${LICENSE} \
+ "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ use doc && dodoc Documents/manual.pdf && \
+ dohtml -r Documents/{manimages,manual.html}
+
+ doicon icons/veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-visualization/veusz/veusz-1.22.ebuild b/sci-visualization/veusz/veusz-1.22.ebuild
new file mode 100644
index 000000000000..6de5028c5096
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.22.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+
+inherit eutils fdo-mime distutils-r1 virtualx
+
+DESCRIPTION="Qt scientific plotting package with good Postscript output"
+HOMEPAGE="http://home.gna.org/veusz/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="dbus doc emf fits hdf5 minuit vo"
+
+CDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/PyQt4-4.6[X,svg,${PYTHON_USEDEP}]
+"
+RDEPEND="${CDEPEND}
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ emf? ( dev-python/pyemf[$(python_gen_usedep 'python2*')] )
+ fits? ( dev-python/astropy[${PYTHON_USEDEP}] )
+ hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
+ minuit? ( dev-python/pyminuit[${PYTHON_USEDEP}] )
+ vo? (
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/sampy[$(python_gen_usedep 'python2*')]
+ )"
+DEPEND="${CDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/sip[${PYTHON_USEDEP}]
+ "
+
+python_test() {
+ distutils_install_for_testing
+ cd tests || die
+ VIRTUALX_COMMAND="${EPYTHON}" \
+ VEUSZ_RESOURCE_DIR="${TEST_DIR}/lib/veusz" \
+ virtualmake runselftest.py
+}
+
+python_install() {
+ distutils-r1_python_install
+ # symlink the license, bug #341653
+ ln -s "${PORTDIR}"/licenses/${LICENSE} \
+ "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ use doc && dodoc Documents/manual.pdf && \
+ dohtml -r Documents/{manimages,manual.html}
+
+ doicon icons/veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-visualization/veusz/veusz-1.23.ebuild b/sci-visualization/veusz/veusz-1.23.ebuild
new file mode 100644
index 000000000000..42bfe9dd4286
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.23.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+
+inherit eutils fdo-mime distutils-r1 virtualx
+
+DESCRIPTION="Qt scientific plotting package with good Postscript output"
+HOMEPAGE="http://home.gna.org/veusz/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="dbus doc emf fits hdf5 minuit vo"
+
+CDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/PyQt4-4.11.4[X,svg,${PYTHON_USEDEP}]
+"
+RDEPEND="${CDEPEND}
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ emf? ( dev-python/pyemf[$(python_gen_usedep 'python2*')] )
+ fits? ( dev-python/astropy[${PYTHON_USEDEP}] )
+ hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
+ minuit? ( dev-python/pyminuit[${PYTHON_USEDEP}] )
+ vo? (
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/sampy[$(python_gen_usedep 'python2*')]
+ )"
+DEPEND="${CDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/sip[${PYTHON_USEDEP}]
+ "
+
+python_test() {
+ distutils_install_for_testing
+ cd tests || die
+ VIRTUALX_COMMAND="${EPYTHON}" \
+ VEUSZ_RESOURCE_DIR="${S}" \
+ virtualmake runselftest.py
+}
+
+python_install() {
+ distutils-r1_python_install
+ # symlink the license, bug #341653
+ rm "${D}/$(python_get_sitedir)"/${PN}/{COPYING,AUTHORS,ChangeLog} || die
+ ln -s "${PORTDIR}"/licenses/${LICENSE} \
+ "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ use doc && dodoc Documents/manual.pdf && \
+ dohtml -r Documents/{manimages,manual.html}
+
+ doicon icons/veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}