git: 0b574845fd3b - main - science/py-asdf-unit-schemas: Update to 0.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 15:01:43 UTC
The branch main has been updated by sunpoet:

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

commit 0b574845fd3bbdfea177ac1f7086d19c36158b6e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:22:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:30 +0000

    science/py-asdf-unit-schemas: Update to 0.2.0
    
    - Mark DEPRECATED and set EXPIRATION_DATE to 2024-03-31
    - Remove PY_SETUPTOOLS: py-setuptools should be used rather than PY_SETUPTOOLS
    
    Changes:        https://github.com/asdf-format/asdf-unit-schemas/releases
---
 science/py-asdf-unit-schemas/Makefile | 19 +++++++------------
 science/py-asdf-unit-schemas/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/science/py-asdf-unit-schemas/Makefile b/science/py-asdf-unit-schemas/Makefile
index 7a5e4fd0b28b..b2f1b890016c 100644
--- a/science/py-asdf-unit-schemas/Makefile
+++ b/science/py-asdf-unit-schemas/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	asdf-unit-schemas
-PORTVERSION=	0.1.0
-PORTREVISION=	2
+PORTVERSION=	0.2.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,20 +12,16 @@ WWW=		https://github.com/asdf-format/asdf-unit-schemas
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+DEPRECATED=	This package is decommissioned and no longer provides any ASDF schemas. The schemas provided by the package were duplicates of the schemas provided by asdf-standard. Use science/py-asdf-standard instead
+EXPIRATION_DATE=2024-03-31
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=60:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asdf-standard>=1.0.1:science/py-asdf-standard@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30900
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=3:devel/py-importlib-resources@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/science/py-asdf-unit-schemas/distinfo b/science/py-asdf-unit-schemas/distinfo
index a6791fc132bf..0f7a098a3d37 100644
--- a/science/py-asdf-unit-schemas/distinfo
+++ b/science/py-asdf-unit-schemas/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674588062
-SHA256 (asdf_unit_schemas-0.1.0.tar.gz) = 42b78d67213efe4ffd4529fb0e58d9c7a0dab5cbf8839b230f1bc0a446bff999
-SIZE (asdf_unit_schemas-0.1.0.tar.gz) = 50607
+TIMESTAMP = 1710712526
+SHA256 (asdf_unit_schemas-0.2.0.tar.gz) = d995c45b5531ef1fe2e0525db30c7fc8b36df9447116ee067ce4461eea7e4440
+SIZE (asdf_unit_schemas-0.2.0.tar.gz) = 45565