python*r1.eclass: Reliably allow empty <pattern>s to gen funcs
authorMichał Górny <mgorny@gentoo.org>
Sat, 30 Nov 2019 09:56:38 +0000 (10:56 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 7 Dec 2019 14:36:28 +0000 (15:36 +0100)
commit1d5b43ab215e7062d48a581b18f69df4eccb40ac
tree86fe5094f859c9e7ac9ec67cb0430e8b25946d6b
parent4da21ec689a66fe87ef67476dc6245808f6dde88
python*r1.eclass: Reliably allow empty <pattern>s to gen funcs

Reliably allow empty pattern lists (equivalent to no restrictions)
in all pattern-based generator functions, notably python_gen_cond_dep.
Previously, only some of the functions accepted them while others
failed via _python_impl_matches function.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/python-r1.eclass
eclass/python-single-r1.eclass
eclass/python-utils-r1.eclass