pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/R-pkgcache (devel/R-pkgcache) Updated 1.2.2 to 2...
details: https://anonhg.NetBSD.org/pkgsrc/rev/33da8a365f27
branches: trunk
changeset: 378170:33da8a365f27
user: mef <mef%pkgsrc.org@localhost>
date: Sat Apr 30 01:01:41 2022 +0000
description:
(devel/R-pkgcache) Updated 1.2.2 to 2.0.1
# pkgcache 2.0.1
No user visible changes.
# pkgcache 2.0.0
## BREAKING CHANGE
* Starting from version 2.0.0 pkgcache returns data frames instead
of tibbles. While data frames and tibbles are very similar, they are
not completely compatible. To convert the output of pkgcache to tibbles
call the `as_tibble()` function on them.
pkgcache loads the pillar package at startup, if available, and uses it
to improve the printing of pkgcache data frames.
## OTHER CHANGES
* `parse_packages()` now automatically determines the type of the `PACKAGES*`
file, instead of relying on file extensions.
* pkgcache can now call back again to a `PACKAGES` file if `PACKAGES.gz` is
not available. (This fixes a regression in pkgcache 1.3.0.)
* pkgcache now uses HTTP 1.1 on Linux as well, because of crashes with
HTTP/2.
* pkgcache now supports `file:///`, repositories, i.e. repositories on
the local file system.
# pkgcache 1.3.0
* pkgcache now works better on M1 macs.
* `current_r_platform()` does a much better job now. In particular, on
Linux it includes the name and release of the distribution.
The new `current_r_platform_data()` function returns the platform information
as a data frame, instead of a single string.
* Metadata is now more accurate for Windows packages that are typically
not multi-arch any more on R 4.2.0 (current R-devel).
* pkgcache has its own DCF metadata parser now, which is much faster, and
it parses all fields of `PACAKGES*` and `DESCRIPTION` files.
* New `parse_installed()` function to get the metadata of all installed
packages in a library. It uses the new DCF parser, so it is quite fast.
* `meta_cache_list()` and related functions now correctly set the
`rversion` column of source R packages to `"*"`.
* pkgcache now uses HTTP 1.1 on macOS, to work around a possible
slowdown issue with libcurl for HTTP/2.
* pkgcache now uses our extra metadata (file sizes, system requirements,
etc.) for RStudio Package Manager (RSPM) repositories as well, as long
as they are named `RSPM ` in `getOption("repos")`.
diffstat:
devel/R-pkgcache/Makefile | 13 ++++++++++---
devel/R-pkgcache/distinfo | 8 ++++----
2 files changed, 14 insertions(+), 7 deletions(-)
diffs (45 lines):
diff -r 0c0bfb6c8621 -r 33da8a365f27 devel/R-pkgcache/Makefile
--- a/devel/R-pkgcache/Makefile Sat Apr 30 00:49:31 2022 +0000
+++ b/devel/R-pkgcache/Makefile Sat Apr 30 01:01:41 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2021/06/03 21:01:07 mef Exp $
+# $NetBSD: Makefile,v 1.6 2022/04/30 01:01:41 mef Exp $
R_PKGNAME= pkgcache
-R_PKGVER= 1.2.2
+R_PKGVER= 2.0.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -24,10 +24,17 @@
DEPENDS+= R-jsonlite-[0-9]*:../../textproc/R-jsonlite
# Packages suggested but not available: 'debugme', 'webfakes'
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
#TEST_DEPENDS+= R-debugme-[0-9]*:
+TEST_DEPENDS+= R-fs-[0-9]*:../../devel/R-fs
+TEST_DEPENDS+= R-mockery-[0-9]*:../../devel/R-mockery
+TEST_DEPENDS+= R-pingr-[0-9]*:../../net/R-pingr
+TEST_DEPENDS+= R-sessioninfo-[0-9]*:../../devel/R-sessioninfo
+TEST_DEPENDS+= R-spelling-[0-9]*:../../textproc/R-spelling
+TEST_DEPENDS+= R-webfakes-[0-9]*:../../www/R-webfakes
-USE_LANGUAGES= # none
+USE_LANGUAGES= c
.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"
diff -r 0c0bfb6c8621 -r 33da8a365f27 devel/R-pkgcache/distinfo
--- a/devel/R-pkgcache/distinfo Sat Apr 30 00:49:31 2022 +0000
+++ b/devel/R-pkgcache/distinfo Sat Apr 30 01:01:41 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:14:06 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/04/30 01:01:41 mef Exp $
-BLAKE2s (R/pkgcache_1.2.2.tar.gz) = b5e0b0ffa0435cdd3e6368f30381e1447bbb2b451a4e562b9c3905a9b73f6f80
-SHA512 (R/pkgcache_1.2.2.tar.gz) = 2017dabbd540c46bf0e22524ebe4a45d60f538fc50f0ae54350632b21fa89c0d340ed8b09b1d82309eb075ea95b205cbb4c3181cf128f5a3dcdebd533cec8c38
-Size (R/pkgcache_1.2.2.tar.gz) = 164094 bytes
+BLAKE2s (R/pkgcache_2.0.1.tar.gz) = d21ab63907af89ce00878b2240ea165f9497d5c77166dd6a492d9da819642a39
+SHA512 (R/pkgcache_2.0.1.tar.gz) = 517ea5c328586df8997043af1bdb36e4bde0a980a088bdcfbd686c7b0ad6710ba39d98e9b1f0544dc5d4280ddb86887fb5badcaa65bcc9d3ca231f2d5665e0a4
+Size (R/pkgcache_2.0.1.tar.gz) = 223943 bytes
Home |
Main Index |
Thread Index |
Old Index