summaryrefslogtreecommitdiff
path: root/sci-visualization/veusz
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-04 18:55:01 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-04 18:55:01 +0000
commit423d21dcfee183cc4b04d29c1621615e8c30f834 (patch)
tree23bd6110b9a77b8d679b5ab60fb7663b8627f698 /sci-visualization/veusz
parent81e4fbcb846ed1cabdad699c0029b166dd7273b7 (diff)
gentoo resync : 04.01.2018
Diffstat (limited to 'sci-visualization/veusz')
-rw-r--r--sci-visualization/veusz/Manifest2
-rw-r--r--sci-visualization/veusz/veusz-2.1.1.ebuild79
2 files changed, 81 insertions, 0 deletions
diff --git a/sci-visualization/veusz/Manifest b/sci-visualization/veusz/Manifest
index 2c8e65e1b221..261f12951487 100644
--- a/sci-visualization/veusz/Manifest
+++ b/sci-visualization/veusz/Manifest
@@ -2,6 +2,8 @@ AUX veusz.desktop 248 BLAKE2B 02c9b85f9ea12ef0ee9bf8f538788f577ab4314468e94140b8
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
diff --git a/sci-visualization/veusz/veusz-2.1.1.ebuild b/sci-visualization/veusz/veusz-2.1.1.ebuild
new file mode 100644
index 000000000000..1526a285be19
--- /dev/null
+++ b/sci-visualization/veusz/veusz-2.1.1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit eutils distutils-r1 virtualx xdg-utils gnome2-utils
+
+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"
+
+CDEPEND="dev-python/PyQt5[widgets,svg,printsupport,${PYTHON_USEDEP}]
+ dev-python/numpy[${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}] ) )"
+DEPEND="${CDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/sip[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${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
+
+ if use doc; then
+ dodoc Documents/manual/pdf/${PN}.pdf
+ docinto html
+ dodoc -r Documents/manual/html
+ fi
+
+ doicon icons/veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}