pkgsrc-WIP-changes archive

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

py-cvss: Update wip/py-cvss to 1.8



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Jun 22 20:21:54 2018 +0200
Changeset:	9380180c2b49c3ea1f52907910a32548906ba50d

Modified Files:
	py-cvss/Makefile
	py-cvss/distinfo
Removed Files:
	py-cvss/patches/patch-cvss_cvss__calculator.py
	py-cvss/patches/patch-tests_test__cvss2.py
	py-cvss/patches/patch-tests_test__cvss3.py

Log Message:
py-cvss: Update wip/py-cvss to 1.8

pkgsrc changes:
 - Remove all patches, all merged upstream

Changes:
1.8
---
 - Convenience improvements for testing and interactive calculator.
 - Improved handling of empty fields.

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

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

diffstat:
 py-cvss/Makefile                               |  2 +-
 py-cvss/distinfo                               | 11 ++++-------
 py-cvss/patches/patch-cvss_cvss__calculator.py | 17 -----------------
 py-cvss/patches/patch-tests_test__cvss2.py     | 18 ------------------
 py-cvss/patches/patch-tests_test__cvss3.py     | 18 ------------------
 5 files changed, 5 insertions(+), 61 deletions(-)

diffs:
diff --git a/py-cvss/Makefile b/py-cvss/Makefile
index a0e57684b2..fadc6c8d43 100644
--- a/py-cvss/Makefile
+++ b/py-cvss/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	cvss-1.7
+DISTNAME=	cvss-1.8
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	security python
 MASTER_SITES=	${MASTER_SITE_GITHUB:=skontar/}
diff --git a/py-cvss/distinfo b/py-cvss/distinfo
index 50b12ce7fd..11305c15b0 100644
--- a/py-cvss/distinfo
+++ b/py-cvss/distinfo
@@ -1,9 +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
-SHA1 (patch-cvss_cvss__calculator.py) = 2f14a1a7aa46b39bec309c2de0e720a203362f8e
-SHA1 (patch-tests_test__cvss2.py) = 4ae5144062f59afab491ac1fefa34f07b5631e71
-SHA1 (patch-tests_test__cvss3.py) = 6f7069e20d1df2aaeb4d8530a7d697f22ed8d6f6
+SHA1 (cvss-1.8.tar.gz) = 145280b2e55ecf157cea8ee260db861b3741eb5f
+RMD160 (cvss-1.8.tar.gz) = c1d7d980b349fd135fea9c44ca0327800cc481bb
+SHA512 (cvss-1.8.tar.gz) = bb53ea0fe2dc64bc56e5af63fbdef7664c1e1b7d8d583f4c36a11388afcd5e4dc78be0fe8b073813713424828dc10ebd98862d2b43123b0e77835d0d2d05e579
+Size (cvss-1.8.tar.gz) = 3178843 bytes
diff --git a/py-cvss/patches/patch-cvss_cvss__calculator.py b/py-cvss/patches/patch-cvss_cvss__calculator.py
deleted file mode 100644
index bbbd507ee6..0000000000
--- a/py-cvss/patches/patch-cvss_cvss__calculator.py
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Gracefully handle possible ^D and treat it like a ^C.
-
-Merged upstream as part of https://github.com/skontar/cvss/pull/14
-
---- cvss/cvss_calculator.py.orig	2017-01-11 09:11:40.000000000 +0000
-+++ cvss/cvss_calculator.py
-@@ -66,7 +66,7 @@ def main():
-                     print(scores[i])
-             print('Cleaned vector:       ', cvss_vector.clean_vector())
-             print('Red Hat vector:       ', cvss_vector.rh_vector())
--    except KeyboardInterrupt:
-+    except (KeyboardInterrupt, EOFError):
-         print()
- 
- 
diff --git a/py-cvss/patches/patch-tests_test__cvss2.py b/py-cvss/patches/patch-tests_test__cvss2.py
deleted file mode 100644
index ab76ebbc0f..0000000000
--- a/py-cvss/patches/patch-tests_test__cvss2.py
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Pick up `cvss' module from the parent directory in order to properly
-run the tests without having the cvss module installed.
-
-Merged upstream as part of https://github.com/skontar/cvss/pull/15
-
---- tests/test_cvss2.py.orig	2017-01-11 09:11:40.000000000 +0000
-+++ tests/test_cvss2.py
-@@ -2,6 +2,8 @@ from os import path
- import sys
- import unittest
- 
-+sys.path.insert(0, path.dirname(path.dirname(path.abspath(__file__))))
-+
- from cvss import CVSS2
- from cvss.exceptions import CVSS2MalformedError, CVSS2MandatoryError, CVSS2RHScoreDoesNotMatch, \
-     CVSS2RHMalformedError
diff --git a/py-cvss/patches/patch-tests_test__cvss3.py b/py-cvss/patches/patch-tests_test__cvss3.py
deleted file mode 100644
index 37ad430451..0000000000
--- a/py-cvss/patches/patch-tests_test__cvss3.py
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Pick up `cvss' module from the parent directory in order to properly
-run the tests without having the cvss module installed.
-
-Merged upstream as part of https://github.com/skontar/cvss/pull/15
-
---- tests/test_cvss3.py.orig	2017-01-11 09:11:40.000000000 +0000
-+++ tests/test_cvss3.py
-@@ -2,6 +2,8 @@ from os import path
- import sys
- import unittest
- 
-+sys.path.insert(0, path.dirname(path.dirname(path.abspath(__file__))))
-+
- from cvss import CVSS3
- from cvss.exceptions import CVSS3MalformedError, CVSS3MandatoryError, CVSS3RHScoreDoesNotMatch, \
-     CVSS3RHMalformedError


Home | Main Index | Thread Index | Old Index