git: 58df5a82adc4 - main - net/py-netaddr: Update to 1.2.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Wed, 27 Mar 2024 05:39:42 UTC
The branch main has been updated by kai:

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

commit 58df5a82adc4a80fd73bfcb61a7be8377ba01aff
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-03-27 05:34:29 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-03-27 05:34:29 +0000

    net/py-netaddr: Update to 1.2.1
    
    * Switch to the PEP517 build framework.
    
    Changelog since 0.10.1:
    
    https://github.com/netaddr/netaddr/blob/1.2.1/CHANGELOG.rst
    
    PR:             277810
    Approved by:    bofh (maintainer, implicit)
---
 net/py-netaddr/Makefile | 9 ++++++---
 net/py-netaddr/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/net/py-netaddr/Makefile b/net/py-netaddr/Makefile
index 684a945a624c..3f69cc76c0ce 100644
--- a/net/py-netaddr/Makefile
+++ b/net/py-netaddr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	netaddr
-PORTVERSION=	0.10.1
+PORTVERSION=	1.2.1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +11,15 @@ WWW=		https://github.com/drkjam/netaddr/
 LICENSE=	BSD3CLAUSE MIT
 LICENSE_COMB=	multi
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
-PORTDOCS=	AUTHORS CHANGELOG README.rst
+PORTDOCS=	AUTHORS.rst CHANGELOG.rst README.rst
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/net/py-netaddr/distinfo b/net/py-netaddr/distinfo
index 851264be8ea0..b68c001f2559 100644
--- a/net/py-netaddr/distinfo
+++ b/net/py-netaddr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1704255503
-SHA256 (netaddr-0.10.1.tar.gz) = f4da4222ca8c3f43c8e18a8263e5426c750a3a837fdfeccf74c68d0408eaa3bf
-SIZE (netaddr-0.10.1.tar.gz) = 2225283
+TIMESTAMP = 1708623375
+SHA256 (netaddr-1.2.1.tar.gz) = 6eb8fedf0412c6d294d06885c110de945cf4d22d2b510d0404f4e06950857987
+SIZE (netaddr-1.2.1.tar.gz) = 2278809