commit: be5b1bf3e812fe99dd839860ae79a7ca76a90b76
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sun Nov 8 20:56:47 2020 +0000
Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Sun Nov 8 20:57:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=be5b1bf3
app-office/pyspread: bump to 1.99.4
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
app-office/pyspread/Manifest | 1 +
app-office/pyspread/pyspread-1.99.4.ebuild | 46 ++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/app-office/pyspread/Manifest b/app-office/pyspread/Manifest
index 2fab60d0..8a0e83a0 100644
--- a/app-office/pyspread/Manifest
+++ b/app-office/pyspread/Manifest
@@ -1 +1,2 @@
DIST pyspread-v1.99.2.tar.gz 2350002 BLAKE2B
61550fa44ad32b32cf69a0aa423a053d90b91c54ee9a17a13a39665a2a7e719c1aa81063aca6216a6f0675e444bc705d21e5cdd927c542fcc229acba304ad2e0
SHA512
9261cf96f19d92a5743c09854236ccec5e1b103e22b78143ddee8fce0d25f793b86e7cc3775f13c5a43cf8dd4e3f434461677b6da5311fb439067d63ce6ac968
+DIST pyspread-v1.99.4.tar.gz 2344373 BLAKE2B
033aec481812e37e30c8ab43962128f94ece11c9106460b33de51467ede959f30bd00c70cd7be6d9b496862337c21197a9ff8b231ff34b2aaf28c6f8697011f8
SHA512
e865238fbe32aca5785b4a83f3c901367925326d0b2c6d86b0fa0b3cc04b56605e8e0809df1f09f642553fd94e6bbacc6abc80153a50835b1ef49c6161efc5dc
diff --git a/app-office/pyspread/pyspread-1.99.4.ebuild
b/app-office/pyspread/pyspread-1.99.4.ebuild
new file mode 100644
index 00000000..f88641b1
--- /dev/null
+++ b/app-office/pyspread/pyspread-1.99.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit eutils xdg distutils-r1
+
+DESCRIPTION="Pyspread is a non-traditional spreadsheet written in Python"
+HOMEPAGE="https://pyspread.gitlab.io"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/pyspread/${PN}.git"
+else
+
SRC_URI="https://gitlab.com/pyspread/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-v${PV}"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ >=dev-python/PyQt5-5.10.0[svg,${PYTHON_USEDEP}]
+ >=dev-python/matplotlib-1.1.1[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.1.1[${PYTHON_USEDEP}]
+ >=dev-python/pyenchant-1.1.0[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ # Fix the provided desktop file
+ sed -i -e '/Path/d' "${PN}.desktop" || die
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ # Install the provided desktop file
+ insinto /usr/share/applications
+ doins "${PN}.desktop"
+}