svn commit: r433521 - in head/devel: . py-cmdtest
Baptiste Daroussin
bapt at FreeBSD.org
Mon Feb 6 21:12:40 UTC 2017
Author: bapt
Date: Mon Feb 6 21:12:38 2017
New Revision: 433521
URL: https://svnweb.freebsd.org/changeset/ports/433521
Log:
cmdtest black box tests Unix command line tools. Roughly, it is given a command
line and input files, and the expected output, and it verifies that the command
line produces the expected output. If not, it reports a problem, and shows the
differences.
WWW: https://liw.fi/cmdtest/
Added:
head/devel/py-cmdtest/
head/devel/py-cmdtest/Makefile (contents, props changed)
head/devel/py-cmdtest/distinfo (contents, props changed)
head/devel/py-cmdtest/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Mon Feb 6 21:10:09 2017 (r433520)
+++ head/devel/Makefile Mon Feb 6 21:12:38 2017 (r433521)
@@ -4156,6 +4156,7 @@
SUBDIR += py-cluster
SUBDIR += py-cmd2
SUBDIR += py-cmdln
+ SUBDIR += py-cmdtest
SUBDIR += py-codecov
SUBDIR += py-codegen
SUBDIR += py-cog
Added: head/devel/py-cmdtest/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cmdtest/Makefile Mon Feb 6 21:12:38 2017 (r433521)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= cmdtest
+PORTVERSION= 0.27
+CATEGORIES= devel
+MASTER_SITES= http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cmdtest/snapshot/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= bapt at FreeBSD.org
+COMMENT= Black box testing of Unix programs
+
+LICENSE= GPLv3
+LICENSE_FILES= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown \
+ ${PYTHON_PKGNAMEPREFIX}cliapp>0:devel/py-cliapp \
+ ${PYTHON_PKGNAMEPREFIX}ttystatus>0:devel/py-ttystatus
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown \
+ ${PYTHON_PKGNAMEPREFIX}cliapp>0:devel/py-cliapp \
+ ${PYTHON_PKGNAMEPREFIX}ttystatus>0:devel/py-ttystatus
+
+USES= python:2
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,python,${PYTHON_CMD},g" ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
Added: head/devel/py-cmdtest/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cmdtest/distinfo Mon Feb 6 21:12:38 2017 (r433521)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486412977
+SHA256 (cmdtest-0.27.tar.gz) = 8e9856403b5e6ed00cefd89b30a31768656d280ea1803513a4ba91b1e7a94c97
+SIZE (cmdtest-0.27.tar.gz) = 46752
Added: head/devel/py-cmdtest/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cmdtest/pkg-descr Mon Feb 6 21:12:38 2017 (r433521)
@@ -0,0 +1,6 @@
+cmdtest black box tests Unix command line tools. Roughly, it is given a command
+line and input files, and the expected output, and it verifies that the command
+line produces the expected output. If not, it reports a problem, and shows the
+differences.
+
+WWW: https://liw.fi/cmdtest/
More information about the svn-ports-all
mailing list