public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Sat,  2 Nov 2024 07:04:10 +0000 (UTC)	[thread overview]
Message-ID: <1730531042.3a0433c9b2f547af8b7a1aa7691dcc2d8e078cb5.hanno@gentoo> (raw)

commit:     3a0433c9b2f547af8b7a1aa7691dcc2d8e078cb5
Author:     Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  2 07:03:31 2024 +0000
Commit:     Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 07:04:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a0433c9

media-gfx/cropgui: add 0.9, python 3.13 support

Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>

 media-gfx/cropgui/Manifest           |  1 +
 media-gfx/cropgui/cropgui-0.9.ebuild | 47 ++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index b18c7e67cdd2..836aed4807fd 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1,2 +1,3 @@
 DIST cropgui-0.7.tar.gz 855705 BLAKE2B d2693034b3e3a4355f58c4d17d355721189da8442b5d49ba4c11dc0033371c74301a99c001613c427375bdb9cd733f56a870186a6a59b631feaae93dbd69b232 SHA512 ea06527bdd80382bf4986ea1eea8d3c0e11ea60c472bebb489fdc3bd8206f087d0377d769e8fe86ec4573f6d510266443fd25134894b91206e1c5c9d6f7cf563
 DIST cropgui-0.8.tar.gz 857102 BLAKE2B 0fb1dd24c282e6c5595de97dc2c52d20e7c1200d7092edb8e3173276873c49512088f1fc8deed0c1e3d6b606009fe06f3c38cf98c7dac15dd74ccbdab2d71539 SHA512 911bea2b989ce53afeaf067fe5d718440b0a15c26b9488259569f1a287c8128cb7244bcb0721b15ec3564644a0ba8e9ed2991d275420bf3e3659cb0be2e8622d
+DIST cropgui-0.9.tar.gz 857265 BLAKE2B 8df3f1451b5a663fb9fdd7d414ec7f5e15f0db307c2b15c0bbd67a42b0e0358ffc8ca9cd5f5fcf837d289b3c76c27c54feddd440a0d43c2589c5d465f969345c SHA512 dd5b329d9da71a5764403099e379398aa352aca57574975799e74081d31933fb3f93fd8e2ea4657972a4d7e8a198b4195b37bc6a4778ae645b490b0f0318ac16

diff --git a/media-gfx/cropgui/cropgui-0.9.ebuild b/media-gfx/cropgui/cropgui-0.9.ebuild
new file mode 100644
index 000000000000..39b2dd8f684b
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.9.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+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}]
+	media-libs/exiftool
+	media-gfx/imagemagick"
+
+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
+}


             reply	other threads:[~2024-11-02  7:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-02  7:04 Hanno Böck [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-10  7:13 [gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/ Hanno Böck
2023-12-09 11:32 Hanno Böck
2023-12-05 12:37 Hanno Böck
2023-02-21  8:24 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=1730531042.3a0433c9b2f547af8b7a1aa7691dcc2d8e078cb5.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