Fri Apr 13 07:28:39 2018 UTC ()
py-cryptodome: updated to 3.6.0

3.6.0:
New features
Introduced export_key and deprecated exportKey for DSA and RSA key objects.
Ciphers and hash functions accept memoryview objects in input.
Added support for SHA-512/224 and SHA-512/256.

Resolved issues
Reintroduced Crypto.__version__ variable as in PyCrypto.
Fixed compilation problem with MinGW.


(adam)
diff -r1.11 -r1.12 pkgsrc/security/py-cryptodome/Makefile
diff -r1.5 -r1.6 pkgsrc/security/py-cryptodome/PLIST
diff -r1.8 -r1.9 pkgsrc/security/py-cryptodome/distinfo

cvs diff -r1.11 -r1.12 pkgsrc/security/py-cryptodome/Makefile (expand / switch to context diff)
--- pkgsrc/security/py-cryptodome/Makefile 2018/03/09 08:07:44 1.11
+++ pkgsrc/security/py-cryptodome/Makefile 2018/04/13 07:28:39 1.12
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2018/03/09 08:07:44 adam Exp $
+# $NetBSD: Makefile,v 1.12 2018/04/13 07:28:39 adam Exp $
 
-DISTNAME=	pycryptodome-3.5.1
+DISTNAME=	pycryptodome-3.6.0
 PKGNAME=	${DISTNAME:S/^py/${PYPKGPREFIX}-/}
 CATEGORIES=	security python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pycryptodome/}
@@ -9,9 +9,6 @@
 HOMEPAGE=	https://www.pycryptodome.org/
 COMMENT=	Cryptographic and hash functions for Python
 LICENSE=	public-domain AND python-software-foundation
-
-do-test:
-	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} ${PYSETUP} test
 
 # XXX is this needed?
 CFLAGS.SunOS+=	-std=c99 -D_XOPEN_SOURCE=600

cvs diff -r1.5 -r1.6 pkgsrc/security/py-cryptodome/PLIST (expand / switch to context diff)
--- pkgsrc/security/py-cryptodome/PLIST 2018/03/08 08:15:02 1.5
+++ pkgsrc/security/py-cryptodome/PLIST 2018/04/13 07:28:39 1.6
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/03/08 08:15:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/04/13 07:28:39 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -472,6 +472,9 @@
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/BLAKE2s/tv1.txt
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/BLAKE2s/tv2.txt
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/SHA1/SHA1ShortMsg.rsp
+${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/SHA2/SHA512ShortMsg.rsp
+${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/SHA2/SHA512_224ShortMsg.rsp
+${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/SHA2/SHA512_256ShortMsg.rsp
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/SHA3/ShortMsgKAT_SHA3-224.txt
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/SHA3/ShortMsgKAT_SHA3-256.txt
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/SHA3/ShortMsgKAT_SHA3-384.txt

cvs diff -r1.8 -r1.9 pkgsrc/security/py-cryptodome/distinfo (expand / switch to context diff)
--- pkgsrc/security/py-cryptodome/distinfo 2018/03/09 08:07:44 1.8
+++ pkgsrc/security/py-cryptodome/distinfo 2018/04/13 07:28:39 1.9
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2018/03/09 08:07:44 adam Exp $
+$NetBSD: distinfo,v 1.9 2018/04/13 07:28:39 adam Exp $
 
-SHA1 (pycryptodome-3.5.1.tar.gz) = 5ed7ee50803648d17f1d3da85cd9fb9d70e28a98
+SHA1 (pycryptodome-3.6.0.tar.gz) = 96c229e1c877aad3ac7c9b6f491e81b5c1f3c3ce
-RMD160 (pycryptodome-3.5.1.tar.gz) = 76601aa5c6d912e2a57589e3eb47da1cf9bd8a4d
+RMD160 (pycryptodome-3.6.0.tar.gz) = 550204e96085eeac4fdf51f9c2db5cc80e691a35
-SHA512 (pycryptodome-3.5.1.tar.gz) = 3791bb410c3a1f1858545bb65e79441617d1417b1be3020c5fffdaf415cf2f7e8a5e9c259307eafa753df6b414801e8628095ecbac3b73d43da63009ea64e6f0
+SHA512 (pycryptodome-3.6.0.tar.gz) = 6cebf3107fac6f4da994aef9dcbebe3c6590584382ea178f63b6516ac48a8af209f06c4e176f454046dd5c6707dccbcd7b90da1e3ad9400e43f77d3181716513
-Size (pycryptodome-3.5.1.tar.gz) = 6720488 bytes
+Size (pycryptodome-3.6.0.tar.gz) = 6778248 bytes