pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-hypothesmith devel/py-hypothesmith: import py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/daa8e4be71ea
branches:  trunk
changeset: 374474:daa8e4be71ea
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 23 11:40:06 2022 +0000

description:
devel/py-hypothesmith: import py-hypothesmith-0.2.0

Hypothesis strategies for generating Python programs, something
like CSmith.

This is definitely pre-alpha, but if you want to play with it feel
free! You can even keep the shiny pieces when - not if - it breaks.

diffstat:

 devel/py-hypothesmith/DESCR    |   5 +++++
 devel/py-hypothesmith/Makefile |  33 +++++++++++++++++++++++++++++++++
 devel/py-hypothesmith/PLIST    |  18 ++++++++++++++++++
 devel/py-hypothesmith/distinfo |   5 +++++
 4 files changed, 61 insertions(+), 0 deletions(-)

diffs (77 lines):

diff -r cf163bd1d8c3 -r daa8e4be71ea devel/py-hypothesmith/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hypothesmith/DESCR       Wed Feb 23 11:40:06 2022 +0000
@@ -0,0 +1,5 @@
+Hypothesis strategies for generating Python programs, something
+like CSmith.
+
+This is definitely pre-alpha, but if you want to play with it feel
+free! You can even keep the shiny pieces when - not if - it breaks.
diff -r cf163bd1d8c3 -r daa8e4be71ea devel/py-hypothesmith/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hypothesmith/Makefile    Wed Feb 23 11:40:06 2022 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 11:40:06 wiz Exp $
+
+DISTNAME=      hypothesmith-0.2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesmith/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Zac-HD/hypothesmith
+COMMENT=       Hypothesis strategies for generating Python programs, like CSmith
+LICENSE=       mpl-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-libcst-[0-9]*:../../lang/py-libcst
+DEPENDS+=      ${PYPKGPREFIX}-lark-parser-[0-9]*:../../lang/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"
diff -r cf163bd1d8c3 -r daa8e4be71ea devel/py-hypothesmith/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hypothesmith/PLIST       Wed Feb 23 11:40:06 2022 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 11:40:06 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/hypothesmith/__init__.py
+${PYSITELIB}/hypothesmith/__init__.pyc
+${PYSITELIB}/hypothesmith/__init__.pyo
+${PYSITELIB}/hypothesmith/cst.py
+${PYSITELIB}/hypothesmith/cst.pyc
+${PYSITELIB}/hypothesmith/cst.pyo
+${PYSITELIB}/hypothesmith/py.typed
+${PYSITELIB}/hypothesmith/python3.lark
+${PYSITELIB}/hypothesmith/syntactic.py
+${PYSITELIB}/hypothesmith/syntactic.pyc
+${PYSITELIB}/hypothesmith/syntactic.pyo
diff -r cf163bd1d8c3 -r daa8e4be71ea devel/py-hypothesmith/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hypothesmith/distinfo    Wed Feb 23 11:40:06 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 11:40:06 wiz Exp $
+
+BLAKE2s (hypothesmith-0.2.0.tar.gz) = b64ea307249c380993143b4995496827a79f892ae0f71c5913120d619c7e2d75
+SHA512 (hypothesmith-0.2.0.tar.gz) = b82627897f0e07e6249ce2d3730134690dbe340b81632a1101b6b6b9a9ac6ccd0f350ba10f729349ef200b9243081f7f58eb760ccbcb4175adfcc5f411a8a045
+Size (hypothesmith-0.2.0.tar.gz) = 24933 bytes



Home | Main Index | Thread Index | Old Index