public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@protonmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-office/pyspread/
Date: Mon,  9 Nov 2020 12:38:44 +0000 (UTC)	[thread overview]
Message-ID: <1604925518.14b589b00430c82befbd8fb2e0d9ab654372cac4.xgqt@gentoo> (raw)

commit:     14b589b00430c82befbd8fb2e0d9ab654372cac4
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Mon Nov  9 12:37:08 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Mon Nov  9 12:38:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14b589b0

app-office/pyspread: domenu for .desktop; install icons; rm empty USE

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 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 f88641b1..4cfdb881 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 f88641b1..4cfdb881 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 f88641b1..4cfdb881 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"
 }


             reply	other threads:[~2020-11-09 12:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-09 12:38 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-17 15:10 [gentoo-commits] repo/proj/guru:dev commit in: app-office/pyspread/ Takuya Wakazono
2025-09-17 15:10 Takuya Wakazono
2025-02-09 14:23 Takuya Wakazono
2025-02-09 14:23 Takuya Wakazono
2024-08-26 14:53 Takuya Wakazono
2024-05-14 15:51 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-14 15:37 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2023-01-29 16:20 Julien Roy
2023-01-29  4:00 Julien Roy
2021-06-11 15:23 Alessandro Barbieri
2021-05-21 18:17 Maciej Barć
2021-04-18  2:55 Theo Anderson
2020-11-20 14:41 Maciej Barć
2020-11-11 22:19 Maciej Barć
2020-11-08 20:57 Maciej Barć
2020-08-20 14:54 Maciej Barć
2020-08-20 14:51 Maciej Barć
2020-08-20 14:46 Maciej Barć
2020-08-19  1:15 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1604925518.14b589b00430c82befbd8fb2e0d9ab654372cac4.xgqt@gentoo \
    --to=xgqt@protonmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox