app-office/pyspread: add 2.4

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2025-09-18 00:06:22 +09:00
parent 30258de009
commit ab7cd5ad10
2 changed files with 48 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pyspread-2.3.1.gh.tar.bz2 2102020 BLAKE2B 73a40ad9f480fa9e879eb0141ce99c686436c86411ee5a55f6ddac67fb2b65808374754eb2e8db68727eb2b723ebcb28aedd86d0f496112bce86fcdb4b5b5410 SHA512 903449c1bc86e9effddd5d43f609a43af5098f604d34c2ffd7cfdafd93f2b9fa8dad3e2e36a95fa1ad15845edf6414a407506333f3ba9768c373b1d45200e5f0
DIST pyspread-2.4.gh.tar.bz2 2113436 BLAKE2B 2a955671b7825f1597a370b09467804c90af8b60dbb9c31495964cfaf7b7e127eb6a560365d366a35f76ea794207d76b03304ec8b2db42cc6a48fba4884a9967 SHA512 4a8b96f33146858abce48fb2066e780db0219c19ecd2aa09a7fa1902092b122f1525a2ade75bed3140dee4ae9f595d5322357e89f242ef19bb5220ebba86817f

View File

@@ -0,0 +1,47 @@
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit desktop distutils-r1 optfeature xdg
DESCRIPTION="Pyspread is a non-traditional spreadsheet written in Python"
HOMEPAGE="https://pyspread.gitlab.io"
SRC_URI="https://gitlab.com/pyspread/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.gh.tar.bz2"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/markdown2-2.3[${PYTHON_USEDEP}]
>=dev-python/matplotlib-1.1.1[${PYTHON_USEDEP}]
>=dev-python/numpy-1.1[${PYTHON_USEDEP}]
>=dev-python/pyqt6-6.4[gui,printsupport,svg,widgets,${PYTHON_USEDEP}]
>=dev-python/pyenchant-1.1.0[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_install() {
distutils-r1_src_install
rm -r "${ED}/usr/pyspread" || die
doicon "${PN}/share/icons/hicolor/64x64/${PN}.ico"
doicon "${PN}/share/icons/hicolor/svg/${PN}.svg"
domenu "${PN}.desktop"
}
src_test() {
export QT_QPA_PLATFORM=offscreen
distutils-r1_src_test
}
pkg_postint() {
xdg_pkg_postint
optfeature "R chart support" "dev-python/rpy2"
}