git: daa2668737b1 - main - devel/py-pytest-canonical-data: add port

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Fri, 08 Oct 2021 20:42:38 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=daa2668737b1f69f13de06e76014585c9a4c68a5

commit daa2668737b1f69f13de06e76014585c9a4c68a5
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-10-07 14:40:11 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-10-08 20:35:48 +0000

    devel/py-pytest-canonical-data: add port
    
    A plugin which allows to compare results with canonical results,
    based on previous runs.
    
    Inspired by Yandex's canondata plugin, pytest-needle and
    pytest-regtest.
    
    WWW: https://pypi.org/project/pytest-canonical-data/
    WWW: https://github.com/shuternay/pytest-canonical-data
---
 devel/Makefile                           |  1 +
 devel/py-pytest-canonical-data/Makefile  | 19 +++++++++++++++++++
 devel/py-pytest-canonical-data/distinfo  |  3 +++
 devel/py-pytest-canonical-data/pkg-descr |  8 ++++++++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 687207541f03..d21fd12b32e0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5007,6 +5007,7 @@
     SUBDIR += py-pytest-black
     SUBDIR += py-pytest-black-multipy
     SUBDIR += py-pytest-cache
+    SUBDIR += py-pytest-canonical-data
     SUBDIR += py-pytest-capturelog
     SUBDIR += py-pytest-checkdocs
     SUBDIR += py-pytest-cov
diff --git a/devel/py-pytest-canonical-data/Makefile b/devel/py-pytest-canonical-data/Makefile
new file mode 100644
index 000000000000..27ebbef644c4
--- /dev/null
+++ b/devel/py-pytest-canonical-data/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	pytest-canonical-data
+PORTVERSION=	0.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	amdmi3@FreeBSD.org
+COMMENT=	Plugin which compares results with canonical ones from previous runs
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.5+
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-canonical-data/distinfo b/devel/py-pytest-canonical-data/distinfo
new file mode 100644
index 000000000000..1d586e6039f6
--- /dev/null
+++ b/devel/py-pytest-canonical-data/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1633553084
+SHA256 (pytest-canonical-data-0.1.0.tar.gz) = ddabcfbd3e7dbfd929db7286c7fb708943bf68b5d8c92d6034423d14d17c380a
+SIZE (pytest-canonical-data-0.1.0.tar.gz) = 5372
diff --git a/devel/py-pytest-canonical-data/pkg-descr b/devel/py-pytest-canonical-data/pkg-descr
new file mode 100644
index 000000000000..db9271788458
--- /dev/null
+++ b/devel/py-pytest-canonical-data/pkg-descr
@@ -0,0 +1,8 @@
+A plugin which allows to compare results with canonical results,
+based on previous runs.
+
+Inspired by Yandex's canondata plugin, pytest-needle and
+pytest-regtest.
+
+WWW: https://pypi.org/project/pytest-canonical-data/
+WWW: https://github.com/shuternay/pytest-canonical-data