summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2020-10-12 02:03:58 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2020-10-12 02:03:58 +0000
commit17edc09e399cadbb4d01b0b6d87b240f4d68f7cc (patch)
tree97abebc1f4824f2818e8900bf87b25c9994c43a0
parentmath/R: Update to version 4.0.3 (diff)
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))
-rw-r--r--dns/py-idna/Makefile6
-rw-r--r--dns/py-idna/distinfo6
2 files changed, 6 insertions, 6 deletions
diff --git a/dns/py-idna/Makefile b/dns/py-idna/Makefile
index 9f8d218d44af..8ebd11f75755 100644
--- a/dns/py-idna/Makefile
+++ b/dns/py-idna/Makefile
@@ -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>
diff --git a/dns/py-idna/distinfo b/dns/py-idna/distinfo
index 05fd498fe4e4..fc6a9ebd87f3 100644
--- a/dns/py-idna/distinfo
+++ b/dns/py-idna/distinfo
@@ -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