git: ff6cbbe1f9a8 - main - devel/py-itypes: Update to 1.2.0 / Deprecate

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 13 Apr 2025 13:57:17 UTC
The branch main has been updated by kai:

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

commit ff6cbbe1f9a8c1a39917669ea42b0d563dc22456
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-04-13 13:50:12 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-04-13 13:50:12 +0000

    devel/py-itypes: Update to 1.2.0 / Deprecate
    
    * Set an expiration date together with the deprecation as upstream has
      archived its repository.
    
    * Update WWW to point to the new upstream repository.
    
    * Switch to PEP517 build framework and separate the USES block.
---
 devel/py-itypes/Makefile | 14 ++++++++++----
 devel/py-itypes/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/devel/py-itypes/Makefile b/devel/py-itypes/Makefile
index 9fe0076c5757..bad514091d76 100644
--- a/devel/py-itypes/Makefile
+++ b/devel/py-itypes/Makefile
@@ -1,18 +1,24 @@
 PORTNAME=	itypes
-DISTVERSION=	1.1.0
-PORTREVISION=	1
+DISTVERSION=	1.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	kai@FreeBSD.org
 COMMENT=	Simple immutable types for Python
-WWW=		https://github.com/tomchristie/itypes
+WWW=		https://github.com/PavanTatikonda/itypes
 
 LICENSE=	BSD2CLAUSE
 
+DEPRECATED=	Upstream archived repository and suggest using devel/py-pyrsistent instead
+EXPIRATION_DATE=2025-06-30
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist pep517
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/py-itypes/distinfo b/devel/py-itypes/distinfo
index 6741dc453920..5994bc82aef2 100644
--- a/devel/py-itypes/distinfo
+++ b/devel/py-itypes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522057993
-SHA256 (itypes-1.1.0.tar.gz) = c6e77bb9fd68a4bfeb9d958fea421802282451a25bac4913ec94db82a899c073
-SIZE (itypes-1.1.0.tar.gz) = 2188
+TIMESTAMP = 1744545120
+SHA256 (itypes-1.2.0.tar.gz) = af886f129dea4a2a1e3d36595a2d139589e4dd287f5cab0b40e799ee81570ff1
+SIZE (itypes-1.2.0.tar.gz) = 4355