python-r1.eclass: python_setup, add REQUIRED_USE to the example
authorMichał Górny <mgorny@gentoo.org>
Fri, 19 May 2017 18:34:09 +0000 (20:34 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 29 May 2017 21:53:21 +0000 (23:53 +0200)
eclass/python-r1.eclass

index 8de0a851856c2890f087198c30b2405851071290..809dc5f2b8e50e7edf0523ba35cbce5cbbe0e3b7 100644 (file)
@@ -614,6 +614,7 @@ python_parallel_foreach_impl() {
 # Example:
 # @CODE
 # DEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
+# REQUIRED_USE="doc? ( $(python_gen_useflags 'python2*') )"
 #
 # src_compile() {
 #   #...