git: 38f45428a5c9 - main - devel/py-saneyaml: Update to 0.6.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Mon, 18 Sep 2023 05:17:28 UTC
The branch main has been updated by kai:

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

commit 38f45428a5c9778f7f4652ceaff7a52eec6b4a86
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-09-18 05:01:57 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-09-18 05:01:57 +0000

    devel/py-saneyaml: Update to 0.6.0
    
    * Switch to PyPI as the sdist is available there.
    
    * Convert to the PEP517 build framework.
    
    Changelog since 0.4:
    
    https://github.com/nexB/saneyaml/compare/v0.4...v0.6.0
---
 devel/py-saneyaml/Makefile | 11 ++++++-----
 devel/py-saneyaml/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/devel/py-saneyaml/Makefile b/devel/py-saneyaml/Makefile
index 5f392f6376c9..a1c0542220cc 100644
--- a/devel/py-saneyaml/Makefile
+++ b/devel/py-saneyaml/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	saneyaml
-DISTVERSIONPREFIX=	v
-DISTVERSION=	0.4
+DISTVERSION=	0.6.0
 CATEGORIES=	devel python
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	kai@FreeBSD.org
@@ -11,12 +11,13 @@ WWW=		https://github.com/nexB/saneyaml
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/apache-2.0.LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=4:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
-USE_GITHUB=	yes
-GH_ACCOUNT=	nexB
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-saneyaml/distinfo b/devel/py-saneyaml/distinfo
index cc32d973ae33..d6206c4ab1a7 100644
--- a/devel/py-saneyaml/distinfo
+++ b/devel/py-saneyaml/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1556279368
-SHA256 (nexB-saneyaml-v0.4_GH0.tar.gz) = a907b37b94ba06599f03ef2feff6441182c77d74fbe4d5a6c347302409fe1095
-SIZE (nexB-saneyaml-v0.4_GH0.tar.gz) = 22714
+TIMESTAMP = 1694958440
+SHA256 (saneyaml-0.6.0.tar.gz) = b2309f7836623cd6db932574ebbc43e3f65c743e7635179e64beecb0d1626e44
+SIZE (saneyaml-0.6.0.tar.gz) = 81878