From owner-svn-ports-all@freebsd.org Wed Jan 31 16:30:37 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B746AED508D; Wed, 31 Jan 2018 16:30:37 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6BB456C479; Wed, 31 Jan 2018 16:30:37 +0000 (UTC) (envelope-from lifanov@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 66A29284D7; Wed, 31 Jan 2018 16:30:37 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0VGUbSf087797; Wed, 31 Jan 2018 16:30:37 GMT (envelope-from lifanov@FreeBSD.org) Received: (from lifanov@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0VGUagZ087793; Wed, 31 Jan 2018 16:30:36 GMT (envelope-from lifanov@FreeBSD.org) Message-Id: <201801311630.w0VGUagZ087793@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lifanov set sender to lifanov@FreeBSD.org using -f From: Nikolai Lifanov Date: Wed, 31 Jan 2018 16:30:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460497 - in head/devel: . bats X-SVN-Group: ports-head X-SVN-Commit-Author: lifanov X-SVN-Commit-Paths: in head/devel: . bats X-SVN-Commit-Revision: 460497 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 16:30:37 -0000 Author: lifanov Date: Wed Jan 31 16:30:36 2018 New Revision: 460497 URL: https://svnweb.freebsd.org/changeset/ports/460497 Log: new port: devel/bats Bats is a TAP-compliant testing framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected. Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D14116 Added: head/devel/bats/ head/devel/bats/Makefile (contents, props changed) head/devel/bats/distinfo (contents, props changed) head/devel/bats/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Jan 31 16:25:43 2018 (r460496) +++ head/devel/Makefile Wed Jan 31 16:30:36 2018 (r460497) @@ -184,6 +184,7 @@ SUBDIR += b2 SUBDIR += babeltrace SUBDIR += bam + SUBDIR += bats SUBDIR += bazel SUBDIR += bazel-clang38 SUBDIR += bbfreeze Added: head/devel/bats/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bats/Makefile Wed Jan 31 16:30:36 2018 (r460497) @@ -0,0 +1,48 @@ +# Created by: Nikolai Lifanov +# $FreeBSD$ + +PORTNAME= bats +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.0 +CATEGORIES= devel + +MAINTAINER= lifanov@FreeBSD.org +COMMENT= Bash automated testing system + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash:shells/bash + +USES= shebangfix +SHEBANG_FILES= ${SCRIPTS:S/^/libexec\//} + +USE_GITHUB= yes +GH_ACCOUNT= sstephenson + +NO_BUILD= yes +NO_ARCH= yes + +SCRIPTS= bats \ + bats-exec-suite \ + bats-exec-test \ + bats-format-tap-stream \ + bats-preprocess + +PLIST_FILES= ${SCRIPTS:S/^/libexec\/${PORTNAME}\//} \ + bin/bats \ + man/man1/bats.1.gz \ + man/man7/bats.7.gz + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} +.for f in ${SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/libexec/${f} \ + ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/${f} +.endfor + ${RLN} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/bats \ + ${STAGEDIR}${PREFIX}/bin/bats + ${INSTALL_MAN} ${WRKSRC}/man/bats.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/bats.7 ${STAGEDIR}${MAN7PREFIX}/man/man7 + +.include Added: head/devel/bats/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bats/distinfo Wed Jan 31 16:30:36 2018 (r460497) @@ -0,0 +1,3 @@ +TIMESTAMP = 1517234922 +SHA256 (sstephenson-bats-v0.4.0_GH0.tar.gz) = 480d8d64f1681eee78d1002527f3f06e1ac01e173b761bc73d0cf33f4dc1d8d7 +SIZE (sstephenson-bats-v0.4.0_GH0.tar.gz) = 17258 Added: head/devel/bats/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bats/pkg-descr Wed Jan 31 16:30:36 2018 (r460497) @@ -0,0 +1,4 @@ +Bats is a TAP-compliant testing framework for Bash. It provides a simple +way to verify that the UNIX programs you write behave as expected. + +WWW: https://github.com/sstephenson/bats