pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-cvss: Import py-cvss-1.7 as wip/py-cvss



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <iamleot%gmail.com@localhost>
Pushed By:	leot
Date:		Thu Jun 21 00:03:35 2018 +0200
Changeset:	a6fde435a37979329b93fa8e50f46a764776c50c

Modified Files:
	Makefile
Added Files:
	py-cvss/DESCR
	py-cvss/Makefile
	py-cvss/PLIST
	py-cvss/distinfo

Log Message:
py-cvss: Import py-cvss-1.7 as wip/py-cvss

This Python package contains CVSS v2 and v3 computation utilities and
interactive calculator compatible with both Python 2 and Python 3.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a6fde435a37979329b93fa8e50f46a764776c50c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile         |  1 +
 py-cvss/DESCR    |  2 ++
 py-cvss/Makefile | 21 +++++++++++++++++++++
 py-cvss/PLIST    | 31 +++++++++++++++++++++++++++++++
 py-cvss/distinfo |  6 ++++++
 5 files changed, 61 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 1657f5a934..e34082da35 100644
--- a/Makefile
+++ b/Makefile
@@ -3036,6 +3036,7 @@ SUBDIR+=	py-cubicweb
 SUBDIR+=	py-cutadapt
 SUBDIR+=	py-cva
 SUBDIR+=	py-cvf
+SUBDIR+=	py-cvss
 SUBDIR+=	py-cvxpy
 SUBDIR+=	py-cxnet
 SUBDIR+=	py-cxvpy
diff --git a/py-cvss/DESCR b/py-cvss/DESCR
new file mode 100644
index 0000000000..d0f5bc84b4
--- /dev/null
+++ b/py-cvss/DESCR
@@ -0,0 +1,2 @@
+This Python package contains CVSS v2 and v3 computation utilities and
+interactive calculator compatible with both Python 2 and Python 3.
diff --git a/py-cvss/Makefile b/py-cvss/Makefile
new file mode 100644
index 0000000000..ab5d3671e5
--- /dev/null
+++ b/py-cvss/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	cvss-1.7
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	security python
+MASTER_SITES=	${MASTER_SITE_GITHUB:=skontar/}
+GITHUB_PROJECT=	cvss
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/skontar/cvss
+COMMENT=	CVSS2/3 library with interactive calculator
+LICENSE=	gnu-lgpl-v3
+
+USE_LANGUAGES=	# none
+
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/bin/cvss_calculator ${DESTDIR}${PREFIX}/bin/cvss_calculator-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-cvss/PLIST b/py-cvss/PLIST
new file mode 100644
index 0000000000..586513401b
--- /dev/null
+++ b/py-cvss/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+bin/cvss_calculator-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cvss/__init__.py
+${PYSITELIB}/cvss/__init__.pyc
+${PYSITELIB}/cvss/__init__.pyo
+${PYSITELIB}/cvss/constants2.py
+${PYSITELIB}/cvss/constants2.pyc
+${PYSITELIB}/cvss/constants2.pyo
+${PYSITELIB}/cvss/constants3.py
+${PYSITELIB}/cvss/constants3.pyc
+${PYSITELIB}/cvss/constants3.pyo
+${PYSITELIB}/cvss/cvss2.py
+${PYSITELIB}/cvss/cvss2.pyc
+${PYSITELIB}/cvss/cvss2.pyo
+${PYSITELIB}/cvss/cvss3.py
+${PYSITELIB}/cvss/cvss3.pyc
+${PYSITELIB}/cvss/cvss3.pyo
+${PYSITELIB}/cvss/cvss_calculator.py
+${PYSITELIB}/cvss/cvss_calculator.pyc
+${PYSITELIB}/cvss/cvss_calculator.pyo
+${PYSITELIB}/cvss/exceptions.py
+${PYSITELIB}/cvss/exceptions.pyc
+${PYSITELIB}/cvss/exceptions.pyo
+${PYSITELIB}/cvss/interactive.py
+${PYSITELIB}/cvss/interactive.pyc
+${PYSITELIB}/cvss/interactive.pyo
diff --git a/py-cvss/distinfo b/py-cvss/distinfo
new file mode 100644
index 0000000000..75b8056375
--- /dev/null
+++ b/py-cvss/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (cvss-1.7.tar.gz) = 76ebd64e66783ce615db34ac46a67674bca0934e
+RMD160 (cvss-1.7.tar.gz) = 3e32f253d4cbe91696fc13cda29a77878eaa52f6
+SHA512 (cvss-1.7.tar.gz) = e2437afd1cd3aceb5884fc1d3203d9be0308591dbecbecaa3c8284f22efc6703797cc75ecaf79e136f3b987562552cccd6b4092b3354d05e9de0bbd97dfc57e0
+Size (cvss-1.7.tar.gz) = 3178715 bytes


Home | Main Index | Thread Index | Old Index