dev-python/sabyenc: add missing dev-python/chardet test dep
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 18 May 2020 10:32:24 +0000 (12:32 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 18 May 2020 10:32:52 +0000 (12:32 +0200)
Closes: https://bugs.gentoo.org/723624
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-python/sabyenc/sabyenc-4.0.1.ebuild

index 5445c2513b14a5e33bd5d5c6b08820e7e091642b..6c6fdf9e58be36f119f163471f99e5abd1a069b2 100644 (file)
@@ -13,7 +13,13 @@ SRC_URI="https://github.com/sabnzbd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 DOCS=( CHANGES.md README.md doc/yenc-draft.1.3.txt )
 
+DEPEND="test? (
+               dev-python/chardet[${PYTHON_USEDEP}]
+       )"
+
 distutils_enable_tests pytest