kde5.eclass since revision 1.7 breaks invariance of metadata by calling `date` in global scope and using its output for generation of metadata. https://sources.gentoo.org/eclass/kde5.eclass?r1=1.6&r2=1.7 https://gitweb.gentoo.org/proj/kde.git/commit/eclass/kde5.eclass?id=603f50e1bacae45e1a24452e07d1381e2ea0c786 https://gitweb.gentoo.org/proj/kde.git/commit/eclass/kde5.eclass?id=3e82f327122b6140f213022a649b88f81078a333 # PYTHONWARNINGS= portageq metadata / ebuild kde-plasma/oxygen-fonts-5.3.0::gentoo RESTRICT # LC_ALL="C" TZ="UTC" date 042500002015 Sat Apr 25 00:00:00 UTC 2015 # PYTHONWARNINGS= portageq metadata / ebuild kde-plasma/oxygen-fonts-5.3.0::gentoo RESTRICT # touch kde-plasma/oxygen-fonts/oxygen-fonts-5.3.0.ebuild # PYTHONWARNINGS= portageq metadata / ebuild kde-plasma/oxygen-fonts-5.3.0::gentoo RESTRICT fetch # hwclock -s # If metadata cache for kde-plasma/oxygen-fonts-5.3.1 is generated on <2015-05-26, then on >=2015-05-26 cached RESTRICT will still contain "fetch" until ebuild or any used eclass is changed. Also output of `date` is dependent on local timezone unless -u option is used or TZ="UTC" is explicitly set: # date +"%Y%m%d" 20150509 # TZ="UTC-10" date +"%Y%m%d" 20150509 # TZ="UTC-11" date +"%Y%m%d" 20150510 # TZ="UTC-11" date -u +"%Y%m%d" 20150509 #
Re _get_release_date(): - Ebuilds in kde-frameworks category have additional ".0" in ${PV} (e.g. 5.10.0 instead of 5.10). - There is kde-apps category in repository "kde", but no kde-applications category.
31 May 2015; Manuel Rüger <mrueg@gentoo.org> kde5.eclass: Sync verbosely with kde overlay. Drop fetch restriction for unpublished packages including the pkg_nofetch prompt. This did not work out as expected, see bug 549012. Add support for split localization packages via kde-apps/kde4-l10n. Add KDE_BLOCK_SLOT4 variable which makes it possible to adjust coinstallability of kf5 packages.