Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2020 02:03:58 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552091 - head/dns/py-idna
Message-ID:  <202010120203.09C23wPN049348@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Oct 12 02:03:58 2020
New Revision: 552091
URL: https://svnweb.freebsd.org/changeset/ports/552091

Log:
  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))

Modified:
  head/dns/py-idna/Makefile
  head/dns/py-idna/distinfo

Modified: head/dns/py-idna/Makefile
==============================================================================
--- head/dns/py-idna/Makefile	Mon Oct 12 01:21:26 2020	(r552090)
+++ head/dns/py-idna/Makefile	Mon Oct 12 02:03:58 2020	(r552091)
@@ -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>

Modified: head/dns/py-idna/distinfo
==============================================================================
--- head/dns/py-idna/distinfo	Mon Oct 12 01:21:26 2020	(r552090)
+++ head/dns/py-idna/distinfo	Mon Oct 12 02:03:58 2020	(r552091)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010120203.09C23wPN049348>