git: a920f4054d75 - main - lang/py-hy: Clean up *_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 14 Mar 2025 09:58:52 UTC
The branch main has been updated by sunpoet:

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

commit a920f4054d75999848fcd6df87f7fd1e2dc5d854
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-14 09:40:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-14 09:54:23 +0000

    lang/py-hy: Clean up *_DEPENDS
    
    - Add GitHub to MASTER_SITES
    - Update WWW
    - Sort *_DEPENDS
    - Convert to USE_PYTHON=pep517
    - Bump PORTREVISION for dependency change
    - Take maintainership
---
 lang/py-hy/Makefile | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/lang/py-hy/Makefile b/lang/py-hy/Makefile
index cfd7838f12dd..be83d08da30c 100644
--- a/lang/py-hy/Makefile
+++ b/lang/py-hy/Makefile
@@ -1,26 +1,28 @@
 PORTNAME=	hy
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	lang python
-MASTER_SITES=	PYPI
+MASTER_SITES=	PYPI \
+		https://github.com/hylang/hy/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Dialect of Lisp that is embedded in Python
-WWW=		https://docs.hylang.org/en/stable/
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Lisp dialect embedded in Python
+WWW=		https://hylang.org/ \
+		https://docs.hylang.org/en/stable/ \
+		https://github.com/hylang/hy
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=51.0.0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}fastentrypoints>0:devel/py-fastentrypoints@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}funcparserlib>=1.0<2:devel/py-funcparserlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astor>=0.8:devel/py-astor@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}fastentrypoints>0:devel/py-fastentrypoints@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}funcparserlib>=1.0<2:devel/py-funcparserlib@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>