py-asn1: updated to 0.4.7 Revision 0.4.7: - Added `isInconsistent` property to all constructed types. This property conceptually replaces `verifySizeSpec` method to serve a more general purpose e.g. ensuring all required fields are in a good shape. By default this check invokes subtype constraints verification and is run by codecs on value de/serialisation. - Deprecate `subtypeSpec` attributes and keyword argument. It is now recommended to pass `ValueSizeConstraint`, as well as all other constraints, to `subtypeSpec`. - Fixed a design bug in a way of how the items assigned to constructed types are verified. Now if `Asn1Type`-based object is assigned, its compatibility is verified based on having all tags and constraint objects as the type in field definition. When a bare Python value is assigned, then field type object is cloned and initialized with the bare value (constraints verificaton would run at this moment). - Added `WithComponentsConstraint` along with related `ComponentPresentConstraint` and `ComponentAbsentConstraint` classes to be used with `Sequence`/`Set` types representing `SET ... WITH COMPONENTS ...` like ASN.1 constructs.diff -r1.22 -r1.23 pkgsrc/security/py-asn1/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.22 2019/08/03 04:36:59 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.23 2019/09/02 07:00:38 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pyasn1-0.4.6 | 3 | DISTNAME= pyasn1-0.4.7 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} | |
5 | CATEGORIES= security python | 5 | CATEGORIES= security python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyasn1/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyasn1/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/etingof/pyasn1 | 9 | HOMEPAGE= https://github.com/etingof/pyasn1 | |
10 | COMMENT= ITU Abstract Syntax Notification for Python | 10 | COMMENT= ITU Abstract Syntax Notification for Python | |
11 | LICENSE= 2-clause-bsd | 11 | LICENSE= 2-clause-bsd | |
12 | 12 | |||
13 | USE_LANGUAGES= # none | 13 | USE_LANGUAGES= # none | |
14 | 14 | |||
15 | .include "../../lang/python/egg.mk" | 15 | .include "../../lang/python/egg.mk" | |
16 | .include "../../mk/bsd.pkg.mk" | 16 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.19 2019/08/03 04:36:59 adam Exp $ | 1 | $NetBSD: distinfo,v 1.20 2019/09/02 07:00:38 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (pyasn1-0.4.6.tar.gz) = 694d02197abe07dfc250eb02d9ed2adf5453592d | 3 | SHA1 (pyasn1-0.4.7.tar.gz) = 49a32eb27d18e08f9bd5e5cfe682efe28c2c7066 | |
4 | RMD160 (pyasn1-0.4.6.tar.gz) = 59eab7ca1193fb290152494b7e7d4ad3c78f1855 | 4 | RMD160 (pyasn1-0.4.7.tar.gz) = 487068d0e24b1b0f1b5dee50a72fae054bfdeb2b | |
5 | SHA512 (pyasn1-0.4.6.tar.gz) = 0d7dba175f292a136a34df0dadb90392bff1dac93ab2d04697fcd3e03f5bb8367a8e68dbfcc536ea9effd6292a459f24766f29f512161724fa405accb86617c5 | 5 | SHA512 (pyasn1-0.4.7.tar.gz) = b187bb500ad0af3d0c8f8ef249fd40d9a1d152a8755e9454f441febb3522245f5447f83a70294f33c0b3a537a214a4fec660b9baf80ebef5f6256bcaedeb8abd | |
6 | Size (pyasn1-0.4.6.tar.gz) = 128216 bytes | 6 | Size (pyasn1-0.4.7.tar.gz) = 130424 bytes |