app-office/pyspread: bump to 1.99.4

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć
2020-11-08 21:56:47 +01:00
parent 108d45756b
commit be5b1bf3e8
2 changed files with 47 additions and 0 deletions

View File

@@ -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

View File

@@ -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"
}