dev-python/nototools: Replace virts with cond deps
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:16:45 +0000 (22:16 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:17:56 +0000 (22:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/nototools/nototools-0_pre20200113.ebuild

index 425374cffc0192ea002e3e6bc62b46e1450316e4..538928c92628706942e54057d3bcce3a181b8f3b 100644 (file)
@@ -29,7 +29,9 @@ RDEPEND="${DEPEND}
        >=dev-python/fonttools-3.36.0[${PYTHON_USEDEP}]
        >=dev-python/pillow-4.0.0[${PYTHON_USEDEP}]
        >=dev-python/pyclipper-1.0.6[${PYTHON_USEDEP}]
-       virtual/python-typing[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/typing[${PYTHON_USEDEP}]
+       ' -2)
 "
 
 S="${WORKDIR}/${PN}-${COMMIT}"