From owner-svn-ports-head@freebsd.org Tue Jan 5 23:26:15 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05A434D4F86; Tue, 5 Jan 2021 23:26:15 +0000 (UTC) (envelope-from ygy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9TCB47GYz3qpx; Tue, 5 Jan 2021 23:26:14 +0000 (UTC) (envelope-from ygy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 65E5C14C96; Tue, 5 Jan 2021 23:26:14 +0000 (UTC) (envelope-from ygy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 105NQE6D029805; Tue, 5 Jan 2021 23:26:14 GMT (envelope-from ygy@FreeBSD.org) Received: (from ygy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 105NQDSp029801; Tue, 5 Jan 2021 23:26:13 GMT (envelope-from ygy@FreeBSD.org) Message-Id: <202101052326.105NQDSp029801@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ygy set sender to ygy@FreeBSD.org using -f From: Guangyuan Yang Date: Tue, 5 Jan 2021 23:26:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r560447 - in head/devel: . R-cran-mockery X-SVN-Group: ports-head X-SVN-Commit-Author: ygy X-SVN-Commit-Paths: in head/devel: . R-cran-mockery X-SVN-Commit-Revision: 560447 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2021 23:26:15 -0000 Author: ygy (doc committer) Date: Tue Jan 5 23:26:13 2021 New Revision: 560447 URL: https://svnweb.freebsd.org/changeset/ports/560447 Log: new port: devel/R-cran-mockery: Mocking Library for R Approved by: lwhsu Added: head/devel/R-cran-mockery/ head/devel/R-cran-mockery/Makefile (contents, props changed) head/devel/R-cran-mockery/distinfo (contents, props changed) head/devel/R-cran-mockery/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jan 5 23:24:53 2021 (r560446) +++ head/devel/Makefile Tue Jan 5 23:26:13 2021 (r560447) @@ -62,6 +62,7 @@ SUBDIR += R-cran-magrittr SUBDIR += R-cran-memoise SUBDIR += R-cran-microbenchmark + SUBDIR += R-cran-mockery SUBDIR += R-cran-optparse SUBDIR += R-cran-pillar SUBDIR += R-cran-pkgbuild Added: head/devel/R-cran-mockery/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/R-cran-mockery/Makefile Tue Jan 5 23:26:13 2021 (r560447) @@ -0,0 +1,23 @@ +# Created by: Guangyuan Yang +# $FreeBSD$ + +PORTNAME= mockery +DISTVERSION= 0.4.2 +CATEGORIES= devel +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= ygy@FreeBSD.org +COMMENT= Mocking Library for R + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= R-cran-knitr>0:print/R-cran-knitr +RUN_DEPENDS= R-cran-testthat>0:devel/R-cran-testthat +TEST_DEPENDS= R-cran-R6>0:devel/R-cran-R6 \ + R-cran-knitr>0:print/R-cran-knitr \ + R-cran-rmarkdown>=1.0:textproc/R-cran-rmarkdown + +USES= cran:auto-plist + +.include Added: head/devel/R-cran-mockery/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/R-cran-mockery/distinfo Tue Jan 5 23:26:13 2021 (r560447) @@ -0,0 +1,3 @@ +TIMESTAMP = 1609807522 +SHA256 (mockery_0.4.2.tar.gz) = 988e249c366ee7faf277de004084cf5ca24b5c8a8c6e3842f1b1362ce2f7ea9b +SIZE (mockery_0.4.2.tar.gz) = 19837 Added: head/devel/R-cran-mockery/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/R-cran-mockery/pkg-descr Tue Jan 5 23:26:13 2021 (r560447) @@ -0,0 +1,8 @@ +The two main functionalities of this package are creating mock objects +(functions) and selectively intercepting calls to a given function that +originate in some other function. It can be used with any testing framework +available for R. Mock objects can be injected with either this package's own +stub() function or a similar with_mock() facility present in the 'testthat' +package. + +WWW: https://github.com/jfiksel/mockery