Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kholidays for openSUSE:Factory checked in at 2023-07-09 20:39:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kholidays (Old) and /work/SRC/openSUSE:Factory/.kholidays.new.23466 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kholidays" Sun Jul 9 20:39:54 2023 rev:98 rq:1097698 version:5.108.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kholidays/kholidays.changes 2023-06-11 19:55:39.707297762 +0200 +++ /work/SRC/openSUSE:Factory/.kholidays.new.23466/kholidays.changes 2023-07-09 20:41:40.373611183 +0200 @@ -1,0 +2,11 @@ +Mon Jul 3 07:01:47 UTC 2023 - Christophe Marin <[email protected]> + +- Update to 5.108.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.108.0 +- Changes since 5.107.0: + * Add juneteenth as variable holiday + * Remove qt6 CI builds + +------------------------------------------------------------------- Old: ---- kholidays-5.107.0.tar.xz kholidays-5.107.0.tar.xz.sig New: ---- kholidays-5.108.0.tar.xz kholidays-5.108.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kholidays.spec ++++++ --- /var/tmp/diff_new_pack.FlBBgK/_old 2023-07-09 20:41:40.893614312 +0200 +++ /var/tmp/diff_new_pack.FlBBgK/_new 2023-07-09 20:41:40.897614337 +0200 @@ -24,7 +24,7 @@ %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kholidays -Version: 5.107.0 +Version: 5.108.0 Release: 0 Summary: Holiday calculation library License: LGPL-2.1-or-later ++++++ kholidays-5.107.0.tar.xz -> kholidays-5.108.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kholidays-5.107.0/.gitlab-ci.yml new/kholidays-5.108.0/.gitlab-ci.yml --- old/kholidays-5.107.0/.gitlab-ci.yml 2023-06-03 11:45:59.000000000 +0200 +++ new/kholidays-5.108.0/.gitlab-ci.yml 2023-07-01 11:57:36.000000000 +0200 @@ -6,9 +6,5 @@ - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-static.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/android.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/android-qt6.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows-static.yml - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd-qt6.yml - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows-qt6.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kholidays-5.107.0/CMakeLists.txt new/kholidays-5.108.0/CMakeLists.txt --- old/kholidays-5.107.0/CMakeLists.txt 2023-06-03 11:45:59.000000000 +0200 +++ new/kholidays-5.108.0/CMakeLists.txt 2023-07-01 11:57:36.000000000 +0200 @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.107.0") +set(KF_VERSION "5.108.0") project(KHolidays VERSION ${KF_VERSION}) -find_package(ECM 5.107.0 REQUIRED NO_MODULE) +find_package(ECM 5.108.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) set(CMAKE_AUTORCC ON) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kholidays-5.107.0/autotests/testholidayregion.cpp new/kholidays-5.108.0/autotests/testholidayregion.cpp --- old/kholidays-5.107.0/autotests/testholidayregion.cpp 2023-06-03 11:45:59.000000000 +0200 +++ new/kholidays-5.108.0/autotests/testholidayregion.cpp 2023-07-01 11:57:36.000000000 +0200 @@ -267,3 +267,17 @@ holidays = region.rawHolidays(QDate(2035, 10, 20), QDate(2035, 12, 15), QLatin1String("public")); QCOMPARE(holidays.first().observedStartDate(), QDate(2035, 11, 5)); } + +void HolidayRegionTest::testUsAmericanJuneteenth() +{ + KHolidays::HolidayRegion region(QStringLiteral("us_en-us")); + printMetadata(region); + auto holidays = region.rawHolidays(QDate(2023, 6, 19), QDate(2023, 6, 19)); + QCOMPARE(holidays.first().observedStartDate(), QDate(2023, 6, 19)); + holidays = region.rawHolidays(QDate(2024, 6, 1), QDate(2024, 6, 25), QLatin1String("public")); + QCOMPARE(holidays.first().observedStartDate(), QDate(2024, 6, 19)); + holidays = region.rawHolidays(QDate(2027, 6, 1), QDate(2027, 6, 25), QLatin1String("public")); + QCOMPARE(holidays.first().observedStartDate(), QDate(2027, 6, 18)); + holidays = region.rawHolidays(QDate(2033, 6, 20), QDate(2033, 6, 25), QLatin1String("public")); + QCOMPARE(holidays.first().observedStartDate(), QDate(2033, 6, 20)); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kholidays-5.107.0/autotests/testholidayregion.h new/kholidays-5.108.0/autotests/testholidayregion.h --- old/kholidays-5.107.0/autotests/testholidayregion.h 2023-06-03 11:45:59.000000000 +0200 +++ new/kholidays-5.108.0/autotests/testholidayregion.h 2023-07-01 11:57:36.000000000 +0200 @@ -30,6 +30,7 @@ void testSolistaleInHolidays(); void testLoadFileCalendarSystemsForPlasma(); void testDominicanRepublicDiadelaConstitucion(); + void testUsAmericanJuneteenth(); private: void printMetadata(const KHolidays::HolidayRegion ®ion); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kholidays-5.107.0/holidays/plan2/holiday_us_en-us new/kholidays-5.108.0/holidays/plan2/holiday_us_en-us --- old/kholidays-5.107.0/holidays/plan2/holiday_us_en-us 2023-06-03 11:45:59.000000000 +0200 +++ new/kholidays-5.108.0/holidays/plan2/holiday_us_en-us 2023-07-01 11:57:36.000000000 +0200 @@ -24,6 +24,10 @@ "President's Day" public on third monday in february "Memorial Day" public on last monday in may "Juneteenth Day" public on june 19 +"Juneteenth Day" public on (([june 19] == [saturday after ([june 19])]) ? + [friday before ([june 19])] : noop) +"Juneteenth Day" public on (([june 19] == [sunday after ([june 19])]) ? + [monday after ([june 19])] : noop) "Independence Day" public on july 4 "Labor Day" public on first monday in september "Columbus Day" public on second monday in october diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kholidays-5.107.0/poqm/zh_CN/libkholidays5_qt.po new/kholidays-5.108.0/poqm/zh_CN/libkholidays5_qt.po --- old/kholidays-5.107.0/poqm/zh_CN/libkholidays5_qt.po 2023-06-03 11:45:59.000000000 +0200 +++ new/kholidays-5.108.0/poqm/zh_CN/libkholidays5_qt.po 2023-07-01 11:57:36.000000000 +0200 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2023-05-22 14:00\n" +"PO-Revision-Date: 2023-06-17 04:11\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" "MIME-Version: 1.0\n"
