diff --git a/devel/Makefile b/devel/Makefile index 88ba0eb30a6f..d5d8372dfab7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4933,6 +4933,7 @@ SUBDIR += py-pytest-mock SUBDIR += py-pytest-pep8 SUBDIR += py-pytest-pycodestyle + SUBDIR += py-pytest-randomly SUBDIR += py-pytest-relaxed SUBDIR += py-pytest-rerunfailures SUBDIR += py-pytest-runner diff --git a/devel/py-pytest-randomly/Makefile b/devel/py-pytest-randomly/Makefile new file mode 100644 index 000000000000..7969fad72015 --- /dev/null +++ b/devel/py-pytest-randomly/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= pytest-randomly +PORTVERSION= 3.4.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= swills@FreeBSD.org +COMMENT= Pytest plugin to randomly order tests and control random.seed + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +.include diff --git a/devel/py-pytest-randomly/distinfo b/devel/py-pytest-randomly/distinfo new file mode 100644 index 000000000000..40cda7d997a5 --- /dev/null +++ b/devel/py-pytest-randomly/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1595297035 +SHA256 (pytest-randomly-3.4.1.tar.gz) = 5fd0dbeeb218a7ce029690a8100453cd8d6a7972cf9d8e657690352692e92c69 +SIZE (pytest-randomly-3.4.1.tar.gz) = 31652 diff --git a/devel/py-pytest-randomly/pkg-descr b/devel/py-pytest-randomly/pkg-descr new file mode 100644 index 000000000000..b5f952a0b88a --- /dev/null +++ b/devel/py-pytest-randomly/pkg-descr @@ -0,0 +1,4 @@ +Pytest plugin to randomly order tests and control random.seed. (Also available +for nose). + +WWW: https://github.com/pytest-dev/pytest-randomly