commit:     ab7cd5ad10e0229f0fd586f5d2405bbc87fe7b7e
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Wed Sep 17 15:06:22 2025 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Wed Sep 17 15:06:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab7cd5ad

app-office/pyspread: add 2.4

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 app-office/pyspread/Manifest            |  1 +
 app-office/pyspread/pyspread-2.4.ebuild | 47 +++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/app-office/pyspread/Manifest b/app-office/pyspread/Manifest
index 589a696b81..9041380ad9 100644
--- a/app-office/pyspread/Manifest
+++ b/app-office/pyspread/Manifest
@@ -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

diff --git a/app-office/pyspread/pyspread-2.4.ebuild 
b/app-office/pyspread/pyspread-2.4.ebuild
new file mode 100644
index 0000000000..110d08b1e4
--- /dev/null
+++ b/app-office/pyspread/pyspread-2.4.ebuild
@@ -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"
+}

Reply via email to