Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2023 15:58:11 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4c16895da3de - main - devel/py-tox: Runtime fix
Message-ID:  <202301171558.30HFwBrw033615@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 4c16895da3deefe644343c65cd54033a6899adb4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-01-17 15:55:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-01-17 15:58:01 +0000

    devel/py-tox: Runtime fix
    
    Add missing dependency for python >= 3.7
    
    Reported by:    abravalheri@hey.com
    MFH:            2023Q1
---
 devel/py-tox/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/py-tox/Makefile b/devel/py-tox/Makefile
index 89567a8dd6ba..149f7f61edc8 100644
--- a/devel/py-tox/Makefile
+++ b/devel/py-tox/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tox
 PORTVERSION=	3.28.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -35,6 +36,9 @@ NO_ARCH=	yes
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib-metadata@${PY_FLAVOR}
 .endif
 
+.if ${PYTHON_REL} >= 30700
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR}
+.endif
 # tox.ini clobbers our pytest arguments
 post-extract:
 	${RM} ${WRKSRC}/tox.ini



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301171558.30HFwBrw033615>