Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock X-Debbugs-Cc: moment-timezone...@packages.debian.org, t...@debian.org Control: affects -1 + src:moment-timezone.js
Please unblock package moment-timezone.js (Please provide enough (but not too much) information to help the release team to judge the request efficiently. E.g. by filling in the sections below.) [ Reason ] This package currently FTBFS (#1036259) because it is out of sync with the tzdata package. [ Impact ] Reverse dependencies risk being removed from testing, in particular prometheus. [ Tests ] Upstream provides copious amounts of tests; the only non-trivial change in the package is a patch to backport changes made upstream to match changes in the tzdata database. [ Risks ] None I can think of. [ Checklist ] [✓] all changes are documented in the d/changelog [✓] I reviewed all changes and I approve them [✓] attach debdiff against the package in testing [ Other info ] n/a unblock moment-timezone.js/0.5.40+dfsg-1+2023c
diff -Nru moment-timezone.js-0.5.40+dfsg/debian/changelog moment-timezone.js-0.5.40+dfsg/debian/changelog --- moment-timezone.js-0.5.40+dfsg/debian/changelog 2023-01-23 21:37:52.000000000 +0000 +++ moment-timezone.js-0.5.40+dfsg/debian/changelog 2023-06-02 17:39:46.000000000 +0000 @@ -1,3 +1,13 @@ +moment-timezone.js (0.5.40+dfsg-1+2023c) unstable; urgency=medium + + [ Yadd ] + * Declare compliance with policy 4.6.2 + + [ Martina Ferrari ] + * Rebuild to support tzdata 2023c. Closes: #1036259. + + -- Martina Ferrari <t...@debian.org> Fri, 02 Jun 2023 17:39:46 +0000 + moment-timezone.js (0.5.40+dfsg-1+2022g) unstable; urgency=medium * New upstream version 0.5.40. Closes: #1028879. diff -Nru moment-timezone.js-0.5.40+dfsg/debian/control moment-timezone.js-0.5.40+dfsg/debian/control --- moment-timezone.js-0.5.40+dfsg/debian/control 2023-01-23 21:37:52.000000000 +0000 +++ moment-timezone.js-0.5.40+dfsg/debian/control 2023-06-02 17:39:46.000000000 +0000 @@ -10,8 +10,8 @@ , dh-sequence-nodejs , uglifyjs , ts-node <!nocheck> - , tzdata (>= 2022f) -Standards-Version: 4.6.1 + , tzdata (>= 2023c) +Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/js-team/moment-timezone.js Vcs-Git: https://salsa.debian.org/js-team/moment-timezone.js.git Homepage: https://momentjs.com/timezone/ diff -Nru moment-timezone.js-0.5.40+dfsg/debian/patches/02-tzdata-2023c.patch moment-timezone.js-0.5.40+dfsg/debian/patches/02-tzdata-2023c.patch --- moment-timezone.js-0.5.40+dfsg/debian/patches/02-tzdata-2023c.patch 1970-01-01 00:00:00.000000000 +0000 +++ moment-timezone.js-0.5.40+dfsg/debian/patches/02-tzdata-2023c.patch 2023-06-02 17:39:46.000000000 +0000 @@ -0,0 +1,42 @@ +Author: Martina Ferrari <t...@debian.org> +Date: Fri, 02 Jun 2023 17:34:39 +0000 +Description: Backport upstream changes to match version 2023c of the Olson Database. + +--- a/tests/countries/countries.js ++++ b/tests/countries/countries.js +@@ -227,7 +227,7 @@ + test.deepEqual(tz.zone('America/Whitehorse').countries(), ["CA"]); + test.deepEqual(tz.zone('America/Winnipeg').countries(), ["CA"]); + test.deepEqual(tz.zone('America/Yakutat').countries(), ["US"]); +- test.deepEqual(tz.zone('America/Yellowknife').countries(), ["CA"]); ++ test.deepEqual(tz.zone('America/Yellowknife').countries(), []); + test.deepEqual(tz.zone('Antarctica/Casey').countries(), ["AQ"]); + test.deepEqual(tz.zone('Antarctica/Davis').countries(), ["AQ"]); + test.deepEqual(tz.zone('Antarctica/DumontDUrville').countries(), ["AQ"]); +@@ -549,7 +549,7 @@ + test.deepEqual(tz.zone('Pacific/Gambier').countries(), ["PF"]); + test.deepEqual(tz.zone('Pacific/Guadalcanal').countries(), ["FM","SB"]); + test.deepEqual(tz.zone('Pacific/Guam').countries(), ["GU","MP"]); +- test.deepEqual(tz.zone('Pacific/Honolulu').countries(), ["UM","US"]); ++ test.deepEqual(tz.zone('Pacific/Honolulu').countries(), ["US"]); + test.deepEqual(tz.zone('Pacific/Johnston').countries(), []); + test.deepEqual(tz.zone('Pacific/Kiritimati').countries(), ["KI"]); + test.deepEqual(tz.zone('Pacific/Kosrae').countries(), ["FM"]); +@@ -643,7 +643,7 @@ + test.deepEqual(tz.zonesForCountry("BW"), ["Africa/Gaborone","Africa/Maputo"]); + test.deepEqual(tz.zonesForCountry("BY"), ["Europe/Minsk"]); + test.deepEqual(tz.zonesForCountry("BZ"), ["America/Belize"]); +- test.deepEqual(tz.zonesForCountry("CA"), ["America/Atikokan","America/Blanc-Sablon","America/Cambridge_Bay","America/Creston","America/Dawson","America/Dawson_Creek","America/Edmonton","America/Fort_Nelson","America/Glace_Bay","America/Goose_Bay","America/Halifax","America/Inuvik","America/Iqaluit","America/Moncton","America/Panama","America/Phoenix","America/Puerto_Rico","America/Rankin_Inlet","America/Regina","America/Resolute","America/St_Johns","America/Swift_Current","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yellowknife"]); ++ test.deepEqual(tz.zonesForCountry("CA"), ["America/Atikokan","America/Blanc-Sablon","America/Cambridge_Bay","America/Creston","America/Dawson","America/Dawson_Creek","America/Edmonton","America/Fort_Nelson","America/Glace_Bay","America/Goose_Bay","America/Halifax","America/Inuvik","America/Iqaluit","America/Moncton","America/Panama","America/Phoenix","America/Puerto_Rico","America/Rankin_Inlet","America/Regina","America/Resolute","America/St_Johns","America/Swift_Current","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg"]); + test.deepEqual(tz.zonesForCountry("CC"), ["Asia/Yangon","Indian/Cocos"]); + test.deepEqual(tz.zonesForCountry("CD"), ["Africa/Kinshasa","Africa/Lagos","Africa/Lubumbashi","Africa/Maputo"]); + test.deepEqual(tz.zonesForCountry("CF"), ["Africa/Bangui","Africa/Lagos"]); +@@ -836,7 +836,7 @@ + test.deepEqual(tz.zonesForCountry("TZ"), ["Africa/Dar_es_Salaam","Africa/Nairobi"]); + test.deepEqual(tz.zonesForCountry("UA"), ["Europe/Kyiv","Europe/Simferopol"]); + test.deepEqual(tz.zonesForCountry("UG"), ["Africa/Kampala","Africa/Nairobi"]); +- test.deepEqual(tz.zonesForCountry("UM"), ["Pacific/Honolulu","Pacific/Midway","Pacific/Pago_Pago","Pacific/Tarawa","Pacific/Wake"]); ++ test.deepEqual(tz.zonesForCountry("UM"), ["Pacific/Midway","Pacific/Pago_Pago","Pacific/Tarawa","Pacific/Wake"]); + test.deepEqual(tz.zonesForCountry("US"), ["America/Adak","America/Anchorage","America/Boise","America/Chicago","America/Denver","America/Detroit","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Los_Angeles","America/Menominee","America/Metlakatla","America/New_York","America/Nome","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Phoenix","America/Sitka","America/Yakutat","Pacific/Honolulu"]); + test.deepEqual(tz.zonesForCountry("UY"), ["America/Montevideo"]); + test.deepEqual(tz.zonesForCountry("UZ"), ["Asia/Samarkand","Asia/Tashkent"]); diff -Nru moment-timezone.js-0.5.40+dfsg/debian/patches/series moment-timezone.js-0.5.40+dfsg/debian/patches/series --- moment-timezone.js-0.5.40+dfsg/debian/patches/series 2023-01-23 21:37:52.000000000 +0000 +++ moment-timezone.js-0.5.40+dfsg/debian/patches/series 2023-06-02 17:39:46.000000000 +0000 @@ -1 +1,2 @@ +02-tzdata-2023c.patch 01-Fix_tz_build.patch
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel