pkgsrc-WIP-changes archive

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

py-nihtest-git: add git-tracking version of py-nihtest



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Fri Jan 5 13:23:36 2024 +0100
Changeset:	a4bcf79dfc94801c2655b5398d3ca0f9909a924d

Modified Files:
	Makefile
Added Files:
	py-nihtest-git/ALTERNATIVES
	py-nihtest-git/DESCR
	py-nihtest-git/Makefile
	py-nihtest-git/PLIST

Log Message:
py-nihtest-git: add git-tracking version of py-nihtest

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a4bcf79dfc94801c2655b5398d3ca0f9909a924d

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

diffstat:
 Makefile                    | 12 +++++++++++-
 py-nihtest-git/ALTERNATIVES |  1 +
 py-nihtest-git/DESCR        |  8 ++++++++
 py-nihtest-git/Makefile     | 38 ++++++++++++++++++++++++++++++++++++
 py-nihtest-git/PLIST        | 47 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 105 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index f9f0cfd5f3..d5027e7f0e 100644
--- a/Makefile
+++ b/Makefile
@@ -596,6 +596,7 @@ SUBDIR+=	cyclone-docs
 SUBDIR+=	cygwin
 SUBDIR+=	cygwin-binutils
 SUBDIR+=	cyrus-imapd30
+SUBDIR+=	cyrus-imapd34
 SUBDIR+=	cyrus-imapd36
 SUBDIR+=	d-feet
 SUBDIR+=	d1x-rebirth
@@ -1352,6 +1353,7 @@ SUBDIR+=	guile-persist
 SUBDIR+=	guile-reader
 SUBDIR+=	guile-sjson
 SUBDIR+=	guile-stis-parser
+SUBDIR+=	gumbo-parser
 SUBDIR+=	gunison
 SUBDIR+=	gupnp-ui
 SUBDIR+=	gurlchecker
@@ -2233,6 +2235,7 @@ SUBDIR+=	miracl
 SUBDIR+=	mirage
 SUBDIR+=	miro
 SUBDIR+=	mistserver
+SUBDIR+=	mitmproxy
 SUBDIR+=	mixer.tk
 SUBDIR+=	mixmaster
 SUBDIR+=	mk-configure-current
@@ -2424,6 +2427,7 @@ SUBDIR+=	netx
 SUBDIR+=	newsboat
 SUBDIR+=	newsboat213
 SUBDIR+=	newsboat233
+SUBDIR+=	newsraft
 SUBDIR+=	newt
 SUBDIR+=	nextpnr
 SUBDIR+=	nfcapdu
@@ -3244,6 +3248,7 @@ SUBDIR+=	py-astropy-healpix
 SUBDIR+=	py-astropy5
 SUBDIR+=	py-astroquery
 SUBDIR+=	py-astroscrappy
+SUBDIR+=	py-astutils
 SUBDIR+=	py-async
 SUBDIR+=	py-asyncmock
 SUBDIR+=	py-asynctest
@@ -3463,6 +3468,7 @@ SUBDIR+=	py-dbus-next
 SUBDIR+=	py-dbutils
 SUBDIR+=	py-dclab
 SUBDIR+=	py-dcpf
+SUBDIR+=	py-dd
 SUBDIR+=	py-deap
 SUBDIR+=	py-debacl
 SUBDIR+=	py-debian
@@ -4042,6 +4048,7 @@ SUBDIR+=	py-nexpy
 SUBDIR+=	py-nfg
 SUBDIR+=	py-ngxtop
 SUBDIR+=	py-nibabel
+SUBDIR+=	py-nihtest-git
 SUBDIR+=	py-nilearn
 SUBDIR+=	py-nimfa
 SUBDIR+=	py-nipy
@@ -4088,6 +4095,7 @@ SUBDIR+=	py-odesys
 SUBDIR+=	py-odeviz
 SUBDIR+=	py-okasha
 SUBDIR+=	py-okpy
+SUBDIR+=	py-omega
 SUBDIR+=	py-ontopy
 SUBDIR+=	py-openai
 SUBDIR+=	py-openastro
@@ -4284,6 +4292,7 @@ SUBDIR+=	py-python-application
 SUBDIR+=	py-python-decouple
 SUBDIR+=	py-python-gnutls
 SUBDIR+=	py-python-igraph
+SUBDIR+=	py-python-omega
 SUBDIR+=	py-pytkgen
 SUBDIR+=	py-pytools
 SUBDIR+=	py-pytrends
@@ -4878,6 +4887,7 @@ SUBDIR+=	roadfighter
 SUBDIR+=	rocksdb
 SUBDIR+=	rolo
 SUBDIR+=	rom64
+SUBDIR+=	romblast
 SUBDIR+=	rootcheck
 SUBDIR+=	rootsh
 SUBDIR+=	rosegarden
@@ -5056,7 +5066,6 @@ SUBDIR+=	semanticscuttle
 SUBDIR+=	semgrep
 SUBDIR+=	semgrep-core
 SUBDIR+=	send-pr
-SUBDIR+=	sendmail
 SUBDIR+=	sendmail818
 SUBDIR+=	sendmailX
 SUBDIR+=	sent
