git: 944980be0a79 - main - devel/py-wheel: Update to 0.40.0

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Thu, 30 Mar 2023 08:47:20 UTC
The branch main has been updated by nivit:

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

commit 944980be0a799110b9a402cea8b5be8bef31d75d
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2023-03-30 08:28:18 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2023-03-30 08:45:15 +0000

    devel/py-wheel: Update to 0.40.0
    
    - Use devel/py-flit-core as build dependency to conform to PEP517
    - Remove all options (SIGNATURE, PIP) due to circular dependencies.
    
    PR:             270243
    Reported by:    vishwin
    Differential Revision:  https://reviews.freebsd.org/D39095
---
 devel/py-wheel/Makefile | 19 +++++--------------
 devel/py-wheel/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/devel/py-wheel/Makefile b/devel/py-wheel/Makefile
index 5768264d66e4..c769ca69e00a 100644
--- a/devel/py-wheel/Makefile
+++ b/devel/py-wheel/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	wheel
-PORTVERSION=	0.38.4
+PORTVERSION=	0.40.0
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,22 +10,13 @@ WWW=		https://github.com/pypa/wheel
 
 LICENSE=	MIT
 
-USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.8:devel/py-flit-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	allflavors autoplist concurrent pep517
 
 # see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268500
 EXTRACT_CMD=	${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	PIP SIGNATURE
-
-PIP_DESC=	Use pip to install wheels
-SIGNATURE_DESC=	Enable digital signature of wheels
-
-PIP_RUN_DEPENDS=	pip-${PYTHON_VER}:devel/py-pip@${PY_FLAVOR}
-SIGNATURE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dirspec>=13.05:devel/py-dirspec@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}ed25519ll>=0.6_1:security/py-ed25519ll@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}keyring>=1.3:security/py-keyring@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}xdg>=0.25:devel/py-xdg@${PY_FLAVOR}
-
 .include <bsd.port.mk>
diff --git a/devel/py-wheel/distinfo b/devel/py-wheel/distinfo
index d8cff043b527..f82d6fb10a01 100644
--- a/devel/py-wheel/distinfo
+++ b/devel/py-wheel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668765655
-SHA256 (wheel-0.38.4.tar.gz) = 965f5259b566725405b05e7cf774052044b1ed30119b5d586b2703aafe8719ac
-SIZE (wheel-0.38.4.tar.gz) = 67193
+TIMESTAMP = 1678889146
+SHA256 (wheel-0.40.0.tar.gz) = cd1196f3faee2b31968d626e1731c94f99cbdb67cf5a46e4f5656cbee7738873
+SIZE (wheel-0.40.0.tar.gz) = 96226