diff options
author | 2021-05-24 15:01:20 +0500 | |
---|---|---|
committer | 2021-05-25 12:57:59 +0500 | |
commit | 052f709c750689eab6fef4bcba250b7aec1d140b (patch) | |
tree | 16774d4a4c0500817f0472bf40298ee1733a4844 /app-office | |
parent | dev-python/aiosmtplib: add 1.1.6 + docs + tests (diff) | |
download | guru-052f709c750689eab6fef4bcba250b7aec1d140b.tar.gz guru-052f709c750689eab6fef4bcba250b7aec1d140b.tar.bz2 guru-052f709c750689eab6fef4bcba250b7aec1d140b.zip |
app-office/pyspread: drop old, add 1.99.6 + tests
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/pyspread/Manifest | 3 | ||||
-rw-r--r-- | app-office/pyspread/pyspread-1.99.5.ebuild | 45 | ||||
-rw-r--r-- | app-office/pyspread/pyspread-1.99.6.ebuild (renamed from app-office/pyspread/pyspread-1.99.4.ebuild) | 17 |
3 files changed, 17 insertions, 48 deletions
diff --git a/app-office/pyspread/Manifest b/app-office/pyspread/Manifest index e963fd640..de6471a30 100644 --- a/app-office/pyspread/Manifest +++ b/app-office/pyspread/Manifest @@ -1,2 +1 @@ -DIST pyspread-v1.99.4.tar.gz 2344373 BLAKE2B 033aec481812e37e30c8ab43962128f94ece11c9106460b33de51467ede959f30bd00c70cd7be6d9b496862337c21197a9ff8b231ff34b2aaf28c6f8697011f8 SHA512 e865238fbe32aca5785b4a83f3c901367925326d0b2c6d86b0fa0b3cc04b56605e8e0809df1f09f642553fd94e6bbacc6abc80153a50835b1ef49c6161efc5dc -DIST pyspread-v1.99.5.tar.gz 2357630 BLAKE2B 2a0d5ad1abd18898c921803793d2c19e56519257781b71287479b14a1e2cae348ac36f1b663362d996fef90913393d61221163b41ce92696b6fededff685176b SHA512 b186e31931c7ae582dbb2b0b01ef22c5a93361002e26c00010391203eb0a41da21dfc7533f08c075f32831dac6667b2cf705cee7eca7c1d5bedfd34c78979e93 +DIST pyspread-v1.99.6.tar.gz 2336389 BLAKE2B 0c5e41bacd79c5357f29c53581f551ea8b09cb1d518a5217e55448109bf87422c485b437cba54ee3482bc5107aea6a23a2e55b953f40f64dc29fab253a973eed SHA512 e569ff2de5fcc3ecf0cb20c20c815093f5eaab05e0db2b7509aeb3d8a7ea982237c6ca7d0004a372d829e444a50e1fcee250cd5fdeb6d03995a2b7ca6fb75a8f diff --git a/app-office/pyspread/pyspread-1.99.5.ebuild b/app-office/pyspread/pyspread-1.99.5.ebuild deleted file mode 100644 index 59d4215a3..000000000 --- a/app-office/pyspread/pyspread-1.99.5.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit xdg desktop 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" - -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 - - doicon "${PN}"/share/icons/"${PN}.ico" - doicon "${PN}"/share/icons/"${PN}.svg" - domenu "${PN}.desktop" -} diff --git a/app-office/pyspread/pyspread-1.99.4.ebuild b/app-office/pyspread/pyspread-1.99.6.ebuild index 59d4215a3..e5b10979b 100644 --- a/app-office/pyspread/pyspread-1.99.4.ebuild +++ b/app-office/pyspread/pyspread-1.99.6.ebuild @@ -23,12 +23,22 @@ LICENSE="GPL-3" SLOT="0" RDEPEND=" - >=dev-python/PyQt5-5.10.0[svg,${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.10.0[gui,printsupport,svg,widgets,${PYTHON_USEDEP}] + >=dev-python/markdown2-2.3[${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}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] " +distutils_enable_tests pytest + +# TODO: package sphinxbootstrap4theme +#distutils_enable_sphinx apidocs \ +# "dev-python/sphinx-autodoc-typehints" \ +# "dev-python/recommonmark" \ +# "dev-python/sphinxbootstrap4theme" + python_prepare_all() { distutils-r1_python_prepare_all @@ -43,3 +53,8 @@ python_install() { doicon "${PN}"/share/icons/"${PN}.svg" domenu "${PN}.desktop" } + +python_test() { + export QT_QPA_PLATFORM=offscreen + epytest +} |