@@ -5414,6 +5423,7 @@ SUBDIR+=	tinyca2
 SUBDIR+=	tinycobol
 SUBDIR+=	tinyfugue-beta
 SUBDIR+=	tinylogin
+SUBDIR+=	tinyssh
 SUBDIR+=	tipp10
 SUBDIR+=	tk-itk3
 SUBDIR+=	tkblt
diff --git a/py-nihtest-git/ALTERNATIVES b/py-nihtest-git/ALTERNATIVES
new file mode 100644
index 0000000000..380a553942
--- /dev/null
+++ b/py-nihtest-git/ALTERNATIVES
@@ -0,0 +1 @@
+bin/nihtest @PREFIX@/bin/nihtest-@PYVERSSUFFIX@
diff --git a/py-nihtest-git/DESCR b/py-nihtest-git/DESCR
new file mode 100644
index 0000000000..c8d70a3538
--- /dev/null
+++ b/py-nihtest-git/DESCR
@@ -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.
diff --git a/py-nihtest-git/Makefile b/py-nihtest-git/Makefile
new file mode 100644
index 0000000000..bddb419527
--- /dev/null
+++ b/py-nihtest-git/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.12 2024/01/03 16:28:36 wiz Exp $
+
+DISTNAME=	nihtest-1.4.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel
+#MASTER_SITES=	${MASTER_SITE_PYPI:=n/nihtest/}
+GIT_REPO=       https://github.com/nih-at/nihtest.git
+
+MAINTAINER=	wiz%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/nih-at/nihtest
+COMMENT=	Testing tool for command line utilities
+LICENSE=	modified-bsd
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+USE_TOOLS+=	cmake:test
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27 38
+
+INSTALLATION_DIRS+=	${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && ${MV} nihtest nihtest-${PYVERSSUFFIX} || ${TRUE}
+.for man in nihtest
+	${INSTALL_DATA} ${WRKSRC}/manpages/${man}.mdoc ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${man}-${PYVERSSUFFIX}.1
+.endfor
+.for man in nihtest-case nihtest.conf
+	${INSTALL_DATA} ${WRKSRC}/manpages/${man}.mdoc ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/${man}-${PYVERSSUFFIX}.5
+.endfor
+
+do-test:
+	${MKDIR} ${WRKSRC}/build
+	cd ${WRKSRC}/build && cmake .. && ${MAKE} && ctest
+
+.include "../../lang/python/wheel.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-nihtest-git/PLIST b/py-nihtest-git/PLIST
new file mode 100644
index 0000000000..ab84551414
--- /dev/null
+++ b/py-nihtest-git/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.5 2023/10/28 19:57:04 wiz Exp $
+bin/nihtest-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/nihtest/Command.py
+${PYSITELIB}/nihtest/Command.pyc
+${PYSITELIB}/nihtest/Command.pyo
+${PYSITELIB}/nihtest/CompareArrays.py
+${PYSITELIB}/nihtest/CompareArrays.pyc
+${PYSITELIB}/nihtest/CompareArrays.pyo
+${PYSITELIB}/nihtest/Configuration.py
+${PYSITELIB}/nihtest/Configuration.pyc
+${PYSITELIB}/nihtest/Configuration.pyo
+${PYSITELIB}/nihtest/Environment.py
+${PYSITELIB}/nihtest/Environment.pyc
+${PYSITELIB}/nihtest/Environment.pyo
+${PYSITELIB}/nihtest/Features.py
+${PYSITELIB}/nihtest/Features.pyc
+${PYSITELIB}/nihtest/Features.pyo
+${PYSITELIB}/nihtest/File.py
+${PYSITELIB}/nihtest/File.pyc
+${PYSITELIB}/nihtest/File.pyo
+${PYSITELIB}/nihtest/Sandbox.py
+${PYSITELIB}/nihtest/Sandbox.pyc
+${PYSITELIB}/nihtest/Sandbox.pyo
+${PYSITELIB}/nihtest/Test.py
+${PYSITELIB}/nihtest/Test.pyc
+${PYSITELIB}/nihtest/Test.pyo
+${PYSITELIB}/nihtest/TestCase.py
+${PYSITELIB}/nihtest/TestCase.pyc
+${PYSITELIB}/nihtest/TestCase.pyo
+${PYSITELIB}/nihtest/Utility.py
+${PYSITELIB}/nihtest/Utility.pyc
+${PYSITELIB}/nihtest/Utility.pyo
+${PYSITELIB}/nihtest/__init__.py
+${PYSITELIB}/nihtest/__init__.pyc
+${PYSITELIB}/nihtest/__init__.pyo
+${PYSITELIB}/nihtest/__main__.py
+${PYSITELIB}/nihtest/__main__.pyc
+${PYSITELIB}/nihtest/__main__.pyo
+man/man1/nihtest-${PYVERSSUFFIX}.1
+man/man5/nihtest-case-${PYVERSSUFFIX}.5
+man/man5/nihtest.conf-${PYVERSSUFFIX}.5


Home | Main Index | Thread Index | Old Index