public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/
Date: Mon, 14 Aug 2023 07:02:31 +0000 (UTC)	[thread overview]
Message-ID: <1691996548.514824518d83a1eaf42b6512972980d238e2feaf.juippis@gentoo> (raw)

commit:     514824518d83a1eaf42b6512972980d238e2feaf
Author:     Philipp Rösner <rndxelement <AT> protonmail <DOT> com>
AuthorDate: Wed Jul 26 14:42:25 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Aug 14 07:02:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51482451

app-editors/retext: pep517 support for live ebuild

Add support for PEP517 using the setuptools backend for
the live ebuild of app-editors/retext.

Bug: https://bugs.gentoo.org/909870
Signed-off-by: Philipp Rösner <rndxelement <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32054
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-editors/retext/retext-9999.ebuild | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/app-editors/retext/retext-9999.ebuild b/app-editors/retext/retext-9999.ebuild
index 7f375768199a..aa9aaadfcf57 100644
--- a/app-editors/retext/retext-9999.ebuild
+++ b/app-editors/retext/retext-9999.ebuild
@@ -3,14 +3,12 @@
 
 EAPI=8
 
-# Please don't add pypy support before testing if it's actually supported. The
-# old compat matrix is no longer accessible as of 2021-02-13 but stated back
-# in 2020-07-05 that PyQt5 was explicitly not supported.
+DISTUTILS_USE_PEP517="setuptools"
 PYTHON_COMPAT=( python3_{9..11} )
 PYPI_NO_NORMALIZE=1
 PYPI_PN="ReText"
 
-inherit distutils-r1 optfeature qmake-utils virtualx xdg
+inherit desktop distutils-r1 optfeature qmake-utils virtualx xdg
 
 DESCRIPTION="Simple editor for Markdown and reStructuredText"
 HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki"
@@ -49,6 +47,13 @@ pkg_setup() {
 	export PATH="$(qt5_get_bindir):${PATH}"
 }
 
+python_install() {
+	distutils-r1_python_install
+
+	newicon data/retext-kde5.png retext.png
+	make_desktop_entry ${PN} "ReText" ${PN} "Office;WordProcessor"
+}
+
 src_test() {
 	virtx distutils-r1_src_test
 }
@@ -61,11 +66,13 @@ pkg_postinst() {
 	xdg_pkg_postinst
 
 	optfeature "dictionary support" dev-python/pyenchant
-	# See https://bugs.gentoo.org/772197.
-	optfeature "rendering with webengine" dev-python/PyQt6-WebEngine
 
 	einfo "Starting with retext-7.0.4 the markdown-math plugin is installed."
 	einfo "Note that you can use different math delimiters, e.g. \(...\) for inline math."
 	einfo "For more details take a look at:"
 	einfo "https://github.com/mitya57/python-markdown-math#math-delimiters"
 }
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}


             reply	other threads:[~2023-08-14  7:02 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14  7:02 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-28  2:49 [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/ Sam James
2025-05-28  2:49 Sam James
2025-05-28  2:49 Sam James
2025-04-28 14:01 Sam James
2025-03-25  4:36 Sam James
2025-03-25  4:36 Sam James
2025-03-25  4:36 Sam James
2024-11-24 22:16 Jakov Smolić
2024-11-23 14:15 Michał Górny
2024-04-27  3:46 Michał Górny
2024-04-27  3:46 Michał Górny
2024-03-18 20:04 Conrad Kostecki
2023-11-02  8:13 Joonas Niilola
2023-10-03 14:15 Sam James
2023-08-14  7:02 Joonas Niilola
2023-05-20  6:26 Michał Górny
2023-03-07 17:56 Jimi Huotari
2023-03-04  7:18 Sam James
2023-03-04  7:18 Sam James
2023-01-28  8:43 Joonas Niilola
2023-01-28  8:43 Joonas Niilola
2023-01-28  8:43 Joonas Niilola
2022-08-22  8:54 Agostino Sarubbo
2022-08-20 23:03 Sam James
2022-06-03  8:27 Sam James
2022-02-20  5:27 Sam James
2022-02-19 19:22 Sam James
2022-01-02  3:29 Sam James
2021-07-19  7:47 Joonas Niilola
2021-07-16  3:58 Sam James
2021-07-16  3:58 Sam James
2021-03-21  9:35 Joonas Niilola
2021-03-21  9:35 Joonas Niilola
2021-03-21  9:35 Joonas Niilola
2021-03-04  6:24 Sam James
2021-03-04  6:24 Sam James
2021-02-25 14:46 Joonas Niilola
2021-02-25 14:46 Joonas Niilola
2021-02-24  7:06 Joonas Niilola
2021-02-24  7:06 Joonas Niilola
2021-02-24  7:06 Joonas Niilola
2021-02-24  7:06 Joonas Niilola
2020-09-18 15:56 Michał Górny
2020-08-30  1:32 Thomas Deutschmann
2020-08-25 12:53 Agostino Sarubbo
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2019-12-13  5:23 Davide Pesavento
2019-12-12 16:01 Agostino Sarubbo
2019-12-11 10:47 Agostino Sarubbo
2019-05-15 23:02 Andreas Sturmlechner
2019-05-15 23:02 Andreas Sturmlechner
2018-11-22 20:25 Michał Górny
2018-11-22 20:25 Michał Górny
2018-08-17  0:14 Mikle Kolyada
2018-08-16  0:39 Thomas Deutschmann
2018-07-04 21:53 Patrice Clement
2018-05-25 22:32 Aaron Bauman
2018-05-25 22:32 Aaron Bauman
2018-05-25 22:32 Aaron Bauman
2018-05-25 22:32 Aaron Bauman
2018-04-30 16:08 Patrice Clement
2018-04-30 16:08 Patrice Clement
2018-04-30 16:08 Patrice Clement
2018-04-30 16:08 Patrice Clement
2017-11-21 18:02 Manuel Rüger
2017-09-02 15:04 Michael Palimaka
2017-06-26 17:31 Manuel Rüger
2017-06-08 11:38 Manuel Rüger
2017-05-06 17:39 Manuel Rüger
2017-05-06 17:20 Agostino Sarubbo
2017-05-05 14:10 Agostino Sarubbo
2017-05-04 15:17 Manuel Rüger
2017-03-13 11:32 Manuel Rüger
2017-03-13 11:32 Manuel Rüger
2017-03-13 11:32 Manuel Rüger
2016-10-10 22:50 Manuel Rüger
2016-09-04 23:18 Manuel Rüger
2016-09-04 22:05 Manuel Rüger
2016-09-04 22:05 Manuel Rüger
2016-04-10  0:08 Manuel Rüger
2016-04-10  0:08 Manuel Rüger
2016-02-17 21:28 Manuel Rüger
2016-02-17 21:28 Manuel Rüger
2015-12-20 16:35 Justin Lecher
2015-10-10 16:31 Justin Lecher
2015-09-23 15:58 Justin Lecher

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=1691996548.514824518d83a1eaf42b6512972980d238e2feaf.juippis@gentoo \
    --to=juippis@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