git: d09770ec8100 - main - misc/opennn: Use USE_GITHUB

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 30 Oct 2022 17:18:28 UTC
The branch main has been updated by yuri:

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

commit d09770ec8100f0c81a407f433b04a13c4dd8b3e0
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-30 17:17:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-30 17:17:41 +0000

    misc/opennn: Use USE_GITHUB
    
    PR:             267287
---
 misc/opennn/Makefile | 7 +++++--
 misc/opennn/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/misc/opennn/Makefile b/misc/opennn/Makefile
index 428dd677e206..b5a344aa8ede 100644
--- a/misc/opennn/Makefile
+++ b/misc/opennn/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	opennn
+DISTVERSIONPREFIX=	v
 DISTVERSION=	5.0.5
 PORTREVISION=	1
 CATEGORIES=	misc # machine-learning
-MASTER_SITES=	https://github.com/Artelnics/opennn/archive/refs/tags/v${DISTVERSION}${EXTRACT_SUFX}?dummy=/
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Open neural networks library
@@ -15,9 +15,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 BROKEN=		requires OpenMP support that is missing on this architecture
 .endif
 
-USES=		cmake:testing compiler:c++11-lang dos2unix zip
+USES=		cmake:testing compiler:c++11-lang dos2unix
 USE_LDCONFIG=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	Artelnics
+
 DOS2UNIX_FILES=	opennn/CMakeLists.txt
 
 CMAKE_OFF=	OpenNN_BUILD_EXAMPLES OpenNN_BUILD_TESTS
diff --git a/misc/opennn/distinfo b/misc/opennn/distinfo
index b36a671d3129..78998d5b496c 100644
--- a/misc/opennn/distinfo
+++ b/misc/opennn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1619739429
-SHA256 (opennn-5.0.5.zip) = 9aafeb305793591077cbafda8adbd2ab24b85500915cfce711e5f0d54d5fcd69
-SIZE (opennn-5.0.5.zip) = 47522909
+TIMESTAMP = 1666513494
+SHA256 (Artelnics-opennn-v5.0.5_GH0.tar.gz) = 8b8545049d085cb769f3a00e93f844061d59debab9ce514e4e91fe988e82b1ac
+SIZE (Artelnics-opennn-v5.0.5_GH0.tar.gz) = 46426854