diff options
author | adam <adam@pkgsrc.org> | 2019-09-02 07:00:38 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-09-02 07:00:38 +0000 |
commit | ca08f10e9074a22c114cd50f98549b4e95009e81 (patch) | |
tree | a24b874980afc65cf5508e7508ac57bde6136fcc /security | |
parent | cb934e5b49b77a29857bb48af711b2031ba71482 (diff) | |
download | pkgsrc-ca08f10e9074a22c114cd50f98549b4e95009e81.tar.gz |
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.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-asn1/Makefile | 4 | ||||
-rw-r--r-- | security/py-asn1/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/security/py-asn1/Makefile b/security/py-asn1/Makefile index ef9a33f4c90..9c2c3a7f878 100644 --- a/security/py-asn1/Makefile +++ b/security/py-asn1/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.22 2019/08/03 04:36:59 adam Exp $ +# $NetBSD: Makefile,v 1.23 2019/09/02 07:00:38 adam Exp $ -DISTNAME= pyasn1-0.4.6 +DISTNAME= pyasn1-0.4.7 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyasn1/} diff --git a/security/py-asn1/distinfo b/security/py-asn1/distinfo index 4940842f50f..fb6ba60c7cb 100644 --- a/security/py-asn1/distinfo +++ b/security/py-asn1/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.19 2019/08/03 04:36:59 adam Exp $ +$NetBSD: distinfo,v 1.20 2019/09/02 07:00:38 adam Exp $ -SHA1 (pyasn1-0.4.6.tar.gz) = 694d02197abe07dfc250eb02d9ed2adf5453592d -RMD160 (pyasn1-0.4.6.tar.gz) = 59eab7ca1193fb290152494b7e7d4ad3c78f1855 -SHA512 (pyasn1-0.4.6.tar.gz) = 0d7dba175f292a136a34df0dadb90392bff1dac93ab2d04697fcd3e03f5bb8367a8e68dbfcc536ea9effd6292a459f24766f29f512161724fa405accb86617c5 -Size (pyasn1-0.4.6.tar.gz) = 128216 bytes +SHA1 (pyasn1-0.4.7.tar.gz) = 49a32eb27d18e08f9bd5e5cfe682efe28c2c7066 +RMD160 (pyasn1-0.4.7.tar.gz) = 487068d0e24b1b0f1b5dee50a72fae054bfdeb2b +SHA512 (pyasn1-0.4.7.tar.gz) = b187bb500ad0af3d0c8f8ef249fd40d9a1d152a8755e9454f441febb3522245f5447f83a70294f33c0b3a537a214a4fec660b9baf80ebef5f6256bcaedeb8abd +Size (pyasn1-0.4.7.tar.gz) = 130424 bytes |