summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-11-28 09:14:34 +0000
committeradam <adam@pkgsrc.org>2017-11-28 09:14:34 +0000
commit177d934959eac5e9d5ca67b6025a1db491a997f2 (patch)
tree4f94b60e18aeab99b09ae43f545649f99481621a
parent9e15ab196b8bd2621e5c25dc4d8417a7b1253d70 (diff)
downloadpkgsrc-177d934959eac5e9d5ca67b6025a1db491a997f2.tar.gz
py-asn1: updated to 0.4.2
Revision 0.4.2: --------------- - Fixed explicit tag splitting in chunked encoding mode at OctetString and BitString encoders Revision 0.4.1: --------------- - ANY DEFINED BY clause support implemented - Encoders refactored to take either a value (as ASN.1 object) or a Python value plus ASN.1 schema - BitString decoder optimised for better performance when running on constructed encoding - Constructed types' .getComponentBy*() methods accept the default parameter to return instead if schema object is to be returned - Constructed types' .getComponentBy*() methods accept the instantiate parameter to disable automatic inner component instantiation - The ASN.1 types' __repr__ implementation reworked for better readability at the cost of not being eval-compliant - Most ASN.1 types' __str__ magic methods (except for OctetString and character types) reworked to call .prettyPrint() rather than .prettyPrint calling __str__ as it was before. The intention is to eventually deprecate .prettyPrint() in favor of str(). The other related change is that str() of enumerations and boolean types will return string label instead of number. - Fixed Choice.clear() to fully reset internal state of the object - Sphinx documentation rearranged, simplified and reworded - The isValue singleton is now the only way to indicate ASN.1 schema as opposed to ASN.1 schema instance. The legacy None initializer support has been removed. - Changed Null object initialization behaviour: previous default value ('') is not set anymore. Thus Null() call produces a ASN.1 schema object, while Null('') - value object. - Migrated all docs and references from SourceForge - Imports PEP8'ed - Fixed ASN.1 encoder not to omit empty substrate produced for inner component if the inner component belongs to the simple class (as opposed to constructed class) - Fixed CER/DER encoders to respect tagged CHOICE when ordering SET components - Fixed ASN.1 types not to interfere with the Pickle protocol - Fixed Sequence/SequenceOf types decoding heuristics in schema-less decoding mode
-rw-r--r--security/py-asn1/Makefile6
-rw-r--r--security/py-asn1/PLIST5
-rw-r--r--security/py-asn1/distinfo10
3 files changed, 12 insertions, 9 deletions
diff --git a/security/py-asn1/Makefile b/security/py-asn1/Makefile
index ceed7305f4d..bdb7b69bb7c 100644
--- a/security/py-asn1/Makefile
+++ b/security/py-asn1/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2017/10/06 06:34:36 adam Exp $
+# $NetBSD: Makefile,v 1.18 2017/11/28 09:14:34 adam Exp $
-DISTNAME= pyasn1-0.3.7
+DISTNAME= pyasn1-0.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyasn1/}
@@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/etingof/pyasn1
COMMENT= ITU Abstract Syntax Notification for Python
LICENSE= 2-clause-bsd
-USE_LANGUAGES= # none
+USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-asn1/PLIST b/security/py-asn1/PLIST
index 0946ba02533..4ce49d614bc 100644
--- a/security/py-asn1/PLIST
+++ b/security/py-asn1/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2017/09/04 04:50:26 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2017/11/28 09:14:34 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -97,6 +97,9 @@ ${PYSITELIB}/pyasn1/type/namedtype.pyo
${PYSITELIB}/pyasn1/type/namedval.py
${PYSITELIB}/pyasn1/type/namedval.pyc
${PYSITELIB}/pyasn1/type/namedval.pyo
+${PYSITELIB}/pyasn1/type/opentype.py
+${PYSITELIB}/pyasn1/type/opentype.pyc
+${PYSITELIB}/pyasn1/type/opentype.pyo
${PYSITELIB}/pyasn1/type/tag.py
${PYSITELIB}/pyasn1/type/tag.pyc
${PYSITELIB}/pyasn1/type/tag.pyo
diff --git a/security/py-asn1/distinfo b/security/py-asn1/distinfo
index c80cddeb0fe..5b35aeefa54 100644
--- a/security/py-asn1/distinfo
+++ b/security/py-asn1/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2017/10/06 06:34:36 adam Exp $
+$NetBSD: distinfo,v 1.15 2017/11/28 09:14:34 adam Exp $
-SHA1 (pyasn1-0.3.7.tar.gz) = a38478ac81d5b88caee1d92ce14185f34303890b
-RMD160 (pyasn1-0.3.7.tar.gz) = af7c0e9dee277ea2764c3b68b5f5ed0959bea837
-SHA512 (pyasn1-0.3.7.tar.gz) = 0f35ca77361ee4913a280a32dfb6720244b2ae3e927620045a5f4879f2d50595e8dd5ec886b707ac76763887c178b0ab95b8a4b5184de83d7e98fe56b7b35c34
-Size (pyasn1-0.3.7.tar.gz) = 115350 bytes
+SHA1 (pyasn1-0.4.2.tar.gz) = 6f997e4b9aace55948e45cffe32980bb92985ce2
+RMD160 (pyasn1-0.4.2.tar.gz) = 500f1a7ea274d5ed41af67609b5df6617f3c4223
+SHA512 (pyasn1-0.4.2.tar.gz) = 30e7cdfd2f7b182081f951bd94169a300a577f95fbfcb4ddb6dc288617b2776265018d246ae0adb649650ee94aab9122a428313d7a61559f97ed7f02b9670709
+Size (pyasn1-0.4.2.tar.gz) = 118404 bytes