aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2021-04-20 17:24:03 +0000
committerDan Langille <dvl@FreeBSD.org>2021-04-20 17:56:04 +0000
commit887cabd71f4317cfea789fc59fdcd3aba47a6925 (patch)
tree426aabbb2db95e10892631f9f04eaab3f0ac03b7
parentb616ac3cf1073053a4bc04065ec40b52d5e4b409 (diff)
downloadports-887cabd71f4317cfea789fc59fdcd3aba47a6925.tar.gz
ports-887cabd71f4317cfea789fc59fdcd3aba47a6925.zip
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>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-cvss/Makefile18
-rw-r--r--devel/py-cvss/distinfo3
-rw-r--r--devel/py-cvss/pkg-descr5
4 files changed, 27 insertions, 0 deletions
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