From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/
Date: Thu, 22 Nov 2018 20:25:36 +0000 (UTC) [thread overview]
Message-ID: <1542918325.c726bf64a7a5626373f961fe18c6f661d5070a05.mgorny@gentoo> (raw)
commit: c726bf64a7a5626373f961fe18c6f661d5070a05
Author: Nils Freydank <holgersson <AT> posteo <DOT> de>
AuthorDate: Sat Nov 17 12:02:50 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 22 20:25:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c726bf64
app-editors/retext: Update live ebuild
Signed-off-by: Nils Freydank <holgersson <AT> posteo.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Closes: https://github.com/gentoo/gentoo/pull/10166
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-editors/retext/retext-9999.ebuild | 41 ++++++++++++++++++++---------------
1 file changed, 24 insertions(+), 17 deletions(-)
diff --git a/app-editors/retext/retext-9999.ebuild b/app-editors/retext/retext-9999.ebuild
index b69ab5bac2a..9067cf820ea 100644
--- a/app-editors/retext/retext-9999.ebuild
+++ b/app-editors/retext/retext-9999.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python3_{4,5,6} )
+# no pypy{,3} support as PyQt5 does not support it at 2018-11-18
+# https://bitbucket.org/pypy/compatibility/wiki/Home#!gui-library-bindings
+PYTHON_COMPAT=( python3_{4,5,6,7} )
-PLOCALES="ca cs cy da de es et eu fr hu it ja pl pt pt_BR ru sk sr sr@latin uk zh_TW"
-
-inherit distutils-r1 virtualx l10n xdg-utils
+inherit distutils-r1 gnome2-utils virtualx xdg-utils
MY_PN="ReText"
MY_P="${MY_PN}-${PV/_/~}"
@@ -25,38 +25,45 @@ if [[ ${PV} == *9999 ]]
S="${WORKDIR}"/${MY_P}
fi
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
IUSE="+spell"
RDEPEND="
+ dev-python/chardet[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
- >=dev-python/markups-2.0[${PYTHON_USEDEP}]
- >=dev-python/chardet-2.3[${PYTHON_USEDEP}]
+ dev-python/markups[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/python-markdown-math[${PYTHON_USEDEP}]
dev-python/PyQt5[gui,network,printsupport,webengine,widgets,${PYTHON_USEDEP}]
spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
"
+DEPEND="
+ ${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( x11-base/xorg-server[xvfb] )
+"
-remove_locale() {
- find "${ED}" -name "retext_${1}.qm" -delete || die "Failed to remove locale ${1}."
+src_test() {
+ virtx distutils-r1_src_test
}
python_test() {
- virtx esetup.py test
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- l10n_for_each_disabled_locale_do remove_locale
+ esetup.py test
}
pkg_postinst() {
xdg_desktop_database_update
+ gnome2_icon_cache_update
+
+ 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() {
+ gnome2_icon_cache_update
xdg_desktop_database_update
}
next reply other threads:[~2018-11-22 20:25 UTC|newest]
Thread overview: 85+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-22 20:25 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-25 4:36 [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/ 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-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-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=1542918325.c726bf64a7a5626373f961fe18c6f661d5070a05.mgorny@gentoo \
--to=mgorny@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