From 8190b846fe43373c5cb426fc84a2a5e74cf46cc4 Mon Sep 17 00:00:00 2001 From: mef Date: Sun, 30 May 2021 07:02:18 +0000 Subject: [PATCH] (time/R-hms) Updated 0.5 to 1.1.0 (pkgsrc chagnes) - Add TEST_DEPENDS+= (upstream changes) # hms 1.1.0 ## Breaking changes - `"hms"` objects no longer have a common type with `character` and `numeric`. Combining such values previously threw a warning, now throws an error (#94). - `vec_cast()` and `as_hms()` throw error instead of a warning if input can't be parsed (#68). ## Features - New `unique.hms()` method (#98, @joethorley). - `as_hms()` is a generic again (#81). ## Internal - Avoid `LazyData` in `DESCRIPTION`. - Bump required versions of ellipsis and vctrs to avoid warning during package load. - Using lifecycle package (#94). # hms 1.0.0 ## Life cycle - hms is now marked as "stable". ## Breaking changes - `"hms"` objects no longer have a common type with `character` and `numeric`. Combining such values previously threw a warning, now throws an error (#94). - `vec_cast()` and `as_hms()` now throw error instead of a warning if input can't be parsed (#68). ## Features - `as_hms()` is a generic again (#81). - `round_hms()` and `trunc_hms()` gain `digits` argument (#78, @hglanz). ## Bug fixes - `as_hms()` and `vec_cast()` now correctly treat objects of class `"difftime"` with `integer` mode (#84). ## Internal - Using lifecycle package (#94). - hms has been re-licensed as MIT (#86). # hms 0.5.3 - Use `vec_default_ptype2()`, remove `vec_ptype2.hms.unspecified()` (#80, @romainfrancois). - `vec_ptype2.hms.default()` forwards to `vec_default_ptype2()` for compatibility with vctrs 0.2.1. - Remove `as.data.frame.hms()`, handeld by vctrs. # hms 0.5.2.9000 - Internal changes only. # hms 0.5.2 - Work around parsing error that occurs on DST changeover dates (https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16764). # hms 0.5.1 - Lossy casts from `character` vectors to `hms` now also trigger a warning if the cast succeeds in the first element of the vector but fails for other elements. --- time/R-hms/Makefile | 9 ++++++--- time/R-hms/distinfo | 10 +++++----- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/time/R-hms/Makefile b/time/R-hms/Makefile index 8bf41f33221a..a7f7a7916311 100644 --- a/time/R-hms/Makefile +++ b/time/R-hms/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2019/08/08 19:53:58 brook Exp $ +# $NetBSD: Makefile,v 1.3 2021/05/30 07:02:18 mef Exp $ R_PKGNAME= hms -R_PKGVER= 0.5.0 +R_PKGVER= 1.1.0 CATEGORIES= time sysutils MAINTAINER= pkgsrc-users@NetBSD.org @@ -10,7 +10,10 @@ LICENSE= gnu-gpl-v3 DEPENDS+= R-pkgconfig>=2.0.2:../../devel/R-pkgconfig DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang -DEPENDS+= R-vctrs>=0.2.0:../../math/R-vctrs +DEPENDS+= R-vctrs>=0.3.8:../../math/R-vctrs + +TEST_DEPENDS+= R-ellipsis>=0.3.2:../../math/R-ellipsis +TEST_DEPENDS+= R-lubridate-[0-9]*:../../time/R-lubridate USE_LANGUAGES= # none diff --git a/time/R-hms/distinfo b/time/R-hms/distinfo index 7a7b7629d157..087ded5fc8e5 100644 --- a/time/R-hms/distinfo +++ b/time/R-hms/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2019/07/31 13:56:46 brook Exp $ +$NetBSD: distinfo,v 1.2 2021/05/30 07:02:18 mef Exp $ -SHA1 (R/hms_0.5.0.tar.gz) = e5257ca2ee658dfe766f2a62b6570c9c77b7f734 -RMD160 (R/hms_0.5.0.tar.gz) = c07aabbd335fbda91bef9ddc0171494021c9994c -SHA512 (R/hms_0.5.0.tar.gz) = b4c2ac8bd5425e7ed3607d215d98947d5fb225dbe80fa061306ef6a6803be6c255cfdd196ab273861c2fce84414b65ba5342524fe3e46b111fa10496fd392531 -Size (R/hms_0.5.0.tar.gz) = 136036 bytes +SHA1 (R/hms_1.1.0.tar.gz) = 27bebd579ad29d663797e4058f3f4f88a9361a38 +RMD160 (R/hms_1.1.0.tar.gz) = dfd03b63c8f356012c7e6a2372cf9e119396182e +SHA512 (R/hms_1.1.0.tar.gz) = 9d53858655ceb88e0184dfe4fe44da1ee6a3144325add17b3e208202eed976897b8fcf4c2aef0d47af89b86697b71da26fc5ed612a1aa78caae4701d40b62a41 +Size (R/hms_1.1.0.tar.gz) = 43142 bytes