Skip to content

Commit

Permalink
dns/py-idna: Update to 2.10
Browse files Browse the repository at this point in the history
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] pypa/setuptools#1684

PR:		245938
Submitted by:	Daniel Engberg <daniel.engberg.lists pyret net>
MFH:		2020Q3 (blanket: bugfix releas(es))
  • Loading branch information
koobs committed Oct 12, 2020
1 parent f0f89a1 commit 17edc09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dns/py-idna/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= idna
PORTVERSION= 2.8
PORTVERSION= 2.10
CATEGORIES= dns python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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>
6 changes: 3 additions & 3 deletions dns/py-idna/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 17edc09

Please sign in to comment.