Re: [gentoo-dev] RFC: kde5 and kde5-functions eclass

2014-09-19 Thread Davide Pesavento
kde5.eclass case ${KDE_TEST} in false) ;; *) IUSE+= test DEPEND+= test? ( dev-qt/qttest:5 ) No =${QT_MINIMAL} in this dep? else unpack ${A} I think you can use `default` if ! in_iuse examples || ! use examples ; then if ! use_if_iuse examples ; then if ! in_iuse test || ! use test

[gentoo-dev] RFC: kde5 and kde5-functions eclass

2014-09-15 Thread Michael Palimaka
Hi, Please find attached two new KDE eclasses for review, required to support KDE Frameworks 5 and its consumers. I will commit in a week or so in the absence of major issues, with the masked packages to follow shortly after. Best regards, Michael # Copyright 1999-2014 Gentoo Foundation #

Re: [gentoo-dev] RFC: kde5 and kde5-functions eclass

2014-09-15 Thread Davide Pesavento
kde5-functions.eclass inherit versionator versionator doesn't export any phase functions so it can stay inside the _KDE5_FUNCTIONS_ECLASS conditional block. case ${EAPI:-0} in I believe :-0 is unnecessary here, *) will match anyway, but it doesn't hurt either. *) die EAPI=${EAPI} is not