summaryrefslogtreecommitdiff
path: root/sci-visualization
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/Manifest.gzbin5851 -> 5861 bytes
-rw-r--r--sci-visualization/gle/Manifest6
-rw-r--r--sci-visualization/gle/files/gle-4.2.5-c++14.patch27
-rw-r--r--sci-visualization/gle/files/gle-4.2.5-parallel.patch (renamed from sci-visualization/gle/files/gle-4.2.4b-parallel.patch)9
-rw-r--r--sci-visualization/gle/gle-4.2.5-r1.ebuild8
-rw-r--r--sci-visualization/gle/gle-4.2.5.ebuild102
-rw-r--r--sci-visualization/veusz/Manifest6
-rw-r--r--sci-visualization/veusz/metadata.xml1
-rw-r--r--sci-visualization/veusz/veusz-1.25.1.ebuild76
-rw-r--r--sci-visualization/veusz/veusz-1.26.1.ebuild76
10 files changed, 41 insertions, 270 deletions
diff --git a/sci-visualization/Manifest.gz b/sci-visualization/Manifest.gz
index 68f69fcc7dea..932fc3774835 100644
--- a/sci-visualization/Manifest.gz
+++ b/sci-visualization/Manifest.gz
Binary files differ
diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index a17ec4e710e2..0deb347d0de5 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,6 +1,6 @@
AUX 64gle-gentoo.el 161 BLAKE2B 89fd74e68819e2f4653861a110ba977f205e2a200810c03f81297c87ea55167aec2dfcee87b187d310516fd36dd04e365afcaf8fa17c4691b4847071f2a35ad0 SHA512 eda9f1f3ef933aa9f43054c7eae6ec9200022723d91259fb6ba42ddbfbd01f8953d4dcd9aa541211b054c6c93947d7cada1db599db046443b90451cce9e3d7f8
-AUX gle-4.2.4b-parallel.patch 464 BLAKE2B 93348570ff1eb5d489ca6ed9eb3b5092c85a9e2e92dafc9dd208d580bd294603571cea8f2f2c4a04089805b2025faaeb425e4f576fb826c58519b7b428af74e3 SHA512 aeb1c1df07716844105cab33d84ffc5837a4a8b0452872360eaa169157ffdba88720783d421a0fd236a8ac89d128a1e75349d96566dc92f89b50a47352375cab
+AUX gle-4.2.5-c++14.patch 1113 BLAKE2B a75d450b3f067d3f1158618fbdbed69352e9660a60662de730a73b5c7917f1f64a6a2c10472a7f4ba8ae49f8860ba72e919385b863de74878933e3c8022e246b SHA512 aef210745cbf2deb265fde3839e5156eadd52d28029583b52bb53a9e2db26f6dfc6fd2243626be67ae6d00b1e0dbd1b03ed32f594541a569b1df289e78d8d367
+AUX gle-4.2.5-parallel.patch 572 BLAKE2B 03617a63dac035582a90cd0d872c114cc8b4426e05483130ead443a6d136f7c54cafabd7312e0c8eae5c90b704bd4d0a475f49feea69de464deba2c47970c066 SHA512 95d2c9fb1023f6f468b7258c52c04635dfe297da579de0bf429d90bfc1849348191f0821f18b048057271260ad0a9511fd811bdb1494fe51aa1dcd84276b2259
DIST gle-graphics-4.2.5f-src.tar.gz 2330270 BLAKE2B 46435a2366a278a88786a2dd0e0cbcc48d3ba2fc6d895fb07c81216089a10b2223b2ba692b951ee01a6ab014e84cce9aa3969d063ddf7d04501820aa33084c5c SHA512 d459b24577c9c3f8825c368f864532c97d0a37c94018276a60c941d17dce0e55fe738f7eda3227a47848f2fb32fea1dcec29d9751a5be92cde4d8d38a2eeb0f5
-EBUILD gle-4.2.5-r1.ebuild 2091 BLAKE2B 36a1c0489a6fe3c0e7b814d0b04d5a973559cb44c4e6ac83b79efb76a633c85058b7d65aedd1932c20fbf4a8e01d14f448a9582ca85118cb4f780f1e12604ca4 SHA512 f8ecf99e0d53b2bfe71ad18b6ffb7c485c68cc027e236ea50d350dc1c7f20942d5f7c33d0f5c182d323d355432ff51fa23f5138672662a08df755928888762ae
-EBUILD gle-4.2.5.ebuild 2314 BLAKE2B e90414a83df92d6be1313726d7c2b5c9074b4e3da697c95b944fe5bed07eb4133301ffe8d1b69e027d4dc440578171ea34dac4d76ec7fca22604c96f8b16e08f SHA512 b1a4be632e722a9aa6fb6f9b344076cc45738e34e961a5e3071b1868204450208700901d0a04bd6e450514a4ffa046d09c4a0bb049bb8f5b77d14d43d769c96d
+EBUILD gle-4.2.5-r1.ebuild 2134 BLAKE2B bf4ea6ed5aed48ee23ea93bfbeceb9ff4031acf648629a1725d11dee5d0111af625fd502ac8ec5cf4ad02845e81500e2e4b5315f1458fd72fa9835fca1c23c96 SHA512 b8b7a648fb506ffc380dc287881def9116295a1447339268c9f064ca73f3410847c8468db4bf0682a34509c01a2a790555512d0cac880c4a3402e422678cb5af
MISC metadata.xml 725 BLAKE2B a9da0308b21e8f2faea7a58fcba4ed9c4d2a136fc64992768236dd3c21705f3f324abfa83a0b598234a86e7bac5539be2b527ea6efa56fd4b44e44c43428ba45 SHA512 745264b5ccf026947f5a3c0a39b4199589d7831ec1f5de7c03f82b48ebbc590d57d973a7007a09d71135b60cf8129d38eeaab2a95785b62f76fccc6727db61ee
diff --git a/sci-visualization/gle/files/gle-4.2.5-c++14.patch b/sci-visualization/gle/files/gle-4.2.5-c++14.patch
new file mode 100644
index 000000000000..b548816ae065
--- /dev/null
+++ b/sci-visualization/gle/files/gle-4.2.5-c++14.patch
@@ -0,0 +1,27 @@
+diff -r -U2 gle-graphics-4.2.5.orig/src/gle/fitcf.h gle-graphics-4.2.5/src/gle/fitcf.h
+--- gle-graphics-4.2.5.orig/src/gle/fitcf.h 2015-08-16 13:51:24.000000000 +0600
++++ gle-graphics-4.2.5/src/gle/fitcf.h 2018-01-13 13:57:23.140749391 +0700
+@@ -182,8 +182,8 @@
+ typedef struct Namelist Namelist;
+
+-#define abs(x) ((x) >= 0 ? (x) : -(x))
++/*#define abs(x) ((x) >= 0 ? (x) : -(x))*/
+ #define dabs(x) (doublereal)abs(x)
+-#define min(a,b) ((a) <= (b) ? (a) : (b))
+-#define max(a,b) ((a) >= (b) ? (a) : (b))
++/*#define min(a,b) ((a) <= (b) ? (a) : (b))*/
++/*#define max(a,b) ((a) >= (b) ? (a) : (b))*/
+ #define dmin(a,b) (doublereal)min(a,b)
+ #define dmax(a,b) (doublereal)max(a,b)
+diff -r -U2 gle-graphics-4.2.5.orig/src/gle/surface/ffitcontour.cpp gle-graphics-4.2.5/src/gle/surface/ffitcontour.cpp
+--- gle-graphics-4.2.5.orig/src/gle/surface/ffitcontour.cpp 2015-08-16 13:51:24.000000000 +0600
++++ gle-graphics-4.2.5/src/gle/surface/ffitcontour.cpp 2018-01-13 14:08:08.169722265 +0700
+@@ -49,7 +49,7 @@
+ #include "f2c.h"
+ #else
+-#include "f2c.h"
+ #include <stdio.h>
+ #include <math.h>
++#include "f2c.h"
+ #endif
+
diff --git a/sci-visualization/gle/files/gle-4.2.4b-parallel.patch b/sci-visualization/gle/files/gle-4.2.5-parallel.patch
index 1eff8c067102..eeca1f5946ba 100644
--- a/sci-visualization/gle/files/gle-4.2.4b-parallel.patch
+++ b/sci-visualization/gle/files/gle-4.2.5-parallel.patch
@@ -1,7 +1,7 @@
---- src/gui/MakefileAC.in.orig 2010-01-06 20:10:04.000000000 +0000
-+++ src/gui/MakefileAC.in 2010-01-06 20:21:15.000000000 +0000
-@@ -84,14 +84,14 @@
- qmake:
+diff -r -U2 gle-graphics-4.2.5.orig/src/gui/MakefileAC.in gle-graphics-4.2.5/src/gui/MakefileAC.in
+--- gle-graphics-4.2.5.orig/src/gui/MakefileAC.in 2015-08-16 13:51:24.000000000 +0600
++++ gle-graphics-4.2.5/src/gui/MakefileAC.in 2018-01-13 14:23:09.066684378 +0700
+@@ -83,12 +83,12 @@
$(QMAKE_PROG) $(QMAKE_OPTS)
-domake:
@@ -18,4 +18,3 @@
+ -$(MAKE) clean
-@$(RM) qgle install_qgle_name_mac Makefile
-@$(RMDIR) moc
- -@$(RMDIR) objects
diff --git a/sci-visualization/gle/gle-4.2.5-r1.ebuild b/sci-visualization/gle/gle-4.2.5-r1.ebuild
index b16b4ee3425d..c9157c018093 100644
--- a/sci-visualization/gle/gle-4.2.5-r1.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit eutils elisp-common flag-o-matic autotools
DESCRIPTION="Graphics Layout Engine"
@@ -30,8 +30,12 @@ RDEPEND="${DEPEND}
S="${WORKDIR}"/${MY_P}
+PATCHES=( "${FILESDIR}"/${P}-parallel.patch
+ "${FILESDIR}"/${P}-c++14.patch
+ )
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.2.4b-parallel.patch
+ default
eaclocal
eautoconf
}
diff --git a/sci-visualization/gle/gle-4.2.5.ebuild b/sci-visualization/gle/gle-4.2.5.ebuild
deleted file mode 100644
index 178b6e82de0c..000000000000
--- a/sci-visualization/gle/gle-4.2.5.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils elisp-common qt4-r2 flag-o-matic autotools
-
-DESCRIPTION="Graphics Layout Engine"
-HOMEPAGE="http://glx.sourceforge.net/"
-MY_P=${PN}-graphics-${PV}
-MAN_V=4.2.2
-SRC_URI="mirror://sourceforge/glx/${MY_P}f-src.tar.gz"
-SLOT="0"
-LICENSE="BSD-2 emacs? ( GPL-2 ) qt4? ( GPL-2 )"
-IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-DEPEND="
- sys-libs/ncurses:0=
- X? ( x11-libs/libX11 )
- qt4? ( dev-qt/qtopengl:4 )
- jpeg? ( virtual/jpeg:0 )
- png? ( media-libs/libpng:0= )
- tiff? ( media-libs/tiff:0 )
- doc? ( dev-texlive/texlive-latexextra )
- emacs? ( virtual/emacs )"
-
-RDEPEND="${DEPEND}
- app-text/ghostscript-gpl
- virtual/latex-base
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-
-S="${WORKDIR}"/${MY_P}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.2.4b-parallel.patch
- eaclocal
- eautoconf
-}
-
-src_configure() {
- # CPPFLAGS are understood as C++ flags
- append-cppflags ${CXXFLAGS}
- econf \
- --without-rpath \
- --with-manip \
- $(use_with qt4 qt "${EPREFIX}"/usr) \
- $(use_with X x) \
- $(use_with jpeg) \
- $(use_with png) \
- $(use_with tiff)
-}
-
-src_compile() {
- emake
- if use doc; then
- emake -j1 doc
- fi
- if use emacs; then
- cd contrib/editors/highlighting
- mv ${PN}-emacs.el ${PN}-mode.el
- elisp-compile ${PN}-mode.el || die
- fi
-}
-
-src_install() {
- # -jN failed to install some data files
- emake -j1 DESTDIR="${D}" install
- rm -rf "${ED}"/usr/share/doc/gle-graphics
- dodoc README.txt
-
- if use qt4; then
- newicon src/gui/images/gle_icon.png gle.png
- make_desktop_entry qgle GLE gle
- newdoc src/gui/readme.txt gui_readme.txt
- fi
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins build/doc/gle-manual.pdf
- fi
-
- if use emacs; then
- elisp-install ${PN} contrib/editors/highlighting/gle-mode.{el,elc} || die
- elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el || die
- fi
-
- if use vim-syntax ; then
- dodir /usr/share/vim/vimfiles/{ftplugins,indent,syntax}
- cd contrib/editors/highlighting/vim || die
- chmod 644 ftplugin/* indent/* syntax/*
- insinto /usr/share/vim/vimfiles
- doins -r ftplugin indent syntax
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/sci-visualization/veusz/Manifest b/sci-visualization/veusz/Manifest
index 261f12951487..fd0b2b0c55f0 100644
--- a/sci-visualization/veusz/Manifest
+++ b/sci-visualization/veusz/Manifest
@@ -1,9 +1,5 @@
AUX veusz.desktop 248 BLAKE2B 02c9b85f9ea12ef0ee9bf8f538788f577ab4314468e94140b80351accece2dcbcf11b39b26468d8c31e3feb9fc8422a1fe5051b00100743f263eba2558861236 SHA512 986479153d6409a639f0daab4c2c11836927fce93feecf0bffefd7643cfa9c3ee2c24d374f2c6eaef475bc4bcfe39095c6b12bd0731c585ad213f0a4672c8047
AUX veusz.xml 346 BLAKE2B c99688c930b3901edcf500c4a99447074a01be6abfd2be714f8c1dccd4318a0270d30f47f92636280f406ba9003540434c52683b0a8f66fb4d672e3436fdb5a1 SHA512 c4f049d4648192d932560a2e73088843ecb0a2beea2e628424488d552684a8e69b84628773a08947741690eb732901bc8ae8c52fa926d1b44bf02b9046cb569e
-DIST veusz-1.25.1.tar.gz 1883416 BLAKE2B 5c8b23fa12b7718f32bfd0dced5cb416151002c145b2ad126b119ee422940d22ea9c97df0262f8828d17374e9c35786772225cab7ecdbf9337aa22aad7f16134 SHA512 0820d2a2d30dd525656b4aad4d39eef1d24c7b98fd93d263974ba2dfb13e4c0d3914f4cb94b016aa1780f20f653df10ce5bf5ee59e9532f26471947565f0a560
-DIST veusz-1.26.1.tar.gz 1904197 BLAKE2B 57aebb9ec62b255153f67cd6866cf935adf59874234dbf878f432276b080f052675de7b969b30738a2426c854f2faa9f54db0e475bd51acc4cd56a49878d565f SHA512 eba9382e91c2653ded0ed409874b7c4db6309c93f5b2ff1b7d5c15fb88ab330f1d626f0a110055c7647a929bf8cad9c78886c2035a1cb5b8cc27159ae7bf481d
DIST veusz-2.1.1.tar.gz 2440253 BLAKE2B 1bfbe3bf6a026fbbd4acf5d722a1d2282331d71548650606c474c81399e8f0e8dcef643e0ab61a3eff62e111392a0668e1ae3d0bb2a76d7abc1f57e10a6e0506 SHA512 894dd12ea89671d71bd1abb2367c19d76c599c59edd302c29e5f99bbd1798fea8cb1489ca3446e8f88fedaf287fb48ee63617f928c77e4bd366a4f00a878b994
-EBUILD veusz-1.25.1.ebuild 1960 BLAKE2B 5c8748c92ae546575c9fde782ef05559a44a2d66c080bae0ddcf74980aac204feb96af4e1d3908634234eb4da6081f76cbdb7cc435c55e16d3ec288683e1422d SHA512 daeee8ac7b1a8c2d62fdf0ec2d902b37556f5b965ea1d45b7205e304a26976429dcc9792390355dc68e8ebcd88cd404bb4567b1f1063d1d489acc2e8ff9dd701
-EBUILD veusz-1.26.1.ebuild 2029 BLAKE2B 9549e6170e4c8ff214e3589af50d17e8cdad3b37cc718ffd2c9d9cf5567a870740aa5189bcb41d558bcc504d2521f8c588dacbb9cfd447fde5d2e60addf1b557 SHA512 d39fdffd56d2ef4760a81f5b29a87dc38c381604acfddc77ed246a2e6ab07b2c2ee448a5e44327fb901a266a43e199ef1813b6efd5f68745687eb398cb00af79
EBUILD veusz-2.1.1.ebuild 2106 BLAKE2B ed9b696f062a6ee7fd62f9d48867158eef884be820595609831c71f9ccd71e9d39eff5a1d61c783a2496bb7682559c3acf31ad218b076124719fd1a8eceb2c62 SHA512 b3c515b6d8050598d5539caa295e60f0a2656ebdfa41908070d2791816c1b0198799de44263aa3bc688399db2d06291a01348ca03309cc3f4b17e72ab22cf139
-MISC metadata.xml 976 BLAKE2B 27c26515c0b822aceb9b094391825186aa96df29035268311151a83297fa076d94043e0449ae6769dc90744d554aae7d85201b2c50380795cb668bdda68b8d93 SHA512 0bb2b631d782f6c231775f4838d78f86612fda9fdf8f6ae2fe4ae157c1d4953cc8c54250d02b68ef4b2ee0ea50c4fb2633fd813d0049025365f7a28ba9840ea9
+MISC metadata.xml 885 BLAKE2B 90529e34d78f5225e62c2675e15fef6e0fa1898eca31df061f5438460be53f5bad3d1395d5dcb6e300f861c2c52689bca26fcf012ffbbdaf9cf579b9b252a697 SHA512 2e6838e7cc1a152af665c771950f5b53f942ceedb40b118511c2c9b9801a4a170dbc557e3fa389986b0edf2b12b4f008fbbab9c258c59a1b4acd2063c3ef79ac
diff --git a/sci-visualization/veusz/metadata.xml b/sci-visualization/veusz/metadata.xml
index 6f5dc7659c62..143fe2727aa6 100644
--- a/sci-visualization/veusz/metadata.xml
+++ b/sci-visualization/veusz/metadata.xml
@@ -15,7 +15,6 @@
<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>
diff --git a/sci-visualization/veusz/veusz-1.25.1.ebuild b/sci-visualization/veusz/veusz-1.25.1.ebuild
deleted file mode 100644
index 8ede2c5b7ed4..000000000000
--- a/sci-visualization/veusz/veusz-1.25.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-
-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[compat,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
- mkdir -p "${D}/$(python_get_sitedir)" || die
- cat >> "${D}/$(python_get_sitedir)"/${PN}/COPYING <<- EOF
- Please visit
-
- https://www.gnu.org/licenses/gpl-2.0.html
-
- for the full license text.
- EOF
-}
-
-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.26.1.ebuild b/sci-visualization/veusz/veusz-1.26.1.ebuild
deleted file mode 100644
index ff2798d960f4..000000000000
--- a/sci-visualization/veusz/veusz-1.26.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-
-inherit eutils fdo-mime distutils-r1 virtualx
-
-DESCRIPTION="Qt scientific plotting package with good Postscript output"
-HOMEPAGE="https://veusz.github.io/"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${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[compat,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/iminuit[${PYTHON_USEDEP}] 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
- mkdir -p "${D}/$(python_get_sitedir)" || die
- cat >> "${D}/$(python_get_sitedir)"/${PN}/COPYING <<- EOF
- Please visit
-
- https://www.gnu.org/licenses/gpl-2.0.html
-
- for the full license text.
- EOF
-}
-
-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
-}