summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-04-12 22:18:14 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-04-12 22:18:14 +0700
commit89c3087d339e2740dc9a6a6bf7805e3088e6b128 (patch)
tree6717160490953bdf19663031955f06430a54ec84 /sci-visualization
parentapp-arch/zip: Fix dependencies (diff)
downloadgentoo-89c3087d339e2740dc9a6a6bf7805e3088e6b128.tar.gz
gentoo-89c3087d339e2740dc9a6a6bf7805e3088e6b128.tar.bz2
gentoo-89c3087d339e2740dc9a6a6bf7805e3088e6b128.zip
sci-visualization/veusz: bump to 3.6.2
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/veusz-3.6.2.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/sci-visualization/veusz/Manifest b/sci-visualization/veusz/Manifest
index 081397442635..b6442a626e95 100644
--- a/sci-visualization/veusz/Manifest
+++ b/sci-visualization/veusz/Manifest
@@ -1 +1,2 @@
DIST veusz-3.5.3.tar.gz 3319834 BLAKE2B d673ea62b1a8d4d11e05fc9b95105b34fdc75f697fcd48fbd82c5bbfaf72530adc73f2d40f99ee281d36c11d26bcaf1cd292110e163166c9b2e112187c85cc21 SHA512 26c245640b83a3e6d0d036e942774b15d47dcb4dd2af41025528781f63ecb2ba5357b3eeedcb7a3432bd2b54cce7bca0587f47b6f1208d08532f3a08cab19d32
+DIST veusz-3.6.2.tar.gz 3330225 BLAKE2B dacadb7f4a4059cab02c07d2af4e53ba3b5714593233ff2995083237416e26425723950603dc542ac58cc355aaf6106c3fd4065efddb9cc7884757e440d3efa2 SHA512 5580171c0259415cf3de11322133fde02e244b65ffede1e83b5e6d17c8a037624860550495dc0b53c7b5e2f65b3ae6b95daa0e95f7164358e1201ffedeb13f51
diff --git a/sci-visualization/veusz/veusz-3.6.2.ebuild b/sci-visualization/veusz/veusz-3.6.2.ebuild
new file mode 100644
index 000000000000..d7aff55dc407
--- /dev/null
+++ b/sci-visualization/veusz/veusz-3.6.2.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
+}