Import py-hypothesis 3.5.2, ok danj@
Hypothesis is an advanced testing library for Python. It lets you write tests which are parametrized by a source of examples, and then generates simple and comprehensible examples that make your tests fail. This lets you find more bugs in your code with less work.
This commit is contained in:
parent
67622f70f1
commit
116a0e35fb
33
devel/py-hypothesis/Makefile
Normal file
33
devel/py-hypothesis/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2016/10/02 11:45:49 shadchin Exp $
|
||||
|
||||
COMMENT = library for property based testing
|
||||
|
||||
MODPY_EGG_VERSION = 3.5.2
|
||||
DISTNAME = hypothesis-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-hypothesis-${MODPY_EGG_VERSION}
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = http://hypothesis.works/
|
||||
|
||||
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
|
||||
|
||||
# MPL 2.0
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
RUN_DEPENDS = devel/py-uncompyle6${MODPY_FLAVOR}
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
.if !${FLAVOR:Mpython3}
|
||||
RUN_DEPENDS += devel/py-enum34
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-hypothesis/distinfo
Normal file
2
devel/py-hypothesis/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (hypothesis-3.5.2.tar.gz) = vjjJVbncQmQ+JAZlBsd3MsQ25qqa8vvgpNWOtq65KMk=
|
||||
SIZE (hypothesis-3.5.2.tar.gz) = 72973
|
4
devel/py-hypothesis/pkg/DESCR
Normal file
4
devel/py-hypothesis/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
Hypothesis is an advanced testing library for Python. It lets you write
|
||||
tests which are parametrized by a source of examples, and then generates
|
||||
simple and comprehensible examples that make your tests fail. This lets
|
||||
you find more bugs in your code with less work.
|
143
devel/py-hypothesis/pkg/PLIST
Normal file
143
devel/py-hypothesis/pkg/PLIST
Normal file
@ -0,0 +1,143 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/10/02 11:45:49 shadchin Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}_settings.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}configuration.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}control.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}core.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}database.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}errors.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}executors.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}reporting.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}stateful.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}statistics.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}strategies.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}strategytests.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}types.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/_settings.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/configuration.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/control.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/core.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/database.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/errors.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/executors.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/${MODPY_PYCACHE}datetime.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/${MODPY_PYCACHE}fakefactory.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/${MODPY_PYCACHE}numpy.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/${MODPY_PYCACHE}pytestplugin.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/datetime.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/django/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/django/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/django/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/django/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/django/${MODPY_PYCACHE}models.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/django/models.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/fakefactory.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/numpy.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/extra/pytestplugin.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}charmap.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}classmap.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}debug.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}deferredformat.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}detection.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}floats.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}intervalsets.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/${MODPY_PYCACHE}reflection.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/charmap.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/classmap.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/compat.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/${MODPY_PYCACHE}data.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/${MODPY_PYCACHE}engine.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/${MODPY_PYCACHE}minimizer.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/data.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/engine.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/minimizer.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/conjecture/utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/debug.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/deferredformat.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/detection.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/floats.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/intervalsets.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/internal/reflection.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/reporting.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}collections.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}deferred.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}fixed.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}flatmapped.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}misc.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}numbers.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}recursive.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}reprwrapper.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}shared.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}strategies.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}streams.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}strings.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/${MODPY_PYCACHE}wrappers.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/collections.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/deferred.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/fixed.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/flatmapped.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/misc.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/numbers.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/recursive.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/reprwrapper.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/shared.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/strategies.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/streams.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/strings.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/searchstrategy/wrappers.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/stateful.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/statistics.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/strategies.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/strategytests.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/tools/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/tools/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/tools/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/tools/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/tools/${MODPY_PYCACHE}mergedbs.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/tools/mergedbs.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/types.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/utils/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/utils/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/utils/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/utils/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/utils/${MODPY_PYCACHE}conventions.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/utils/${MODPY_PYCACHE}dynamicvariables.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/utils/conventions.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/utils/dynamicvariables.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/vendor/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/vendor/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/hypothesis/vendor/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/vendor/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/vendor/${MODPY_PYCACHE}pretty.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/vendor/pretty.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hypothesis/version.py
|
Loading…
x
Reference in New Issue
Block a user