Mon Sep 2 07:00:39 2019 UTC ()
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.


(adam)
diff -r1.22 -r1.23 pkgsrc/security/py-asn1/Makefile
diff -r1.19 -r1.20 pkgsrc/security/py-asn1/distinfo

cvs diff -r1.22 -r1.23 pkgsrc/security/py-asn1/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-asn1/Makefile 2019/08/03 04:36:59 1.22
+++ pkgsrc/security/py-asn1/Makefile 2019/09/02 07:00:38 1.23
@@ -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
3DISTNAME= pyasn1-0.4.6 3DISTNAME= pyasn1-0.4.7
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyasn1/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyasn1/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/etingof/pyasn1 9HOMEPAGE= https://github.com/etingof/pyasn1
10COMMENT= ITU Abstract Syntax Notification for Python 10COMMENT= ITU Abstract Syntax Notification for Python
11LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
12 12
13USE_LANGUAGES= # none 13USE_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"

cvs diff -r1.19 -r1.20 pkgsrc/security/py-asn1/distinfo (expand / switch to unified diff)

--- pkgsrc/security/py-asn1/distinfo 2019/08/03 04:36:59 1.19
+++ pkgsrc/security/py-asn1/distinfo 2019/09/02 07:00:38 1.20
@@ -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
3SHA1 (pyasn1-0.4.6.tar.gz) = 694d02197abe07dfc250eb02d9ed2adf5453592d 3SHA1 (pyasn1-0.4.7.tar.gz) = 49a32eb27d18e08f9bd5e5cfe682efe28c2c7066
4RMD160 (pyasn1-0.4.6.tar.gz) = 59eab7ca1193fb290152494b7e7d4ad3c78f1855 4RMD160 (pyasn1-0.4.7.tar.gz) = 487068d0e24b1b0f1b5dee50a72fae054bfdeb2b
5SHA512 (pyasn1-0.4.6.tar.gz) = 0d7dba175f292a136a34df0dadb90392bff1dac93ab2d04697fcd3e03f5bb8367a8e68dbfcc536ea9effd6292a459f24766f29f512161724fa405accb86617c5 5SHA512 (pyasn1-0.4.7.tar.gz) = b187bb500ad0af3d0c8f8ef249fd40d9a1d152a8755e9454f441febb3522245f5447f83a70294f33c0b3a537a214a4fec660b9baf80ebef5f6256bcaedeb8abd
6Size (pyasn1-0.4.6.tar.gz) = 128216 bytes 6Size (pyasn1-0.4.7.tar.gz) = 130424 bytes