pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-nihtest
Module Name: pkgsrc
Committed By: wiz
Date: Fri Jun 9 15:57:32 UTC 2023
Added Files:
pkgsrc/devel/py-nihtest: ALTERNATIVES DESCR Makefile PLIST distinfo
Log Message:
devel/py-nihtest: import py-nihtest-1.0.0
This is nihtest, a testing tool for command line utilities.
Tests are run in a sandbox directory to guarantee a clean separation
of the test.
It checks that exit code, standard and error outputs are as expected
and compares the files in the sandbox after the run with the expected
results.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-nihtest/ALTERNATIVES \
pkgsrc/devel/py-nihtest/DESCR pkgsrc/devel/py-nihtest/Makefile \
pkgsrc/devel/py-nihtest/PLIST pkgsrc/devel/py-nihtest/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/py-nihtest/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-nihtest/ALTERNATIVES:1.1
--- /dev/null Fri Jun 9 15:57:32 2023
+++ pkgsrc/devel/py-nihtest/ALTERNATIVES Fri Jun 9 15:57:32 2023
@@ -0,0 +1 @@
+bin/nihtest @PREFIX@/bin/nihtest-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-nihtest/DESCR
diff -u /dev/null pkgsrc/devel/py-nihtest/DESCR:1.1
--- /dev/null Fri Jun 9 15:57:32 2023
+++ pkgsrc/devel/py-nihtest/DESCR Fri Jun 9 15:57:32 2023
@@ -0,0 +1,8 @@
+This is nihtest, a testing tool for command line utilities.
+
+Tests are run in a sandbox directory to guarantee a clean separation
+of the test.
+
+It checks that exit code, standard and error outputs are as expected
+and compares the files in the sandbox after the run with the expected
+results.
Index: pkgsrc/devel/py-nihtest/Makefile
diff -u /dev/null pkgsrc/devel/py-nihtest/Makefile:1.1
--- /dev/null Fri Jun 9 15:57:32 2023
+++ pkgsrc/devel/py-nihtest/Makefile Fri Jun 9 15:57:32 2023
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2023/06/09 15:57:32 wiz Exp $
+
+DISTNAME= nihtest-1.0.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=n/nihtest/}
+
+MAINTAINER= wiz%NetBSD.org@localhost
+HOMEPAGE= https://github.com/nih-at/nihtest
+COMMENT= Testing tool for command line utilities
+LICENSE= modified-bsd
+
+TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} nihtest nihtest-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-nihtest/PLIST
diff -u /dev/null pkgsrc/devel/py-nihtest/PLIST:1.1
--- /dev/null Fri Jun 9 15:57:32 2023
+++ pkgsrc/devel/py-nihtest/PLIST Fri Jun 9 15:57:32 2023
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2023/06/09 15:57:32 wiz Exp $
+bin/nihtest-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/nihtest/Command.py
+${PYSITELIB}/nihtest/Command.pyc
+${PYSITELIB}/nihtest/CompareArrays.py
+${PYSITELIB}/nihtest/CompareArrays.pyc
+${PYSITELIB}/nihtest/Configuration.py
+${PYSITELIB}/nihtest/Configuration.pyc
+${PYSITELIB}/nihtest/Features.py
+${PYSITELIB}/nihtest/Features.pyc
+${PYSITELIB}/nihtest/File.py
+${PYSITELIB}/nihtest/File.pyc
+${PYSITELIB}/nihtest/Sandbox.py
+${PYSITELIB}/nihtest/Sandbox.pyc
+${PYSITELIB}/nihtest/Test.py
+${PYSITELIB}/nihtest/Test.pyc
+${PYSITELIB}/nihtest/TestCase.py
+${PYSITELIB}/nihtest/TestCase.pyc
+${PYSITELIB}/nihtest/Utility.py
+${PYSITELIB}/nihtest/Utility.pyc
+${PYSITELIB}/nihtest/__init__.py
+${PYSITELIB}/nihtest/__init__.pyc
+${PYSITELIB}/nihtest/__main__.py
+${PYSITELIB}/nihtest/__main__.pyc
Index: pkgsrc/devel/py-nihtest/distinfo
diff -u /dev/null pkgsrc/devel/py-nihtest/distinfo:1.1
--- /dev/null Fri Jun 9 15:57:32 2023
+++ pkgsrc/devel/py-nihtest/distinfo Fri Jun 9 15:57:32 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/06/09 15:57:32 wiz Exp $
+
+BLAKE2s (nihtest-1.0.0.tar.gz) = 865909b70a0e0b7d1d5d09738e73af519fdabeeeb7a751ca076e0e2623794329
+SHA512 (nihtest-1.0.0.tar.gz) = 79974d066d30af561cd106cd014531f6a447275340bebc74e6752a909ba26893a267ab20ebbd5af0ff7688eb106f4637d29693df306b2d165665c92ac02a951b
+Size (nihtest-1.0.0.tar.gz) = 32726 bytes
Home |
Main Index |
Thread Index |
Old Index