git: 9b72a13ca997 - main - dns/py-idna: Update to 3.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:44:32 UTC
The branch main has been updated by sunpoet:

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

commit 9b72a13ca997911664b87b1d337d4edef7fe858f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:00:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:03 +0000

    dns/py-idna: Update to 3.3
    
    - Update LICENSE
    - Update pkg-descr
    
    Changes:        https://github.com/kjd/idna/blob/master/HISTORY.rst
---
 dns/py-idna/Makefile  | 11 +++++------
 dns/py-idna/distinfo  |  6 +++---
 dns/py-idna/pkg-descr | 16 +++++++++-------
 3 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/dns/py-idna/Makefile b/dns/py-idna/Makefile
index 6e606b4ea493..522dfab1c92b 100644
--- a/dns/py-idna/Makefile
+++ b/dns/py-idna/Makefile
@@ -1,7 +1,7 @@
 # Created by: Kubilay Kocak <koobs@FreeBSD.org>
 
 PORTNAME=	idna
-PORTVERSION=	2.10
+PORTVERSION=	3.3
 CATEGORIES=	dns python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -9,16 +9,15 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Internationalized Domain Names in Applications (IDNA)
 
-LICENSE=	BSD3CLAUSE PSFL
-LICENSE_COMB=	multi
-LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-USES=		python:3.6+
+USES=		python:3.5+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v
+	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
 
 .include <bsd.port.mk>
diff --git a/dns/py-idna/distinfo b/dns/py-idna/distinfo
index fc6a9ebd87f3..1b8ff2324903 100644
--- a/dns/py-idna/distinfo
+++ b/dns/py-idna/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602461690
-SHA256 (idna-2.10.tar.gz) = b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
-SIZE (idna-2.10.tar.gz) = 175616
+TIMESTAMP = 1647264586
+SHA256 (idna-3.3.tar.gz) = 9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d
+SIZE (idna-3.3.tar.gz) = 286689
diff --git a/dns/py-idna/pkg-descr b/dns/py-idna/pkg-descr
index dd2b68ff56ca..28aecb82c784 100644
--- a/dns/py-idna/pkg-descr
+++ b/dns/py-idna/pkg-descr
@@ -1,10 +1,12 @@
-A library to support the Internationalised Domain Names in Applications
-(IDNA) protocol as specified in RFC 5891. This version of the protocol
-is often referred to as "IDNA2008" and can produce different res
-lts from the earlier standard from 2003.
+Support for the Internationalised Domain Names in Applications (IDNA) protocol
+as specified in RFC 5891. This is the latest version of the protocol and is
+sometimes referred to as "IDNA 2008".
 
-The library is also intended to act as a suitable drop-in replacement
-for the "encodings.idna" module that comes with the Python standard
-library but currently only supports the older 2003 specification.
+This library also provides support for Unicode Technical Standard 46, Unicode
+IDNA Compatibility Processing.
+
+This acts as a suitable replacement for the "encodings.idna" module that comes
+with the Python standard library, but which only supports the older superseded
+IDNA specification (RFC 3490).
 
 WWW: https://github.com/kjd/idna