From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/
Date: Sun, 21 Jul 2019 11:58:49 +0000 (UTC) [thread overview]
Message-ID: <1563710315.8e92d34680b2ce1aa600fc43030d0bfc1f45e1c3.asturm@gentoo> (raw)
commit: 8e92d34680b2ce1aa600fc43030d0bfc1f45e1c3
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Sun Jul 21 05:46:03 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 11:58:35 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e92d346
app-text/sigil: add USE=plugins
USE flag to disable Python libs deps if no plugin support is desired
depend on system css-parser instead of bundled
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-text/sigil/metadata.xml | 1 +
app-text/sigil/sigil-0.9.16.ebuild | 23 ++++++++++++++++-------
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/app-text/sigil/metadata.xml b/app-text/sigil/metadata.xml
index 745afeddf71..ec9790cba78 100644
--- a/app-text/sigil/metadata.xml
+++ b/app-text/sigil/metadata.xml
@@ -12,6 +12,7 @@
<longdescription lang="en">Sigil is a multi-platform WYSIWYG ebook editor.
It is designed to edit books in ePub format.</longdescription>
<use>
+ <flag name="plugins">Installed needed Python packages for using Sigil plugins</flag>
<flag name="system-mathjax">Use the system-wide <pkg>dev-libs/mathjax</pkg> instead of bundled</flag>
</use>
<upstream>
diff --git a/app-text/sigil/sigil-0.9.16.ebuild b/app-text/sigil/sigil-0.9.16.ebuild
index 1ee490a23ec..2faaf3abb78 100644
--- a/app-text/sigil/sigil-0.9.16.ebuild
+++ b/app-text/sigil/sigil-0.9.16.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-3+ Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="system-mathjax"
+IUSE="+plugins system-mathjax"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
@@ -24,13 +24,8 @@ RDEPEND="
dev-libs/boost:=[threads]
dev-libs/libpcre:3=[pcre16]
dev-libs/xerces-c[icu]
- dev-python/chardet[${PYTHON_USEDEP}]
- dev-python/cssselect[${PYTHON_USEDEP}]
- dev-python/cssutils[${PYTHON_USEDEP}]
- dev-python/html5lib[${PYTHON_USEDEP}]
+ dev-python/css-parser[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
- dev-python/pillow[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-qt/qtconcurrent-5.12:5
>=dev-qt/qtcore-5.12:5
@@ -40,6 +35,14 @@ RDEPEND="
>=dev-qt/qtwidgets-5.12:5
>=dev-qt/qtxmlpatterns-5.12:5
sys-libs/zlib[minizip]
+ plugins? (
+ dev-python/chardet[${PYTHON_USEDEP}]
+ dev-python/cssselect[${PYTHON_USEDEP}]
+ dev-python/cssutils[${PYTHON_USEDEP}]
+ dev-python/html5lib[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/regex[${PYTHON_USEDEP}]
+ )
system-mathjax? ( dev-libs/mathjax )
"
DEPEND="${RDEPEND}"
@@ -66,6 +69,12 @@ For example use & # 1 6 0 ; for non-breaking spaces and etc.
We strongly recommend enabling Mend On Open in your settings
for best performance with Sigil."
+src_prepare() {
+ # bundled is a exact copy of the package, and upstream plan to switch soon
+ rm -r src/Resource_Files/plugin_launchers/python/css_parser/ || die
+ cmake-utils_src_prepare
+}
+
src_configure() {
python_export PYTHON_LIBPATH PYTHON_INCLUDEDIR
local mycmakeargs=(
next reply other threads:[~2019-07-21 11:58 UTC|newest]
Thread overview: 107+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-21 11:58 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-01 16:02 [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/ Arthur Zamarin
2025-01-23 17:09 Arthur Zamarin
2025-01-19 13:42 Sam James
2025-01-17 9:13 Arthur Zamarin
2024-12-28 11:58 Arthur Zamarin
2024-10-09 5:46 Sam James
2024-09-27 21:53 Sam James
2024-08-17 18:51 Arthur Zamarin
2024-07-20 12:38 Arthur Zamarin
2024-07-20 11:14 Arthur Zamarin
2024-06-23 17:48 Arthur Zamarin
2024-06-15 19:21 Arthur Zamarin
2024-05-10 20:04 Arthur Zamarin
2024-05-10 18:39 Sam James
2024-04-06 5:26 Arthur Zamarin
2024-04-05 15:22 Arthur Zamarin
2024-04-05 11:38 Arthur Zamarin
2024-02-27 18:49 Arthur Zamarin
2023-12-06 7:41 Sam James
2023-12-05 4:20 Michał Górny
2023-11-10 20:58 Arthur Zamarin
2023-11-10 20:58 Arthur Zamarin
2023-11-04 19:40 Sam James
2023-11-04 17:14 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-09 17:40 Arthur Zamarin
2023-08-29 12:31 Andrey Grozin
2023-08-24 16:50 Arthur Zamarin
2023-07-07 19:00 Arthur Zamarin
2023-06-09 14:42 Arthur Zamarin
2023-05-04 8:41 Arthur Zamarin
2023-05-04 2:31 Sam James
2023-03-15 16:46 Arthur Zamarin
2023-02-24 11:24 Arthur Zamarin
2023-02-07 17:25 Andreas Sturmlechner
2022-10-31 16:41 Agostino Sarubbo
2022-10-20 10:52 Jakov Smolić
2022-09-27 7:20 Arthur Zamarin
2022-09-27 7:10 Agostino Sarubbo
2022-09-26 12:27 Sam James
2022-09-16 10:27 Arthur Zamarin
2022-07-29 11:03 Arthur Zamarin
2022-04-10 17:47 Arthur Zamarin
2022-04-02 6:12 Arthur Zamarin
2022-04-02 6:12 Arthur Zamarin
2022-02-14 20:49 Sam James
2022-02-13 23:49 Sam James
2021-10-25 17:20 Arthur Zamarin
2021-09-03 7:36 Arthur Zamarin
2021-09-03 6:40 Agostino Sarubbo
2021-09-03 6:34 Agostino Sarubbo
2021-08-14 15:57 Arthur Zamarin
2021-08-01 6:13 Ionen Wolkens
2021-08-01 6:13 Ionen Wolkens
2021-05-09 4:05 Sam James
2021-05-09 4:05 Sam James
2021-03-31 7:40 Joonas Niilola
2021-03-31 7:40 Joonas Niilola
2021-02-16 12:26 Sam James
2020-12-26 21:42 Andreas Sturmlechner
2020-11-15 8:53 Sam James
2020-11-12 21:03 Thomas Deutschmann
2020-08-05 12:56 Joonas Niilola
2020-08-05 12:56 Joonas Niilola
2020-07-20 6:42 Agostino Sarubbo
2020-07-19 7:43 Agostino Sarubbo
2020-06-16 19:00 Andreas Sturmlechner
2020-04-29 11:40 Joonas Niilola
2020-04-29 11:40 Joonas Niilola
2020-02-25 14:51 Joonas Niilola
2020-01-11 23:51 Andreas Sturmlechner
2020-01-11 23:51 Andreas Sturmlechner
2019-12-19 15:41 Joonas Niilola
2019-09-04 16:08 Joonas Niilola
2019-09-04 16:08 Joonas Niilola
2019-08-23 18:22 Joonas Niilola
2019-08-23 10:13 Agostino Sarubbo
2019-08-23 10:03 Agostino Sarubbo
2019-07-21 11:58 Andreas Sturmlechner
2019-07-21 11:58 Andreas Sturmlechner
2019-07-21 11:58 Andreas Sturmlechner
2019-04-29 14:26 Michał Górny
2019-04-29 14:26 Michał Górny
2018-06-27 19:29 Pacho Ramos
2016-10-02 11:49 Amy Winston
2016-09-10 21:19 Tobias Klausmann
2016-09-10 20:37 Tobias Klausmann
2016-09-10 20:33 Tobias Klausmann
2016-07-04 0:05 Göktürk Yüksek
2016-07-04 0:05 Göktürk Yüksek
2016-04-06 7:10 Ian Delaney
2016-04-06 7:10 Ian Delaney
2016-03-29 23:36 Patrice Clement
2016-03-29 23:36 Patrice Clement
2016-02-20 2:30 Ian Delaney
2016-02-13 6:29 Ian Delaney
2016-02-10 10:32 Ian Delaney
2016-02-06 15:02 Ian Delaney
2016-01-02 13:09 Patrice Clement
2015-12-08 8:22 Patrice Clement
2015-11-27 9:11 Patrice Clement
2015-10-08 21:29 Matt Thode
2015-09-25 9:12 Patrice Clement
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=1563710315.8e92d34680b2ce1aa600fc43030d0bfc1f45e1c3.asturm@gentoo \
--to=asturm@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