mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/pycups: Restrict *_all() phases to py2 for USE=doc
This commit is contained in:
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
|
||||
|
||||
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
# we can't use Makefile since it relies on hardcoded paths
|
||||
|
||||
Reference in New Issue
Block a user