From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1187491-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6C8FA138359
	for <garchives@archives.gentoo.org>; Wed, 15 Jul 2020 08:07:07 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8A8E1E0972;
	Wed, 15 Jul 2020 08:06:51 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E49DDE097D
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Jul 2020 08:06:50 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 15B1234EF11
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Jul 2020 08:06:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BDDF2E1
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Jul 2020 08:06:46 +0000 (UTC)
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org>
Message-ID: <1594800396.4d4c45e341348864d77e2a817610cad637ed4ce5.juippis@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-editors/retext/retext-7.1.0.ebuild app-editors/retext/retext-9999.ebuild
X-VCS-Directories: app-editors/retext/
X-VCS-Committer: juippis
X-VCS-Committer-Name: Joonas Niilola
X-VCS-Revision: 4d4c45e341348864d77e2a817610cad637ed4ce5
X-VCS-Branch: master
Date: Wed, 15 Jul 2020 08:06:46 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 9271611f-1aa1-4168-8252-a209ccd68620
X-Archives-Hash: 51f0301d41efeb91d3824c80f1490369

commit:     4d4c45e341348864d77e2a817610cad637ed4ce5
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 15 07:15:18 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 15 08:06:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4c45e3

app-editors/retext: use D_U_S, optfeature

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-editors/retext/retext-7.1.0.ebuild | 13 ++++---------
 app-editors/retext/retext-9999.ebuild  | 11 +++--------
 2 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/app-editors/retext/retext-7.1.0.ebuild b/app-editors/retext/retext-7.1.0.ebuild
index f06ff35ad24..482db4845ce 100644
--- a/app-editors/retext/retext-7.1.0.ebuild
+++ b/app-editors/retext/retext-7.1.0.ebuild
@@ -7,7 +7,7 @@ EAPI=7
 # https://bitbucket.org/pypy/compatibility/wiki/Home#!gui-library-bindings
 PYTHON_COMPAT=( python3_{7,8,9} )
 
-inherit distutils-r1 virtualx xdg-utils
+inherit distutils-r1 eutils virtualx xdg-utils
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 MY_PN="ReText"
@@ -28,7 +28,6 @@ fi
 
 LICENSE="GPL-2+"
 SLOT="0"
-IUSE="+spell"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -40,14 +39,8 @@ RDEPEND="
 	dev-python/python-markdown-math[${PYTHON_USEDEP}]
 	dev-python/PyQt5[gui,network,printsupport,widgets,${PYTHON_USEDEP}]
 	dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
-	spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
-"
-DEPEND="
-	${RDEPEND}
-"
-BDEPEND="
-	dev-python/setuptools[${PYTHON_USEDEP}]
 "
+DEPEND="${RDEPEND}"
 
 src_test() {
 	virtx distutils-r1_src_test
@@ -61,6 +54,8 @@ pkg_postinst() {
 	xdg_desktop_database_update
 	xdg_icon_cache_update
 
+	optfeature "dictionary support" dev-python/pyenchant
+
 	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:"

diff --git a/app-editors/retext/retext-9999.ebuild b/app-editors/retext/retext-9999.ebuild
index f06ff35ad24..72e36651206 100644
--- a/app-editors/retext/retext-9999.ebuild
+++ b/app-editors/retext/retext-9999.ebuild
@@ -28,7 +28,6 @@ fi
 
 LICENSE="GPL-2+"
 SLOT="0"
-IUSE="+spell"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -40,14 +39,8 @@ RDEPEND="
 	dev-python/python-markdown-math[${PYTHON_USEDEP}]
 	dev-python/PyQt5[gui,network,printsupport,widgets,${PYTHON_USEDEP}]
 	dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
-	spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
-"
-DEPEND="
-	${RDEPEND}
-"
-BDEPEND="
-	dev-python/setuptools[${PYTHON_USEDEP}]
 "
+DEPEND="${RDEPEND}"
 
 src_test() {
 	virtx distutils-r1_src_test
@@ -61,6 +54,8 @@ pkg_postinst() {
 	xdg_desktop_database_update
 	xdg_icon_cache_update
 
+	optfeature "dictionary support" dev-python/pyenchant
+
 	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:"