From 14b589b00430c82befbd8fb2e0d9ab654372cac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 9 Nov 2020 13:37:08 +0100 Subject: [PATCH] app-office/pyspread: domenu for .desktop; install icons; rm empty USE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Maciej Barć --- app-office/pyspread/pyspread-1.99.2-r1.ebuild | 9 ++++----- app-office/pyspread/pyspread-1.99.4.ebuild | 9 ++++----- app-office/pyspread/pyspread-9999.ebuild | 9 ++++----- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/app-office/pyspread/pyspread-1.99.2-r1.ebuild b/app-office/pyspread/pyspread-1.99.2-r1.ebuild index f88641b104..4cfdb881f4 100644 --- a/app-office/pyspread/pyspread-1.99.2-r1.ebuild +++ b/app-office/pyspread/pyspread-1.99.2-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8} ) -inherit eutils xdg distutils-r1 +inherit eutils xdg desktop distutils-r1 DESCRIPTION="Pyspread is a non-traditional spreadsheet written in Python" HOMEPAGE="https://pyspread.gitlab.io" @@ -21,7 +21,6 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="" RDEPEND=" >=dev-python/PyQt5-5.10.0[svg,${PYTHON_USEDEP}] @@ -40,7 +39,7 @@ python_prepare_all() { python_install() { distutils-r1_python_install - # Install the provided desktop file - insinto /usr/share/applications - doins "${PN}.desktop" + 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.4.ebuild index f88641b104..4cfdb881f4 100644 --- a/app-office/pyspread/pyspread-1.99.4.ebuild +++ b/app-office/pyspread/pyspread-1.99.4.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8} ) -inherit eutils xdg distutils-r1 +inherit eutils xdg desktop distutils-r1 DESCRIPTION="Pyspread is a non-traditional spreadsheet written in Python" HOMEPAGE="https://pyspread.gitlab.io" @@ -21,7 +21,6 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="" RDEPEND=" >=dev-python/PyQt5-5.10.0[svg,${PYTHON_USEDEP}] @@ -40,7 +39,7 @@ python_prepare_all() { python_install() { distutils-r1_python_install - # Install the provided desktop file - insinto /usr/share/applications - doins "${PN}.desktop" + doicon "${PN}"/share/icons/"${PN}.ico" + doicon "${PN}"/share/icons/"${PN}.svg" + domenu "${PN}.desktop" } diff --git a/app-office/pyspread/pyspread-9999.ebuild b/app-office/pyspread/pyspread-9999.ebuild index f88641b104..4cfdb881f4 100644 --- a/app-office/pyspread/pyspread-9999.ebuild +++ b/app-office/pyspread/pyspread-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8} ) -inherit eutils xdg distutils-r1 +inherit eutils xdg desktop distutils-r1 DESCRIPTION="Pyspread is a non-traditional spreadsheet written in Python" HOMEPAGE="https://pyspread.gitlab.io" @@ -21,7 +21,6 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="" RDEPEND=" >=dev-python/PyQt5-5.10.0[svg,${PYTHON_USEDEP}] @@ -40,7 +39,7 @@ python_prepare_all() { python_install() { distutils-r1_python_install - # Install the provided desktop file - insinto /usr/share/applications - doins "${PN}.desktop" + doicon "${PN}"/share/icons/"${PN}.ico" + doicon "${PN}"/share/icons/"${PN}.svg" + domenu "${PN}.desktop" }