pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/R-mockr



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Apr 30 05:19:03 UTC 2022

Added Files:
        pkgsrc/devel/R-mockr: DESCR Makefile distinfo

Log Message:
(devel/R-mockr) import R-mockr-0.2.0

Provides a means to mock a package function, i.e., temporarily
substitute it for testing. Designed as a drop-in replacement for the
now deprecated 'testthat::with_mock()' and 'testthat::local_mock()'.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/R-mockr/DESCR \
    pkgsrc/devel/R-mockr/Makefile pkgsrc/devel/R-mockr/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/R-mockr/DESCR
diff -u /dev/null pkgsrc/devel/R-mockr/DESCR:1.1
--- /dev/null   Sat Apr 30 05:19:03 2022
+++ pkgsrc/devel/R-mockr/DESCR  Sat Apr 30 05:19:03 2022
@@ -0,0 +1,3 @@
+Provides a means to mock a package function, i.e., temporarily
+substitute it for testing. Designed as a drop-in replacement for the
+now deprecated 'testthat::with_mock()' and 'testthat::local_mock()'.
Index: pkgsrc/devel/R-mockr/Makefile
diff -u /dev/null pkgsrc/devel/R-mockr/Makefile:1.1
--- /dev/null   Sat Apr 30 05:19:03 2022
+++ pkgsrc/devel/R-mockr/Makefile       Sat Apr 30 05:19:03 2022
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2022/04/30 05:19:03 mef Exp $
+
+R_PKGNAME=     mockr
+R_PKGVER=      0.2.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Mocking in R
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      R-rlang>=1.0.2:../../devel/R-rlang
+DEPENDS+=      R-withr>=2.5.0:../../devel/R-withr
+
+TEST_DEPENDS+= R-fs-[0-9]*:../../devel/R-fs
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-pkgload-[0-9]*:../../devel/R-pkgload
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+TEST_DEPENDS+= R-usethis-[0-9]*:../../devel/R-usethis
+
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/R-mockr/distinfo
diff -u /dev/null pkgsrc/devel/R-mockr/distinfo:1.1
--- /dev/null   Sat Apr 30 05:19:03 2022
+++ pkgsrc/devel/R-mockr/distinfo       Sat Apr 30 05:19:03 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/30 05:19:03 mef Exp $
+
+BLAKE2s (R/mockr_0.2.0.tar.gz) = b77c29ad3b9f87d9be3daf94f3eaf612a1e655f903ff8cb48428eba60e26f01f
+SHA512 (R/mockr_0.2.0.tar.gz) = 06554d4f0e4c25a2a809907a50af3799a4f0321429feb5efc86ed34e840a9d4634585df811370ea8624a61a79da73d29ab93de0751a38868ce7e0aaebe006ee6
+Size (R/mockr_0.2.0.tar.gz) = 21539 bytes



Home | Main Index | Thread Index | Old Index