pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-hypothesmith



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Feb 23 11:40:06 UTC 2022

Added Files:
        pkgsrc/devel/py-hypothesmith: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-hypothesmith/DESCR \
    pkgsrc/devel/py-hypothesmith/Makefile pkgsrc/devel/py-hypothesmith/PLIST \
    pkgsrc/devel/py-hypothesmith/distinfo

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

Added files:

Index: pkgsrc/devel/py-hypothesmith/DESCR
diff -u /dev/null pkgsrc/devel/py-hypothesmith/DESCR:1.1
--- /dev/null   Wed Feb 23 11:40:06 2022
+++ pkgsrc/devel/py-hypothesmith/DESCR  Wed Feb 23 11:40:06 2022
@@ -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.
Index: pkgsrc/devel/py-hypothesmith/Makefile
diff -u /dev/null pkgsrc/devel/py-hypothesmith/Makefile:1.1
--- /dev/null   Wed Feb 23 11:40:06 2022
+++ pkgsrc/devel/py-hypothesmith/Makefile       Wed Feb 23 11:40:06 2022
@@ -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"
Index: pkgsrc/devel/py-hypothesmith/PLIST
diff -u /dev/null pkgsrc/devel/py-hypothesmith/PLIST:1.1
--- /dev/null   Wed Feb 23 11:40:06 2022
+++ pkgsrc/devel/py-hypothesmith/PLIST  Wed Feb 23 11:40:06 2022
@@ -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
Index: pkgsrc/devel/py-hypothesmith/distinfo
diff -u /dev/null pkgsrc/devel/py-hypothesmith/distinfo:1.1
--- /dev/null   Wed Feb 23 11:40:06 2022
+++ pkgsrc/devel/py-hypothesmith/distinfo       Wed Feb 23 11:40:06 2022
@@ -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