From: "Hanno Böck" <hanno@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/
Date: Tue, 21 Feb 2023 08:24:42 +0000 (UTC) [thread overview]
Message-ID: <1676967829.222e7cd8cd15b61cc391e653dd4d5814386980c4.hanno@gentoo> (raw)
commit: 222e7cd8cd15b61cc391e653dd4d5814386980c4
Author: Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 08:23:49 2023 +0000
Commit: Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 08:23:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222e7cd8
media-gfx/cropgui: Python 3.11 support, EAPI 8.
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>
media-gfx/cropgui/cropgui-0.6-r2.ebuild | 45 +++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/media-gfx/cropgui/cropgui-0.6-r2.ebuild b/media-gfx/cropgui/cropgui-0.6-r2.ebuild
new file mode 100644
index 000000000000..8526868539b5
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.6-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+inherit python-r1 desktop wrapper xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946"
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+install_cropgui_wrapper() {
+ python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade
+ make_wrapper "${PN}.tmp" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py"
+ python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+ rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+ python_moduleinto "${PN}"
+ python_foreach_impl install_cropgui_wrapper
+
+ domenu "${PN}.desktop"
+ doicon "${PN}.png"
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
next reply other threads:[~2023-02-21 8:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 8:24 Hanno Böck [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-02 7:04 [gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/ Hanno Böck
2024-06-10 7:13 Hanno Böck
2023-12-09 11:32 Hanno Böck
2023-12-05 12:37 Hanno Böck
2022-10-08 20:01 Sam James
2022-10-08 20:01 Sam James
2022-01-31 20:16 Hanno Böck
2021-12-28 8:40 Hanno Böck
2020-09-07 6:49 Hanno Böck
2020-03-23 6:39 Hanno Böck
2018-12-09 16:57 Mikle Kolyada
2018-12-09 16:57 Mikle Kolyada
2018-12-07 12:33 Mikle Kolyada
2018-12-06 15:19 Mikle Kolyada
2017-08-30 15:40 Sergey Popov
2017-05-31 6:42 Sergey Popov
2016-05-14 7:20 Michał Górny
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=1676967829.222e7cd8cd15b61cc391e653dd4d5814386980c4.hanno@gentoo \
--to=hanno@gentoo.org \
--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