pkgsrc-WIP-changes archive

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

py-prysk: command line testing framework



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Jul 18 07:37:54 2026 +0200
Changeset:	2d4bcfc5d0e2167a8cd158affe29c60292a9495b

Modified Files:
	Makefile
Added Files:
	py-prysk/ALTERNATIVES
	py-prysk/DESCR
	py-prysk/Makefile
	py-prysk/PLIST
	py-prysk/distinfo

Log Message:
py-prysk: command line testing framework

Maintained fork of py-cram

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

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

diffstat:
 Makefile              |  1 +
 py-prysk/ALTERNATIVES |  1 +
 py-prysk/DESCR        |  7 +++++++
 py-prysk/Makefile     | 20 ++++++++++++++++++++
 py-prysk/PLIST        | 31 +++++++++++++++++++++++++++++++
 py-prysk/distinfo     |  5 +++++
 6 files changed, 65 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f968995a8b..0463561235 100644
--- a/Makefile
+++ b/Makefile
@@ -4500,6 +4500,7 @@ SUBDIR+=	py-promise
 SUBDIR+=	py-property-manager
 SUBDIR+=	py-propyte
 SUBDIR+=	py-proxy_tools
+SUBDIR+=	py-prysk
 SUBDIR+=	py-psamm
 SUBDIR+=	py-pseudopy
 SUBDIR+=	py-pseudorandom
diff --git a/py-prysk/ALTERNATIVES b/py-prysk/ALTERNATIVES
new file mode 100644
index 0000000000..8ab3453ff4
--- /dev/null
+++ b/py-prysk/ALTERNATIVES
@@ -0,0 +1 @@
+bin/prysk @PREFIX@/bin/prysk-@PYVERSSUFFIX@
diff --git a/py-prysk/DESCR b/py-prysk/DESCR
new file mode 100644
index 0000000000..6ae2bf81c0
--- /dev/null
+++ b/py-prysk/DESCR
@@ -0,0 +1,7 @@
+Prysk is a fork of the popular snapshot testing tool Cram. Even
+though Cram is pretty complete and mature for everyday use, Prysk
+wants to continue pushing its development forward.
+
+Prysk tests look like snippets of interactive shell sessions. Prysk
+runs each command and compares the command output in the test with
+the command's actual output.
diff --git a/py-prysk/Makefile b/py-prysk/Makefile
new file mode 100644
index 0000000000..993c542970
--- /dev/null
+++ b/py-prysk/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	prysk-0.20.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/prysk/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://www.prysk.net/
+COMMENT=	Functional tests for command line applications
+LICENSE=	gnu-gpl-v2
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core
+
+USE_LANGUAGES=	# none
+
+PY_RENAME_BINARIES=	prysk
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-prysk/PLIST b/py-prysk/PLIST
new file mode 100644
index 0000000000..36575f8f9e
--- /dev/null
+++ b/py-prysk/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+bin/prysk-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING.txt
+${PYSITELIB}/prysk/__init__.py
+${PYSITELIB}/prysk/__init__.pyc
+${PYSITELIB}/prysk/__init__.pyo
+${PYSITELIB}/prysk/__main__.py
+${PYSITELIB}/prysk/__main__.pyc
+${PYSITELIB}/prysk/__main__.pyo
+${PYSITELIB}/prysk/cli.py
+${PYSITELIB}/prysk/cli.pyc
+${PYSITELIB}/prysk/cli.pyo
+${PYSITELIB}/prysk/diff.py
+${PYSITELIB}/prysk/diff.pyc
+${PYSITELIB}/prysk/diff.pyo
+${PYSITELIB}/prysk/process.py
+${PYSITELIB}/prysk/process.pyc
+${PYSITELIB}/prysk/process.pyo
+${PYSITELIB}/prysk/settings.py
+${PYSITELIB}/prysk/settings.pyc
+${PYSITELIB}/prysk/settings.pyo
+${PYSITELIB}/prysk/test.py
+${PYSITELIB}/prysk/test.pyc
+${PYSITELIB}/prysk/test.pyo
+${PYSITELIB}/prysk/xunit.py
+${PYSITELIB}/prysk/xunit.pyc
+${PYSITELIB}/prysk/xunit.pyo
diff --git a/py-prysk/distinfo b/py-prysk/distinfo
new file mode 100644
index 0000000000..369bc30adc
--- /dev/null
+++ b/py-prysk/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (prysk-0.20.0.tar.gz) = 0a760e0697376f46f81d7103b90176d91015bbd3e1142070ff03feb67fbb4b6e
+SHA512 (prysk-0.20.0.tar.gz) = 608125ad73cf8879c069509e737fbf62982968f13acd02ddb6317cc246695ad7e648236264bbd6a4eb6de37e8d57d560480c4e674540a46c684169ae90a77f67
+Size (prysk-0.20.0.tar.gz) = 72274 bytes


Home | Main Index | Thread Index | Old Index