From owner-dev-commits-ports-all@freebsd.org Tue Apr 20 17:56:14 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A54CA5E1A9E; Tue, 20 Apr 2021 17:56:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FPrvy2xQkz3Hpj; Tue, 20 Apr 2021 17:56:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B8871726B; Tue, 20 Apr 2021 17:56:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13KHuDwk004913; Tue, 20 Apr 2021 17:56:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13KHuDJo004912; Tue, 20 Apr 2021 17:56:13 GMT (envelope-from git) Date: Tue, 20 Apr 2021 17:56:13 GMT Message-Id: <202104201756.13KHuDJo004912@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 887cabd71f43 - main - Add devel/py-cvss MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 887cabd71f4317cfea789fc59fdcd3aba47a6925 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 17:56:14 -0000 The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=887cabd71f4317cfea789fc59fdcd3aba47a6925 commit 887cabd71f4317cfea789fc59fdcd3aba47a6925 Author: Dan Langille AuthorDate: 2021-04-20 17:24:03 +0000 Commit: Dan Langille 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 --- 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 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