pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-asn1



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Aug  3 04:36:59 UTC 2019

Modified Files:
        pkgsrc/security/py-asn1: Makefile distinfo

Log Message:
py-asn1: updated to 0.4.6

Revision 0.4.6:
- Added previously missing SET OF ANY construct encoding/decoding support.
- Added omitEmptyOptionals option which is respected by Sequence
  and Set encoders. When omitEmptyOptionals is set to True, empty
  initialized optional components are not encoded. Default is False.
- New elements to SequenceOf/SetOf objects can now be added at any
  position - the requirement for the new elements to reside at the end
  of the existing ones (i.e. s[len(s)] = 123) is removed.
- List-like slicing support added to SequenceOf/SetOf objects.
- Removed default initializer from SequenceOf/SetOf types to ensure
  consistent behaviour with the rest of ASN.1 types. Before this change,
  SequenceOf/SetOf instances immediately become value objects behaving
  like an empty list. With this change, SequenceOf/SetOf objects
  remain schema objects unless a component is added or .clear() is
  called.
  This change can potentially cause incompatibilities with existing
  pyasn1 objects which assume SequenceOf/SetOf instances are value
  objects right upon instantiation.
  The behaviour of Sequence/Set types depends on the componentType
  initializer: if on componentType is given, the behaviour is the
  same as SequenceOf/SetOf have. IF componentType is given, but
  neither optional nor defaulted components are present, the created
  instance remains schema object, If, however, either optional or
  defaulted component isi present, the created instance immediately
  becomes a value object.
- Added .reset() method to all constructed types to turn value object
  into a schema object.
- Added PyAsn1UnicodeDecodeError/PyAsn1UnicodeDecodeError exceptions
  to help the caller treating unicode errors happening internally
  to pyasn1 at the upper layers.
- Added support for subseconds CER/DER encoding edge cases in
  GeneralizedTime codec.
- Fixed 3-digit fractional seconds value CER/DER encoding of
  GeneralizedTime.
- Fixed AnyDecoder to accept possible TagMap as asn1Spec
  to make dumping raw value operational


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/security/py-asn1/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/security/py-asn1/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-asn1/Makefile
diff -u pkgsrc/security/py-asn1/Makefile:1.21 pkgsrc/security/py-asn1/Makefile:1.22
--- pkgsrc/security/py-asn1/Makefile:1.21       Mon Dec 31 11:22:15 2018
+++ pkgsrc/security/py-asn1/Makefile    Sat Aug  3 04:36:59 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2018/12/31 11:22:15 adam Exp $
+# $NetBSD: Makefile,v 1.22 2019/08/03 04:36:59 adam Exp $
 
-DISTNAME=      pyasn1-0.4.5
+DISTNAME=      pyasn1-0.4.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyasn1/}

Index: pkgsrc/security/py-asn1/distinfo
diff -u pkgsrc/security/py-asn1/distinfo:1.18 pkgsrc/security/py-asn1/distinfo:1.19
--- pkgsrc/security/py-asn1/distinfo:1.18       Mon Dec 31 11:22:15 2018
+++ pkgsrc/security/py-asn1/distinfo    Sat Aug  3 04:36:59 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2018/12/31 11:22:15 adam Exp $
+$NetBSD: distinfo,v 1.19 2019/08/03 04:36:59 adam Exp $
 
-SHA1 (pyasn1-0.4.5.tar.gz) = 5615b3f0e1d2c0d4aa87e318e93665542434dc41
-RMD160 (pyasn1-0.4.5.tar.gz) = adad25c0e86390a7ba60a4a4e15e9179af1d0fe0
-SHA512 (pyasn1-0.4.5.tar.gz) = 8bacd1245a732b005f3a937f486920a348a9bd7d9af7828eb41d69712769f93fd09799e9cea1ad563f4b45c793246b8aecb96855d9deb223a8f2fb631f89dd8e
-Size (pyasn1-0.4.5.tar.gz) = 119741 bytes
+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



Home | Main Index | Thread Index | Old Index