dns/py-idna: Update to 2.10

Update test target directly invoke unittest, as setup.py test is
technically deprecated and discouraged upstream, currently without a
canonical replacement [1]

Changelog:

  https://github.com/kjd/idna/blob/v2.10/HISTORY.rst

[1] https://github.com/pypa/setuptools/issues/1684

PR:		245938
Submitted by:	Daniel Engberg <daniel.engberg.lists pyret net>
MFH:		2020Q3 (blanket: bugfix releas(es))
This commit is contained in:
Kubilay Kocak 2020-10-12 02:03:58 +00:00
parent f0f89a123a
commit 17edc09e39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552091
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= idna
PORTVERSION= 2.8
PORTVERSION= 2.10
CATEGORIES= dns python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,12 +14,12 @@ LICENSE= BSD3CLAUSE PSFL
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
USES= python # Actually, 2.7,3.4-3.6
USES= python # Actually, 2.7,3.4-3.8
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1546769353
SHA256 (idna-2.8.tar.gz) = c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407
SIZE (idna-2.8.tar.gz) = 174481
TIMESTAMP = 1602461690
SHA256 (idna-2.10.tar.gz) = b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
SIZE (idna-2.10.tar.gz) = 175616