git: 1315bcac5044 - main - net/py-pynmsg: Upgrade to 0.5.1

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Thu, 28 Mar 2024 22:04:40 UTC
The branch main has been updated by truckman:

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

commit 1315bcac5044ab415fdbdac6364a8ecd7a2ded86
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2024-03-28 06:07:51 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2024-03-28 22:04:32 +0000

    net/py-pynmsg: Upgrade to 0.5.1
    
    Upgrade to 0.5.1 with python 3 support
      * Switch to new for loop style
    
      * Fix repr error for input class
    
      * Fix error caused by name mangling
    
      * Fix tests
    
    Fetch source from GitHub.
    
    Sponsored by:   DomainTools LLC
---
 net/py-pynmsg/Makefile | 7 ++++---
 net/py-pynmsg/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/net/py-pynmsg/Makefile b/net/py-pynmsg/Makefile
index 36a287d7ca34..939534c3c9f8 100644
--- a/net/py-pynmsg/Makefile
+++ b/net/py-pynmsg/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	pynmsg
-PORTVERSION=	0.5.0
-PORTREVISION=	2
+PORTVERSION=	0.5.1
+PORTREVISION=	0
 CATEGORIES=	net python
-MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	truckman@FreeBSD.org
@@ -15,6 +14,8 @@ LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 LIB_DEPENDS=	libnmsg.so:net/nmsg
 
 USES=		pkgconfig python shebangfix uniquefiles:dirs
+USE_GITHUB=	yes
+GH_ACCOUNT=	farsightsec
 USE_PYTHON=	autoplist cython distutils
 
 SHEBANG_FILES=	examples/*.py
diff --git a/net/py-pynmsg/distinfo b/net/py-pynmsg/distinfo
index 0ef0c587bd50..9ca5a0930f7d 100644
--- a/net/py-pynmsg/distinfo
+++ b/net/py-pynmsg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612050823
-SHA256 (pynmsg-0.5.0.tar.gz) = 03727e80b7b268712a8ec482ff607fdb4f6164b504a91a12a1610b9c0194edf9
-SIZE (pynmsg-0.5.0.tar.gz) = 140852
+TIMESTAMP = 1711353295
+SHA256 (farsightsec-pynmsg-0.5.1_GH0.tar.gz) = a05d81380b8f52d0b43bc395c37d642972749058d3ed0e36450d7433151d8934
+SIZE (farsightsec-pynmsg-0.5.1_GH0.tar.gz) = 22505