From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BFF2C15ACFB for ; Wed, 12 Apr 2023 15:18:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC817E0805; Wed, 12 Apr 2023 15:18:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4DEDE0805 for ; Wed, 12 Apr 2023 15:18:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9285C340E96 for ; Wed, 12 Apr 2023 15:18:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07C4BA1E for ; Wed, 12 Apr 2023 15:18:29 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1681312694.89c3087d339e2740dc9a6a6bf7805e3088e6b128.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/veusz/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-visualization/veusz/Manifest sci-visualization/veusz/veusz-3.6.2.ebuild X-VCS-Directories: sci-visualization/veusz/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 89c3087d339e2740dc9a6a6bf7805e3088e6b128 X-VCS-Branch: master Date: Wed, 12 Apr 2023 15:18:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e00aed80-8e3c-4240-91e3-b06c25c7299e X-Archives-Hash: aebc6dd9f922ee6e10f0487e3638e9da commit: 89c3087d339e2740dc9a6a6bf7805e3088e6b128 Author: Andrey Grozin gentoo org> AuthorDate: Wed Apr 12 15:18:14 2023 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Wed Apr 12 15:18:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c3087d sci-visualization/veusz: bump to 3.6.2 Signed-off-by: Andrey Grozin gentoo.org> sci-visualization/veusz/Manifest | 1 + sci-visualization/veusz/veusz-3.6.2.ebuild | 70 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) 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 +}