pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-asn1 py-asn1: updated to 0.4.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b134dcc71e99
branches:  trunk
changeset: 400702:b134dcc71e99
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 02 07:00:38 2019 +0000

description:
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:

 security/py-asn1/Makefile |   4 ++--
 security/py-asn1/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 943b61154758 -r b134dcc71e99 security/py-asn1/Makefile
--- a/security/py-asn1/Makefile Mon Sep 02 02:59:47 2019 +0000
+++ b/security/py-asn1/Makefile Mon Sep 02 07:00:38 2019 +0000
@@ -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 -r 943b61154758 -r b134dcc71e99 security/py-asn1/distinfo
--- a/security/py-asn1/distinfo Mon Sep 02 02:59:47 2019 +0000
+++ b/security/py-asn1/distinfo Mon Sep 02 07:00:38 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index