From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1334598-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 97A06158087
	for <garchives@archives.gentoo.org>; Fri, 29 Oct 2021 18:18:13 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DC751E0843;
	Fri, 29 Oct 2021 18:18:12 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C7ABEE0843
	for <gentoo-commits@lists.gentoo.org>; Fri, 29 Oct 2021 18:18:12 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 87E6D34324C
	for <gentoo-commits@lists.gentoo.org>; Fri, 29 Oct 2021 18:18:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F0B27187
	for <gentoo-commits@lists.gentoo.org>; Fri, 29 Oct 2021 18:18:09 +0000 (UTC)
From: "Arthur Zamarin" <arthurzam@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, "Arthur Zamarin" <arthurzam@gentoo.org>
Message-ID: <1635531476.24cfaa4324f23f4243dd71bef2c1e2ed5fdb1090.arthurzam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tappy/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/tappy/metadata.xml dev-python/tappy/tappy-3.0.ebuild
X-VCS-Directories: dev-python/tappy/
X-VCS-Committer: arthurzam
X-VCS-Committer-Name: Arthur Zamarin
X-VCS-Revision: 24cfaa4324f23f4243dd71bef2c1e2ed5fdb1090
X-VCS-Branch: master
Date: Fri, 29 Oct 2021 18:18:09 +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: 71a82d32-5a08-4321-a1b8-e6e21ec607c8
X-Archives-Hash: ee776c174e950b6a6dc46283d0618dcf

commit:     24cfaa4324f23f4243dd71bef2c1e2ed5fdb1090
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 17:39:12 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 18:17:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24cfaa43

dev-python/tappy: remove IUSE=yaml

Runtime only optional dependencies, so we will use optfeature

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/tappy/metadata.xml     |  4 ----
 dev-python/tappy/tappy-3.0.ebuild | 13 ++++++-------
 2 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/dev-python/tappy/metadata.xml b/dev-python/tappy/metadata.xml
index 2ade6572194..7937bfc0c61 100644
--- a/dev-python/tappy/metadata.xml
+++ b/dev-python/tappy/metadata.xml
@@ -5,10 +5,6 @@
 		<email>python@gentoo.org</email>
 	</maintainer>
 	<stabilize-allarches/>
-	<use>
-		<flag name="yaml">Pull dependencies needed to support YAML
-			blocks associated with test results.</flag>
-	</use>
 	<upstream>
 		<remote-id type="github">python-tap/tappy</remote-id>
 		<remote-id type="pypi">tap.py</remote-id>

diff --git a/dev-python/tappy/tappy-3.0.ebuild b/dev-python/tappy/tappy-3.0.ebuild
index 1e5e46fa18a..2992e2720c5 100644
--- a/dev-python/tappy/tappy-3.0.ebuild
+++ b/dev-python/tappy/tappy-3.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
+inherit distutils-r1 optfeature
 
 MY_PN=tap.py
 DESCRIPTION="Test Anything Protocol (TAP) tools"
@@ -15,13 +15,7 @@ S=${WORKDIR}/${MY_PN}-${PV}
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="yaml"
 
-RDEPEND="
-	yaml? (
-		dev-python/more-itertools[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-	)"
 BDEPEND="
 	dev-python/Babel[${PYTHON_USEDEP}]
 	test? (
@@ -30,3 +24,8 @@ BDEPEND="
 	)"
 
 distutils_enable_tests unittest
+
+pkg_postinst() {
+	optfeature "YAML blocks associated with test results" \
+		"dev-python/more-itertools dev-python/pyyaml"
+}