git: 9078d49d2cbf - main - devel/py-lizard: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 10 Oct 2024 08:05:39 UTC
The branch main has been updated by bofh:

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

commit 9078d49d2cbf1fd419c6c130fd10f65958ce416b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-09 02:26:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:05:05 +0000

    devel/py-lizard: New port
    
    Extensible Cyclomatic Complexity Analyzer
    
    Lizard is an extensible Cyclomatic Complexity Analyzer for many
    programming languages including C/C++ (doesn't require all the header
    files or Java imports). It also does copy-paste detection (code clone
    detection/code duplicate detection) and many other forms of static code
    analysis.
    
    WWW: https://github.com/terryyin/lizard
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/Makefile            |  1 +
 devel/py-lizard/Makefile  | 21 +++++++++++++++++++++
 devel/py-lizard/distinfo  |  3 +++
 devel/py-lizard/pkg-descr |  5 +++++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 32d84858320d..1434f7f0d6b0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5147,6 +5147,7 @@
     SUBDIR += py-lineedit
     SUBDIR += py-littleutils
     SUBDIR += py-livemark
+    SUBDIR += py-lizard
     SUBDIR += py-llfuse
     SUBDIR += py-llvmcpy
     SUBDIR += py-llvmlite
diff --git a/devel/py-lizard/Makefile b/devel/py-lizard/Makefile
new file mode 100644
index 000000000000..a640f943e292
--- /dev/null
+++ b/devel/py-lizard/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	lizard
+DISTVERSION=	1.17.10
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Extensible Cyclomatic Complexity Analyzer
+WWW=		https://github.com/terryyin/lizard
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils unittest2
+
+NO_ARCH=	yes
+
+TEST_WRKSRC=	${WRKSRC}/tests
+
+.include <bsd.port.mk>
diff --git a/devel/py-lizard/distinfo b/devel/py-lizard/distinfo
new file mode 100644
index 000000000000..bff3c3ad7c48
--- /dev/null
+++ b/devel/py-lizard/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728440661
+SHA256 (lizard-1.17.10.tar.gz) = 62d78acd64724be28b5f4aa27a630dfa4b4afbd1596d1f25d5ad1c1a3a075adc
+SIZE (lizard-1.17.10.tar.gz) = 61557
diff --git a/devel/py-lizard/pkg-descr b/devel/py-lizard/pkg-descr
new file mode 100644
index 000000000000..bacdac5b7966
--- /dev/null
+++ b/devel/py-lizard/pkg-descr
@@ -0,0 +1,5 @@
+Lizard is an extensible Cyclomatic Complexity Analyzer for many
+programming languages including C/C++ (doesn't require all the header
+files or Java imports). It also does copy-paste detection (code clone
+detection/code duplicate detection) and many other forms of static code
+analysis.