summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-02-16 13:33:24 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-02-16 13:33:49 +0700
commit26e8f54b7fff3aa694d3e09cf8d9a89536ba3788 (patch)
treebcd3907e052139e95af91e8c29d810c9e105d175 /sci-visualization
parentapp-backup/restic: add myself as a maintainer (diff)
downloadgentoo-26e8f54b7fff3aa694d3e09cf8d9a89536ba3788.tar.gz
gentoo-26e8f54b7fff3aa694d3e09cf8d9a89536ba3788.tar.bz2
gentoo-26e8f54b7fff3aa694d3e09cf8d9a89536ba3788.zip
sci-visualization/veusz: bump to 3.5.3
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/veusz/Manifest1
-rw-r--r--sci-visualization/veusz/metadata.xml1
-rw-r--r--sci-visualization/veusz/veusz-3.5.3.ebuild70
3 files changed, 72 insertions, 0 deletions
diff --git a/sci-visualization/veusz/Manifest b/sci-visualization/veusz/Manifest
index 648b950d0e3c..1e13e2a351cc 100644
--- a/sci-visualization/veusz/Manifest
+++ b/sci-visualization/veusz/Manifest
@@ -1,2 +1,3 @@
DIST veusz-3.3.1.tar.gz 3249376 BLAKE2B d3113a4f5f6a2fc3460e73b6b99d6353d6a0745a0d3cc0f276a86cb6fcef369bb74ca34aa205c69e7755dbe6d6fa6dce3ff267ca075f211c8635cab0350233a5 SHA512 a2fa204a33ae0dac98907c3af88b24f322849360e30c05101bbfa6307dc8aa6fdec580f060fc9cd9921f7706db51419efe088f927d22db860419eea4e0f4e84c
DIST veusz-3.4.99.tar.gz 3320917 BLAKE2B 3ef3a7333009040f0d66b94cb6220becfb04e7957dcc7586326b178c1b3f5442b722fdfb8b7a1e5172a3b38c1c3d85cad52be8eeb3181d603abf0382da5b21f2 SHA512 e854d6dae32bb76caa713439ff2139c7f9797d6be72e6c88f48491c385372c4f776c0d1d183b13bc818538e6271f4daab04b630589d635adc22e8aa8380c70b8
+DIST veusz-3.5.3.tar.gz 3319834 BLAKE2B d673ea62b1a8d4d11e05fc9b95105b34fdc75f697fcd48fbd82c5bbfaf72530adc73f2d40f99ee281d36c11d26bcaf1cd292110e163166c9b2e112187c85cc21 SHA512 26c245640b83a3e6d0d036e942774b15d47dcb4dd2af41025528781f63ecb2ba5357b3eeedcb7a3432bd2b54cce7bca0587f47b6f1208d08532f3a08cab19d32
diff --git a/sci-visualization/veusz/metadata.xml b/sci-visualization/veusz/metadata.xml
index 2a329ef9e5c4..a085490219be 100644
--- a/sci-visualization/veusz/metadata.xml
+++ b/sci-visualization/veusz/metadata.xml
@@ -13,5 +13,6 @@
</longdescription>
<upstream>
<remote-id type="pypi">veusz</remote-id>
+ <remote-id type="github">veusz/veusz</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sci-visualization/veusz/veusz-3.5.3.ebuild b/sci-visualization/veusz/veusz-3.5.3.ebuild
new file mode 100644
index 000000000000..d7aff55dc407
--- /dev/null
+++ b/sci-visualization/veusz/veusz-3.5.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit desktop distutils-r1 qmake-utils virtualx xdg
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="dbus hdf5"
+
+COMMON_DEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/PyQt5[widgets,svg,printsupport,${PYTHON_USEDEP}]
+"
+RDEPEND="${COMMON_DEPEND}
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-python/sip:5[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx Documents/manual-source \
+ dev-python/alabaster
+
+src_prepare() {
+ distutils-r1_src_prepare
+ xdg_environment_reset
+}
+
+python_compile() {
+ distutils-r1_python_compile build_ext --qmake-exe=$(qt5_get_bindir)/qmake
+}
+
+python_test() {
+ VIRTUALX_COMMAND="${EPYTHON}" \
+ VEUSZ_RESOURCE_DIR="${S}" \
+ virtx tests/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
+
+ doicon icons/veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}