pkgsrc-WIP-changes archive

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

py-jsonpointer: Add test target, COMMIT_MSG



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Wed May 22 11:17:36 2024 -0700
Changeset:	9e14234230ce7e22cf89d066ad029863b114ac35

Modified Files:
	py-jsonpointer/Makefile
Added Files:
	py-jsonpointer/COMMIT_MSG

Log Message:
py-jsonpointer: Add test target, COMMIT_MSG

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

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

diffstat:
 py-jsonpointer/COMMIT_MSG | 3 +++
 py-jsonpointer/Makefile   | 4 ++++
 2 files changed, 7 insertions(+)

diffs:
diff --git a/py-jsonpointer/COMMIT_MSG b/py-jsonpointer/COMMIT_MSG
new file mode 100644
index 0000000000..22e7b4e236
--- /dev/null
+++ b/py-jsonpointer/COMMIT_MSG
@@ -0,0 +1,3 @@
+devel/py-jsonpointer: Add v2.4
+
+Library to resolve JSON Pointers according to RFC 6901.
diff --git a/py-jsonpointer/Makefile b/py-jsonpointer/Makefile
index 92ad102607..d0227c913f 100644
--- a/py-jsonpointer/Makefile
+++ b/py-jsonpointer/Makefile
@@ -11,6 +11,7 @@ COMMENT=	Library to resolve JSON Pointers according to RFC 6901
 LICENSE=	modified-bsd
 
 USE_LANGUAGES=	# none
+USE_PYTEST=	no
 
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
@@ -21,5 +22,8 @@ post-install:
 	cd ${DESTDIR}${PREFIX} &&					\
 		${MV} bin/jsonpointer bin/jsonpointer-${PYVERSSUFFIX}
 
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index