git: 8bc6da97b730 - main - devel/py-riot: Add py-riot 0.20.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 14:40:49 UTC
The branch main has been updated by sunpoet:

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

commit 8bc6da97b730e0a19a38c226dedd7a48504c1b41
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-29 14:09:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-29 14:38:27 +0000

    devel/py-riot: Add py-riot 0.20.0
    
    riot is a Python virtual environment constructor and command runner.
---
 devel/Makefile          |  1 +
 devel/py-riot/Makefile  | 35 +++++++++++++++++++++++++++++++++++
 devel/py-riot/distinfo  |  3 +++
 devel/py-riot/pkg-descr |  1 +
 4 files changed, 40 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 3f5ca6dc797f..95be3f699713 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5804,6 +5804,7 @@
     SUBDIR += py-rfc3339-validator
     SUBDIR += py-rfc3986-validator
     SUBDIR += py-rich-click
+    SUBDIR += py-riot
     SUBDIR += py-robotframework
     SUBDIR += py-robotframework-assertion-engine
     SUBDIR += py-robotframework-databaselibrary
diff --git a/devel/py-riot/Makefile b/devel/py-riot/Makefile
new file mode 100644
index 000000000000..7da2701e04ba
--- /dev/null
+++ b/devel/py-riot/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	riot
+PORTVERSION=	0.20.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Simple Python test runner runner
+WWW=		https://ddriot.readthedocs.io/en/latest/ \
+		https://github.com/DataDog/riot
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.apache2
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}virtualenv>=0<20.26.6_99:devel/py-virtualenv@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 31200
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-riot/distinfo b/devel/py-riot/distinfo
new file mode 100644
index 000000000000..096ee640606d
--- /dev/null
+++ b/devel/py-riot/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729994280
+SHA256 (riot-0.20.0.tar.gz) = 1ca4cfc2f2c061876228e84cc5ce6b2775de6b15ba3cfe522dd4b9d6eac22835
+SIZE (riot-0.20.0.tar.gz) = 40488
diff --git a/devel/py-riot/pkg-descr b/devel/py-riot/pkg-descr
new file mode 100644
index 000000000000..59064cbb8fab
--- /dev/null
+++ b/devel/py-riot/pkg-descr
@@ -0,0 +1 @@
+riot is a Python virtual environment constructor and command runner.