commit: 19c1747227a6db87f5076f30b301be4c60741db9 Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> AuthorDate: Wed Aug 19 01:13:49 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Wed Aug 19 01:13:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19c17472
app-office/pyspread: new package; add version 1.99.2 and live 9999 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> app-office/pyspread/Manifest | 1 + app-office/pyspread/metadata.xml | 11 +++++++++ app-office/pyspread/pyspread-1.99.2.ebuild | 39 ++++++++++++++++++++++++++++++ app-office/pyspread/pyspread-9999.ebuild | 39 ++++++++++++++++++++++++++++++ 4 files changed, 90 insertions(+) diff --git a/app-office/pyspread/Manifest b/app-office/pyspread/Manifest new file mode 100644 index 0000000..2fab60d --- /dev/null +++ b/app-office/pyspread/Manifest @@ -0,0 +1 @@ +DIST pyspread-v1.99.2.tar.gz 2350002 BLAKE2B 61550fa44ad32b32cf69a0aa423a053d90b91c54ee9a17a13a39665a2a7e719c1aa81063aca6216a6f0675e444bc705d21e5cdd927c542fcc229acba304ad2e0 SHA512 9261cf96f19d92a5743c09854236ccec5e1b103e22b78143ddee8fce0d25f793b86e7cc3775f13c5a43cf8dd4e3f434461677b6da5311fb439067d63ce6ac968 diff --git a/app-office/pyspread/metadata.xml b/app-office/pyspread/metadata.xml new file mode 100644 index 0000000..657200d --- /dev/null +++ b/app-office/pyspread/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>x...@protonmail.com</email> + <name>Maciej Barć</name> + </maintainer> + <upstream> + <remote-id type="gitlab">pyspread/pyspread</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-office/pyspread/pyspread-1.99.2.ebuild b/app-office/pyspread/pyspread-1.99.2.ebuild new file mode 100644 index 0000000..73f3f51 --- /dev/null +++ b/app-office/pyspread/pyspread-1.99.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,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_install() { + distutils-r1_python_install + + # Install the provided desktop file + insinto /usr/share/applications + doins "${PN}.desktop" +} diff --git a/app-office/pyspread/pyspread-9999.ebuild b/app-office/pyspread/pyspread-9999.ebuild new file mode 100644 index 0000000..73f3f51 --- /dev/null +++ b/app-office/pyspread/pyspread-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,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_install() { + distutils-r1_python_install + + # Install the provided desktop file + insinto /usr/share/applications + doins "${PN}.desktop" +}