diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-10 20:10:17 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-11 20:35:09 +0200 |
commit | 64b9d917ddaf5e7bff1169be27e97a00dec2302f (patch) | |
tree | 784c54b43e1ca41e4b13714ef114bd4722796eb6 /kde-frameworks/kcoreaddons | |
parent | kde-frameworks/extra-cmake-modules: allarches stable (diff) | |
download | gentoo-64b9d917ddaf5e7bff1169be27e97a00dec2302f.tar.gz gentoo-64b9d917ddaf5e7bff1169be27e97a00dec2302f.tar.bz2 gentoo-64b9d917ddaf5e7bff1169be27e97a00dec2302f.zip |
kde-frameworks: Drop 5.46.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'kde-frameworks/kcoreaddons')
-rw-r--r-- | kde-frameworks/kcoreaddons/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kcoreaddons/files/kcoreaddons-5.46.0-kformattest.patch | 56 | ||||
-rw-r--r-- | kde-frameworks/kcoreaddons/kcoreaddons-5.46.0.ebuild | 47 |
3 files changed, 0 insertions, 104 deletions
diff --git a/kde-frameworks/kcoreaddons/Manifest b/kde-frameworks/kcoreaddons/Manifest index 49033f6e67ed..2802e289f94f 100644 --- a/kde-frameworks/kcoreaddons/Manifest +++ b/kde-frameworks/kcoreaddons/Manifest @@ -1,2 +1 @@ -DIST kcoreaddons-5.46.0.tar.xz 350224 BLAKE2B dee0f20b3f35a1f787f263e080a0e4641222b4a9e7f3a8eca736b97a4688ecfa30f26c3040cb655bdb47852381a6810dec712f8a426181bb24b680270a41e6bb SHA512 3c12462729a163fc7ab5a49ea9473b94d44ad4276243d65bcbe10a28fe6c1c4a9996bdf09c4f03b0083b4dff97e1719eb1aaf8b7d8dc882d4f66de61e7ef416a DIST kcoreaddons-5.50.0.tar.xz 352664 BLAKE2B 656cbdc21fc97596ab51f23050f3c4eebdb8c73df37fb1799521da19d16ba97c8bd5c31749dc3c881d8064a011028b94ec29dadcb5a367f65523d85294172c5d SHA512 3b8f50b2775425363b83048ab78bb7999dcdfa522a4d8d002292cbaf6975747b5159687c2ce4737b17404b999ec2d6894a3acd23873480ae7376e9134f1ea887 diff --git a/kde-frameworks/kcoreaddons/files/kcoreaddons-5.46.0-kformattest.patch b/kde-frameworks/kcoreaddons/files/kcoreaddons-5.46.0-kformattest.patch deleted file mode 100644 index 64031659fdda..000000000000 --- a/kde-frameworks/kcoreaddons/files/kcoreaddons-5.46.0-kformattest.patch +++ /dev/null @@ -1,56 +0,0 @@ -From: Maximiliano Curia <maxy@gnuservers.com.ar> -Date: Tue, 15 May 2018 13:06:53 +0200 -Subject: fix kformattest plural forms - ---- - autotests/kformattest.cpp | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -diff --git a/autotests/kformattest.cpp b/autotests/kformattest.cpp -index 15080be..6cc3c52 100644 ---- a/autotests/kformattest.cpp -+++ b/autotests/kformattest.cpp -@@ -248,8 +248,8 @@ void KFormatTest::formatDecimalDuration() - { - KFormat format(QLocale::c()); - -- QCOMPARE(format.formatDecimalDuration(10), QStringLiteral("10 millisecond(s)")); -- QCOMPARE(format.formatDecimalDuration(10, 3), QStringLiteral("10 millisecond(s)")); -+ QCOMPARE(format.formatDecimalDuration(10), QStringLiteral("10 milliseconds")); -+ QCOMPARE(format.formatDecimalDuration(10, 3), QStringLiteral("10 milliseconds")); - QCOMPARE(format.formatDecimalDuration(1 * MSecsInSecond + 10), QStringLiteral("1.01 seconds")); - QCOMPARE(format.formatDecimalDuration(1 * MSecsInSecond + 1, 3), QStringLiteral("1.001 seconds")); - QCOMPARE(format.formatDecimalDuration(1 * MSecsInMinute + 10 * MSecsInSecond), QStringLiteral("1.17 minutes")); -@@ -264,22 +264,22 @@ void KFormatTest::formatSpelloutDuration() - { - KFormat format(QLocale::c()); - -- QCOMPARE(format.formatSpelloutDuration(1000), QStringLiteral("1 second(s)")); -- QCOMPARE(format.formatSpelloutDuration(5000), QStringLiteral("5 second(s)")); -- QCOMPARE(format.formatSpelloutDuration(60000), QStringLiteral("1 minute(s)")); -- QCOMPARE(format.formatSpelloutDuration(300000), QStringLiteral("5 minute(s)")); -- QCOMPARE(format.formatSpelloutDuration(3600000), QStringLiteral("1 hour(s)")); -- QCOMPARE(format.formatSpelloutDuration(18000000), QStringLiteral("5 hour(s)")); -- QCOMPARE(format.formatSpelloutDuration(75000), QStringLiteral("1 minute(s) and 15 second(s)")); -+ QCOMPARE(format.formatSpelloutDuration(1000), QStringLiteral("1 second")); -+ QCOMPARE(format.formatSpelloutDuration(5000), QStringLiteral("5 seconds")); -+ QCOMPARE(format.formatSpelloutDuration(60000), QStringLiteral("1 minute")); -+ QCOMPARE(format.formatSpelloutDuration(300000), QStringLiteral("5 minutes")); -+ QCOMPARE(format.formatSpelloutDuration(3600000), QStringLiteral("1 hour")); -+ QCOMPARE(format.formatSpelloutDuration(18000000), QStringLiteral("5 hours")); -+ QCOMPARE(format.formatSpelloutDuration(75000), QStringLiteral("1 minute and 15 seconds")); - // Problematic case #1 (there is a reference to this case on kformat.cpp) -- QCOMPARE(format.formatSpelloutDuration(119999), QStringLiteral("2 minute(s)")); -+ QCOMPARE(format.formatSpelloutDuration(119999), QStringLiteral("2 minutes")); - // This case is strictly 2 hours, 15 minutes and 59 seconds. However, since the range is - // pretty high between hours and seconds, formatSpelloutDuration always omits seconds when there - // are hours in scene. -- QCOMPARE(format.formatSpelloutDuration(8159000), QStringLiteral("2 hour(s) and 15 minute(s)")); -+ QCOMPARE(format.formatSpelloutDuration(8159000), QStringLiteral("2 hours and 15 minutes")); - // This case is strictly 1 hour and 10 seconds. For the same reason, formatSpelloutDuration - // detects that 10 seconds is just garbage compared to 1 hour, and omits it on the result. -- QCOMPARE(format.formatSpelloutDuration(3610000), QStringLiteral("1 hour(s)")); -+ QCOMPARE(format.formatSpelloutDuration(3610000), QStringLiteral("1 hour")); - } - - void KFormatTest::formatRelativeDate() diff --git a/kde-frameworks/kcoreaddons/kcoreaddons-5.46.0.ebuild b/kde-frameworks/kcoreaddons/kcoreaddons-5.46.0.ebuild deleted file mode 100644 index 79d94804dd54..000000000000 --- a/kde-frameworks/kcoreaddons/kcoreaddons-5.46.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit kde5 - -DESCRIPTION="Framework for solving common problems such as caching, randomisation, and more" -LICENSE="LGPL-2+" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="fam nls" - -RDEPEND=" - $(add_qt_dep qtcore 'icu') - fam? ( virtual/fam ) -" -DEPEND="${RDEPEND} - x11-misc/shared-mime-info - nls? ( $(add_qt_dep linguist-tools) ) -" - -src_prepare() { - # bug 650280 - has_version '<dev-qt/qtcore-5.10.0:5' && \ - eapply "${FILESDIR}/${P}-kformattest.patch" - - kde5_src_prepare -} - -src_configure() { - local mycmakeargs=( - -D_KDE4_DEFAULT_HOME_POSTFIX=4 - $(cmake-utils_use_find_package fam FAM) - ) - - kde5_src_configure -} - -src_test() { - # bugs: 619656, 632398, 647414 - local myctestargs=( - -j1 - -E "(kautosavefiletest|kdirwatch_qfswatch_unittest)" - ) - - kde5_src_test -} |