git: e4961709a3c7 - main - devel/py-distlib: Update 0.3.6 → 0.3.7

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 18 Jul 2023 07:45:14 UTC
The branch main has been updated by yuri:

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

commit e4961709a3c722c99dd3dc8e3f3d8df9ea7a485f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-18 06:17:31 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-18 07:45:06 +0000

    devel/py-distlib: Update 0.3.6 → 0.3.7
    
    Also correct WWW.
    
    Reported by:    portscout
---
 devel/py-distlib/Makefile | 12 ++++++------
 devel/py-distlib/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/devel/py-distlib/Makefile b/devel/py-distlib/Makefile
index 29b2d5423446..5a05d9dcdc89 100644
--- a/devel/py-distlib/Makefile
+++ b/devel/py-distlib/Makefile
@@ -1,22 +1,22 @@
 PORTNAME=	distlib
-DISTVERSION=	0.3.6
+DISTVERSION=	0.3.7
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Low-level components of distutils2 and higher-level APIs
-WWW=		https://bitbucket.org/pypa/distlib
+WWW=		https://github.com/pypa/distlib
 
 LICENSE=	PSFL
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	pep517 autoplist pytest # 3 tests fail, see https://github.com/pypa/distlib/issues/205
 
 NO_ARCH=	yes
 
-post-patch:
-	${ECHO} "from setuptools import setup ; setup()" > ${WRKSRC}/setup.py
-
 .include <bsd.port.mk>
diff --git a/devel/py-distlib/distinfo b/devel/py-distlib/distinfo
index 79e7f5a0a002..c15ad30e037d 100644
--- a/devel/py-distlib/distinfo
+++ b/devel/py-distlib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669049965
-SHA256 (distlib-0.3.6.tar.gz) = 14bad2d9b04d3a36127ac97f30b12a19268f211063d8f8ee4f47108896e11b46
-SIZE (distlib-0.3.6.tar.gz) = 607879
+TIMESTAMP = 1689660286
+SHA256 (distlib-0.3.7.tar.gz) = 9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8
+SIZE (distlib-0.3.7.tar.gz) = 609479