git: 7b5c9765f44b - main - astro/py-pyerfa: Add python to CATEGORIES

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sun, 31 Oct 2021 22:25:50 UTC
The branch main has been updated by wen:

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

commit 7b5c9765f44b56947bc8d5c544f5cf9c3a9fac51
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2021-10-31 22:23:05 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2021-10-31 22:23:05 +0000

    astro/py-pyerfa: Add python to CATEGORIES
    
    Limit python and numpy version
    Reported by:    koobs@(via email)
---
 astro/py-pyerfa/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/astro/py-pyerfa/Makefile b/astro/py-pyerfa/Makefile
index 24fe4b943006..a86cd67373ea 100644
--- a/astro/py-pyerfa/Makefile
+++ b/astro/py-pyerfa/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pyerfa
 DISTVERSION=	2.0.0
-CATEGORIES=	astro
+CATEGORIES=	astro python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,13 +10,13 @@ COMMENT=	Python wrapper for the ERFA library
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
-BUILD_DEPENDS=	${PYNUMPY} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.17.0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYNUMPY}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.17.0,1:math/py-numpy@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.6-3.9
 USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>