From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/veusz/
Date: Thu, 6 Oct 2022 10:08:48 +0000 (UTC) [thread overview]
Message-ID: <1665050916.4bd19add6f3bb153e4ecd28c1fa0c063824e95c7.andrewammerlaan@gentoo> (raw)
commit: 4bd19add6f3bb153e4ecd28c1fa0c063824e95c7
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 6 10:05:31 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Oct 6 10:08:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd19add
sci-visualization/veusz: add 3.4.99, enable py3_{10,11}, pep517
This is technically a pre-release, but it fixes the problem
where we cannot compile with sip-6. sip-5 is no longer in the tree
The in-tree version of veusz cannot compile when sip:5 is present
Closes: https://bugs.gentoo.org/846302
Closes: https://bugs.gentoo.org/823005
Closes: https://bugs.gentoo.org/831663
Closes: https://bugs.gentoo.org/815421
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-visualization/veusz/Manifest | 1 +
sci-visualization/veusz/veusz-3.4.99.ebuild | 70 +++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)
diff --git a/sci-visualization/veusz/Manifest b/sci-visualization/veusz/Manifest
index 41616f313ece..648b950d0e3c 100644
--- a/sci-visualization/veusz/Manifest
+++ b/sci-visualization/veusz/Manifest
@@ -1 +1,2 @@
DIST veusz-3.3.1.tar.gz 3249376 BLAKE2B d3113a4f5f6a2fc3460e73b6b99d6353d6a0745a0d3cc0f276a86cb6fcef369bb74ca34aa205c69e7755dbe6d6fa6dce3ff267ca075f211c8635cab0350233a5 SHA512 a2fa204a33ae0dac98907c3af88b24f322849360e30c05101bbfa6307dc8aa6fdec580f060fc9cd9921f7706db51419efe088f927d22db860419eea4e0f4e84c
+DIST veusz-3.4.99.tar.gz 3320917 BLAKE2B 3ef3a7333009040f0d66b94cb6220becfb04e7957dcc7586326b178c1b3f5442b722fdfb8b7a1e5172a3b38c1c3d85cad52be8eeb3181d603abf0382da5b21f2 SHA512 e854d6dae32bb76caa713439ff2139c7f9797d6be72e6c88f48491c385372c4f776c0d1d183b13bc818538e6271f4daab04b630589d635adc22e8aa8380c70b8
diff --git a/sci-visualization/veusz/veusz-3.4.99.ebuild b/sci-visualization/veusz/veusz-3.4.99.ebuild
new file mode 100644
index 000000000000..958196fca5e2
--- /dev/null
+++ b/sci-visualization/veusz/veusz-3.4.99.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..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
+}
next reply other threads:[~2022-10-06 10:08 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-06 10:08 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-04 9:45 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/veusz/ Andrey Grozin
2025-05-05 13:51 Andrey Grozin
2025-04-30 5:44 Andrey Grozin
2024-11-23 17:31 Andreas Sturmlechner
2024-04-18 9:54 Andrey Grozin
2024-04-18 9:40 Andrey Grozin
2023-04-12 15:18 Andrey Grozin
2023-02-16 6:35 Andrey Grozin
2023-02-16 6:34 Andrey Grozin
2021-10-06 8:33 Jakov Smolić
2021-06-02 7:38 Andrew Ammerlaan
2021-05-06 10:43 Andrey Grozin
2021-01-08 0:00 Andreas Sturmlechner
2021-01-01 1:56 Michał Górny
2020-10-14 10:43 Alexey Shvetsov
2020-03-17 15:17 Andrey Grozin
2020-02-09 10:09 Andrey Grozin
2019-12-04 17:15 Michał Górny
2019-11-10 15:27 Michał Górny
2019-11-10 10:34 Andrey Grozin
2018-08-08 13:23 Andrey Grozin
2018-06-13 8:52 Andrey Grozin
2018-04-22 20:51 Andrey Grozin
2018-01-14 16:09 Andreas Sturmlechner
2018-01-04 15:46 Andrey Grozin
2017-07-26 15:14 Andrey Grozin
2017-03-18 7:33 Michał Górny
2017-01-11 16:17 Agostino Sarubbo
2017-01-01 14:20 Michael Palimaka
2016-12-31 6:08 Andrey Grozin
2016-07-31 15:55 David Seifert
2016-06-09 20:01 Sebastien Fabbro
2016-05-08 11:19 Andrey Grozin
2016-03-04 13:33 Andrey Grozin
2016-03-02 7:44 Andrey Grozin
2015-11-23 10:05 Justin Lecher
2015-10-22 8:32 Justin Lecher
2015-10-22 8:32 Justin Lecher
2015-10-22 8:32 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1665050916.4bd19add6f3bb153e4ecd28c1fa0c063824e95c7.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox