git: 18a8f1b89c25 - main - devel/py-pytest-order: Add py-pytest-order 1.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Apr 2023 18:08:16 UTC
The branch main has been updated by sunpoet:

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

commit 18a8f1b89c25b9e62f987b1c0729faf2764b2505
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 17:51:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 18:00:42 +0000

    devel/py-pytest-order: Add py-pytest-order 1.1.0
    
    pytest-order is a pytest plugin that allows you to customize the order in which
    your tests are run. It uses the marker order that defines when a specific test
    shall run, either by using an ordinal number, or by specifying the relationship
    to other tests.
    
    pytest-order is a fork of pytest-ordering that provides additional features like
    ordering relative to other tests.
---
 devel/Makefile                  |  1 +
 devel/py-pytest-order/Makefile  | 21 +++++++++++++++++++++
 devel/py-pytest-order/distinfo  |  3 +++
 devel/py-pytest-order/pkg-descr |  7 +++++++
 4 files changed, 32 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f44650bb2b4d..a88f86bf1727 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5276,6 +5276,7 @@
     SUBDIR += py-pytest-mypy
     SUBDIR += py-pytest-mypy-plugins
     SUBDIR += py-pytest-nunit
+    SUBDIR += py-pytest-order
     SUBDIR += py-pytest-parallel
     SUBDIR += py-pytest-pep8
     SUBDIR += py-pytest-plus
diff --git a/devel/py-pytest-order/Makefile b/devel/py-pytest-order/Makefile
new file mode 100644
index 000000000000..e7e867821129
--- /dev/null
+++ b/devel/py-pytest-order/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	pytest-order
+PORTVERSION=	1.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	pytest plugin to run your tests in a specific order
+WWW=		https://github.com/pytest-dev/pytest-order
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=6.2.4,1:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-order/distinfo b/devel/py-pytest-order/distinfo
new file mode 100644
index 000000000000..05907980888a
--- /dev/null
+++ b/devel/py-pytest-order/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681052894
+SHA256 (pytest-order-1.1.0.tar.gz) = 139d25b30826b78eebb42722f747eab14c44b88059d7a71d4f79d14a057269a5
+SIZE (pytest-order-1.1.0.tar.gz) = 43385
diff --git a/devel/py-pytest-order/pkg-descr b/devel/py-pytest-order/pkg-descr
new file mode 100644
index 000000000000..1b7bbefbf0ad
--- /dev/null
+++ b/devel/py-pytest-order/pkg-descr
@@ -0,0 +1,7 @@
+pytest-order is a pytest plugin that allows you to customize the order in which
+your tests are run. It uses the marker order that defines when a specific test
+shall run, either by using an ordinal number, or by specifying the relationship
+to other tests.
+
+pytest-order is a fork of pytest-ordering that provides additional features like
+ordering relative to other tests.