mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
sci-visualization/veusz: drop 3.6.2-r3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST veusz-3.6.2.tar.gz 3330225 BLAKE2B dacadb7f4a4059cab02c07d2af4e53ba3b5714593233ff2995083237416e26425723950603dc542ac58cc355aaf6106c3fd4065efddb9cc7884757e440d3efa2 SHA512 5580171c0259415cf3de11322133fde02e244b65ffede1e83b5e6d17c8a037624860550495dc0b53c7b5e2f65b3ae6b95daa0e95f7164358e1201ffedeb13f51
|
||||
DIST veusz-4.0.tar.gz 3429227 BLAKE2B 213216354f9053df4015e95d098af667c9da6bcc3d384b5fe9e4325d4cc4f9b7520271e80ce092f6768fbf25b120f644164aafc3aa1eb1dc3685dd1e94d6582b SHA512 39d336ed59c4a68ae9ebbaaff37fd61788932a62debd076567acc854b69847bfa0d1e5801029ed785d00becbf3c7451e3ce80966c68d9f24f101a7ddb69b8059
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
diff '--color=auto' -r -U2 veusz-3.6.2.orig/pyqt_setuptools.py veusz-3.6.2/pyqt_setuptools.py
|
||||
--- veusz-3.6.2.orig/pyqt_setuptools.py 2023-02-25 16:47:30.000000000 +0700
|
||||
+++ veusz-3.6.2/pyqt_setuptools.py 2025-05-05 20:37:20.190868091 +0700
|
||||
@@ -9,5 +9,5 @@
|
||||
import shutil
|
||||
import subprocess
|
||||
-import tomli
|
||||
+import tomllib
|
||||
|
||||
from sysconfig import get_path
|
||||
@@ -231,5 +231,5 @@
|
||||
pyqt5_toml = os.path.join(pyqt5_include_dir, 'QtCore', 'QtCore.toml')
|
||||
with open(pyqt5_toml, 'rb') as fin:
|
||||
- pyqt5_cfg = tomli.load(fin)
|
||||
+ pyqt5_cfg = tomllib.load(fin)
|
||||
abi_version = pyqt5_cfg.get('sip-abi-version')
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_EXT=1
|
||||
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[gui,printsupport,svg,widgets,${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
|
||||
hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="${COMMON_DEPEND}
|
||||
dev-python/sip:5[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/tomli.patch )
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user