pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-hypothesmith: finish package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Wed Feb 23 12:23:47 2022 +0100
Changeset: 01dcb072e258fb30bb0064c4f37946e7652c5da7
Modified Files:
py-hypothesmith/Makefile
Log Message:
py-hypothesmith: finish package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=01dcb072e258fb30bb0064c4f37946e7652c5da7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-hypothesmith/Makefile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diffs:
diff --git a/py-hypothesmith/Makefile b/py-hypothesmith/Makefile
index 2ee87df8b0..42ef4bffaf 100644
--- a/py-hypothesmith/Makefile
+++ b/py-hypothesmith/Makefile
@@ -11,11 +11,23 @@ COMMENT= Hypothesis strategies for generating Python programs, like CSmith
LICENSE= mpl-2.0
DEPENDS+= ${PYPKGPREFIX}-libcst-[0-9]*:../../wip/py-libcst
-# XXX: more
+DEPENDS+= ${PYPKGPREFIX}-lark-parser-[0-9]*:../../wip/py-lark-parser
+DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
+TEST_DEPENDS+= ${PYPKGPREFIX}-parso-[0-9]*:../../lang/py-parso
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
+# as of 0.2.0
+# 1 failed, 170 passed, 2 skipped, 3 xfailed
+# https://github.com/Zac-HD/hypothesmith/issues/21
+TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index