git: 362c74e34859 - main - devel/py-phx-class-registry: Update to 5.1.1, switch to USE_GITHUB

From: Craig Leres <leres_at_FreeBSD.org>
Date: Wed, 13 Nov 2024 18:04:27 UTC
The branch main has been updated by leres:

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

commit 362c74e34859b2b611981d96527e42591114f71b
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2024-11-13 18:03:59 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2024-11-13 18:03:59 +0000

    devel/py-phx-class-registry: Update to 5.1.1, switch to USE_GITHUB
    
    https://github.com/todofixthis/class-registry/releases/tag/5.1.1
    
    PR:             282372
    Approved by:    PopularMoment@protonmail.com (maintainer timeout, 2 weeks)
---
 devel/py-phx-class-registry/Makefile | 9 ++++++---
 devel/py-phx-class-registry/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/devel/py-phx-class-registry/Makefile b/devel/py-phx-class-registry/Makefile
index abcedfc64df0..753a27cf7177 100644
--- a/devel/py-phx-class-registry/Makefile
+++ b/devel/py-phx-class-registry/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	phx-class-registry
-DISTVERSION=	3.0.5
+DISTVERSION=	5.1.1
 CATEGORIES=	devel python
-MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	PopularMoment@protonmail.com
@@ -9,7 +8,7 @@ COMMENT=	Factory+Registry pattern for Python classes
 WWW=		https://github.com/todofixthis/class-registry/
 
 LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_FILE=	${WRKSRC}/LICENCE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.13:devel/py-six@${PY_FLAVOR}
 
@@ -18,6 +17,10 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
 USES=		python
 USE_PYTHON=	distutils autoplist concurrent
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	todofixthis
+GH_PROJECT=	class-registry
+
 NO_ARCH=	yes
 
 do-test:
diff --git a/devel/py-phx-class-registry/distinfo b/devel/py-phx-class-registry/distinfo
index cc6c82d88e1a..12f3114fc5a2 100644
--- a/devel/py-phx-class-registry/distinfo
+++ b/devel/py-phx-class-registry/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1619313963
-SHA256 (phx-class-registry-3.0.5.tar.gz) = f11462ac410a8cda38c2b6a83b51a2390c7d9528baef591cb5b551b11aba2a92
-SIZE (phx-class-registry-3.0.5.tar.gz) = 15758
+TIMESTAMP = 1730072991
+SHA256 (todofixthis-class-registry-5.1.1_GH0.tar.gz) = c8fdc6562788dc01251ea52b78880efcc8f1bb7f688ab8c3b3aa6db46cac57ab
+SIZE (todofixthis-class-registry-5.1.1_GH0.tar.gz) = 59446