git: 84fb284eba19 - main - devel/py-async_timeout: Add missing RUN_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 11:05:21 UTC
The branch main has been updated by sunpoet:

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

commit 84fb284eba19cc5c5d64254c5e5dbf263ac1889b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 11:00:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 11:00:37 +0000

    devel/py-async_timeout: Add missing RUN_DEPENDS
    
    from setup.cfg:
    install_requires =
            typing_extensions>=3.6.5; python_version < "3.8"
    
    Approved by:    portmgr (blanket)
    With hat:       python
---
 devel/py-async_timeout/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/devel/py-async_timeout/Makefile b/devel/py-async_timeout/Makefile
index 1bb60a3c3190..11682ed3525e 100644
--- a/devel/py-async_timeout/Makefile
+++ b/devel/py-async_timeout/Makefile
@@ -18,7 +18,13 @@ USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.5:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>