From 887cabd71f4317cfea789fc59fdcd3aba47a6925 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Tue, 20 Apr 2021 17:24:03 +0000 Subject: [PATCH] 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 --- devel/Makefile | 1 + devel/py-cvss/Makefile | 18 ++++++++++++++++++ devel/py-cvss/distinfo | 3 +++ devel/py-cvss/pkg-descr | 5 +++++ 4 files changed, 27 insertions(+) create mode 100644 devel/py-cvss/Makefile create mode 100644 devel/py-cvss/distinfo create mode 100644 devel/py-cvss/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index d5a961d08ec7f..111e833e112f5 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 0000000000000..a8089a7016db2 --- /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 diff --git a/devel/py-cvss/distinfo b/devel/py-cvss/distinfo new file mode 100644 index 0000000000000..3f93bdc7d20ab --- /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 0000000000000..0d3ace915638c --- /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