Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 17:56:13 GMT
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 887cabd71f43 - main - Add devel/py-cvss
Message-ID:  <202104201756.13KHuDJo004912@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dvl:

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

commit 887cabd71f4317cfea789fc59fdcd3aba47a6925
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-04-20 17:24:03 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2021-04-20 17:56:04 +0000

    Add devel/py-cvss
    
    Contains CVSS v2 and v3 computation utilities and interactive calculator.
    Compatible with both Python 2 and Python 3.
    PR:             254838
    Reported by:    gettoknowmi <gettoknowmi@yahoo.com>
---
 devel/Makefile          |  1 +
 devel/py-cvss/Makefile  | 18 ++++++++++++++++++
 devel/py-cvss/distinfo  |  3 +++
 devel/py-cvss/pkg-descr |  5 +++++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index d5a961d08ec7..111e833e112f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4314,6 +4314,7 @@
     SUBDIR += py-curio
     SUBDIR += py-cursive
     SUBDIR += py-curtsies
+    SUBDIR += py-cvss
     SUBDIR += py-cwcwidth
     SUBDIR += py-cxx
     SUBDIR += py-cycler
diff --git a/devel/py-cvss/Makefile b/devel/py-cvss/Makefile
new file mode 100644
index 000000000000..a8089a7016db
--- /dev/null
+++ b/devel/py-cvss/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	cvss
+PORTVERSION=	2.2
+CATEGORIES=	devel
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	gettoknowmi@yahoo.com
+COMMENT=	Computation utilities and interactive calculator compatible
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-cvss/distinfo b/devel/py-cvss/distinfo
new file mode 100644
index 000000000000..3f93bdc7d20a
--- /dev/null
+++ b/devel/py-cvss/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1617737531
+SHA256 (cvss-2.2.tar.gz) = 11f46b134e3d72e20823f704e3b1bdd24a5e24559cb58e9691dc4fa613cbc414
+SIZE (cvss-2.2.tar.gz) = 12462
diff --git a/devel/py-cvss/pkg-descr b/devel/py-cvss/pkg-descr
new file mode 100644
index 000000000000..0d3ace915638
--- /dev/null
+++ b/devel/py-cvss/pkg-descr
@@ -0,0 +1,5 @@
+This Python package contains CVSS v2 and v3 computation utilities
+and interactive calculator compatible with both Python 2 and Python 3.
+run cvss_calculator --help
+
+WWW: https://github.com/skontar/cvss



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104201756.13KHuDJo004912>