git: 0a16af556dd1 - main - net-mgmt/py-gstat_exporter: update to latest

From: Alan Somers <asomers_at_FreeBSD.org>
Date: Fri, 22 Dec 2023 15:16:57 UTC
The branch main has been updated by asomers:

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

commit 0a16af556dd131ad28c1a5cc8e2459d16ef99c53
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2023-12-14 16:05:47 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2023-12-22 15:16:14 +0000

    net-mgmt/py-gstat_exporter: update to latest
    
    The author has just adopted a new release numbering scheme.  The new
    release is "v0.2.0".  Update PORTEPOCH accordingly.  Also, switch
    MASTER_SITES from github to pypi.
    
    PR:             275766
    Sponsored by:   Axcient
    Approved by:    Lap Luchini <lapo@lapo.it> (maintainer), fuz (ports)
---
 net-mgmt/py-gstat_exporter/Makefile | 7 +++----
 net-mgmt/py-gstat_exporter/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/net-mgmt/py-gstat_exporter/Makefile b/net-mgmt/py-gstat_exporter/Makefile
index 96b7c55f3077..0690baafef49 100644
--- a/net-mgmt/py-gstat_exporter/Makefile
+++ b/net-mgmt/py-gstat_exporter/Makefile
@@ -1,6 +1,8 @@
 PORTNAME=	gstat_exporter
-PORTVERSION=	20191119
+DISTVERSION=	0.2.0
+PORTEPOCH=	1
 CATEGORIES=	net-mgmt python
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	lapo@lapo.it
@@ -13,9 +15,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7.1:net-mgmt/py-prometheus-client@${PY_FLAVOR}
 
 USES=		python
-USE_GITHUB=	yes
-GH_ACCOUNT=	tykling
-GH_TAGNAME=	3c1858a52544b2eec56f5470e4042a7171e5448a
 USE_RC_SUBR=	gstat_exporter
 
 NO_BUILD=	yes
diff --git a/net-mgmt/py-gstat_exporter/distinfo b/net-mgmt/py-gstat_exporter/distinfo
index 8034bbf09829..a6a90d90b5f3 100644
--- a/net-mgmt/py-gstat_exporter/distinfo
+++ b/net-mgmt/py-gstat_exporter/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1613729051
-SHA256 (tykling-gstat_exporter-20191119-3c1858a52544b2eec56f5470e4042a7171e5448a_GH0.tar.gz) = 385dc23fb7ef95626c03d8a4b454f00ffa015424b2ec9bf94b656aa4c662153f
-SIZE (tykling-gstat_exporter-20191119-3c1858a52544b2eec56f5470e4042a7171e5448a_GH0.tar.gz) = 4141
+TIMESTAMP = 1703257279
+SHA256 (gstat_exporter-0.2.0.tar.gz) = 759948c9cdf8de37de793680d8568d07c50a8c73e93e78b6a054c321af785926
+SIZE (gstat_exporter-0.2.0.tar.gz) = 9717