git: 88ff32e68496 - main - devel/py-distlib: Update 0.3.4 -> 0.3.6

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 21 Nov 2022 22:34:07 UTC
The branch main has been updated by yuri:

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

commit 88ff32e68496ac04b9aac6876668e02d3616f4e0
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2022-11-21 15:13:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-11-21 22:33:20 +0000

    devel/py-distlib: Update 0.3.4 -> 0.3.6
    
    PR:             267895
---
 devel/py-distlib/Makefile | 9 ++++++---
 devel/py-distlib/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/devel/py-distlib/Makefile b/devel/py-distlib/Makefile
index 7fb490b23b62..8c7bfb0c9cd9 100644
--- a/devel/py-distlib/Makefile
+++ b/devel/py-distlib/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	distlib
-DISTVERSION=	0.3.4
+DISTVERSION=	0.3.6
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,9 +11,12 @@ WWW=		https://bitbucket.org/pypa/distlib
 LICENSE=	PSFL
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		python:3.6+ zip
-USE_PYTHON=	distutils autoplist
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
 
 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 f01662414e30..79e7f5a0a002 100644
--- a/devel/py-distlib/distinfo
+++ b/devel/py-distlib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1639203727
-SHA256 (distlib-0.3.4.zip) = e4b58818180336dc9c529bfb9a0b58728ffc09ad92027a3f30b7cd91e3458579
-SIZE (distlib-0.3.4.zip) = 631981
+TIMESTAMP = 1669049965
+SHA256 (distlib-0.3.6.tar.gz) = 14bad2d9b04d3a36127ac97f30b12a19268f211063d8f8ee4f47108896e11b46
+SIZE (distlib-0.3.6.tar.gz) = 607879