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.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef95f4df938e
branches:  trunk
changeset: 372110:ef95f4df938e
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 28 09:14:34 2017 +0000

description:
py-asn1: updated to 0.4.2

Revision 0.4.2:
---------------
- Fixed explicit tag splitting in chunked encoding mode at
  OctetString and BitString encoders

Revision 0.4.1:
---------------
- ANY DEFINED BY clause support implemented
- Encoders refactored to take either a value (as ASN.1 object)
  or a Python value plus ASN.1 schema
- BitString decoder optimised for better performance when running on
  constructed encoding
- Constructed types' .getComponentBy*() methods accept the default
  parameter to return instead if schema object is to be returned
- Constructed types' .getComponentBy*() methods accept the instantiate
  parameter to disable automatic inner component instantiation
- The ASN.1 types' __repr__ implementation reworked for better readability
  at the cost of not being eval-compliant
- Most ASN.1 types' __str__ magic methods (except for OctetString and
  character types) reworked to call .prettyPrint() rather than
  .prettyPrint calling __str__ as it was before. The intention is
  to eventually deprecate .prettyPrint() in favor of str().
  The other related change is that str() of enumerations and boolean
  types will return string label instead of number.
- Fixed Choice.clear() to fully reset internal state of the object
- Sphinx documentation rearranged, simplified and reworded
- The isValue singleton is now the only way to indicate ASN.1 schema
  as opposed to ASN.1 schema instance. The legacy None initializer
  support has been removed.
- Changed Null object initialization behaviour: previous default
  value ('') is not set anymore. Thus Null() call produces a
  ASN.1 schema object, while Null('') - value object.
- Migrated all docs and references from SourceForge
- Imports PEP8'ed
- Fixed ASN.1 encoder not to omit empty substrate produced for inner
  component if the inner component belongs to the simple class (as
  opposed to constructed class)
- Fixed CER/DER encoders to respect tagged CHOICE when ordering
  SET components
- Fixed ASN.1 types not to interfere with the Pickle protocol
- Fixed Sequence/SequenceOf types decoding heuristics in schema-less
  decoding mode

diffstat:

 security/py-asn1/Makefile |   6 +++---
 security/py-asn1/PLIST    |   5 ++++-
 security/py-asn1/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (55 lines):

diff -r 318d95df9d7e -r ef95f4df938e security/py-asn1/Makefile
--- a/security/py-asn1/Makefile Tue Nov 28 09:08:31 2017 +0000
+++ b/security/py-asn1/Makefile Tue Nov 28 09:14:34 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2017/10/06 06:34:36 adam Exp $
+# $NetBSD: Makefile,v 1.18 2017/11/28 09:14:34 adam Exp $
 
-DISTNAME=      pyasn1-0.3.7
+DISTNAME=      pyasn1-0.4.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyasn1/}
@@ -10,7 +10,7 @@
 COMMENT=       ITU Abstract Syntax Notification for Python
 LICENSE=       2-clause-bsd
 
-USE_LANGUAGES=         # none
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 318d95df9d7e -r ef95f4df938e security/py-asn1/PLIST
--- a/security/py-asn1/PLIST    Tue Nov 28 09:08:31 2017 +0000
+++ b/security/py-asn1/PLIST    Tue Nov 28 09:14:34 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2017/09/04 04:50:26 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2017/11/28 09:14:34 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -97,6 +97,9 @@
 ${PYSITELIB}/pyasn1/type/namedval.py
 ${PYSITELIB}/pyasn1/type/namedval.pyc
 ${PYSITELIB}/pyasn1/type/namedval.pyo
+${PYSITELIB}/pyasn1/type/opentype.py
+${PYSITELIB}/pyasn1/type/opentype.pyc
+${PYSITELIB}/pyasn1/type/opentype.pyo
 ${PYSITELIB}/pyasn1/type/tag.py
 ${PYSITELIB}/pyasn1/type/tag.pyc
 ${PYSITELIB}/pyasn1/type/tag.pyo
diff -r 318d95df9d7e -r ef95f4df938e security/py-asn1/distinfo
--- a/security/py-asn1/distinfo Tue Nov 28 09:08:31 2017 +0000
+++ b/security/py-asn1/distinfo Tue Nov 28 09:14:34 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2017/10/06 06:34:36 adam Exp $
+$NetBSD: distinfo,v 1.15 2017/11/28 09:14:34 adam Exp $
 
-SHA1 (pyasn1-0.3.7.tar.gz) = a38478ac81d5b88caee1d92ce14185f34303890b
-RMD160 (pyasn1-0.3.7.tar.gz) = af7c0e9dee277ea2764c3b68b5f5ed0959bea837
-SHA512 (pyasn1-0.3.7.tar.gz) = 0f35ca77361ee4913a280a32dfb6720244b2ae3e927620045a5f4879f2d50595e8dd5ec886b707ac76763887c178b0ab95b8a4b5184de83d7e98fe56b7b35c34
-Size (pyasn1-0.3.7.tar.gz) = 115350 bytes
+SHA1 (pyasn1-0.4.2.tar.gz) = 6f997e4b9aace55948e45cffe32980bb92985ce2
+RMD160 (pyasn1-0.4.2.tar.gz) = 500f1a7ea274d5ed41af67609b5df6617f3c4223
+SHA512 (pyasn1-0.4.2.tar.gz) = 30e7cdfd2f7b182081f951bd94169a300a577f95fbfcb4ddb6dc288617b2776265018d246ae0adb649650ee94aab9122a428313d7a61559f97ed7f02b9670709
+Size (pyasn1-0.4.2.tar.gz) = 118404 bytes



Home | Main Index | Thread Index | Old Index