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:           Tue Nov 28 09:14:34 UTC 2017

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

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/security/py-asn1/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/py-asn1/PLIST
cvs rdiff -u -r1.14 -r1.15 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.17 pkgsrc/security/py-asn1/Makefile:1.18
--- pkgsrc/security/py-asn1/Makefile:1.17       Fri Oct  6 06:34:36 2017
+++ pkgsrc/security/py-asn1/Makefile    Tue Nov 28 09:14:34 2017
@@ -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 @@ HOMEPAGE=     https://github.com/etingof/pya
 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"

Index: pkgsrc/security/py-asn1/PLIST
diff -u pkgsrc/security/py-asn1/PLIST:1.11 pkgsrc/security/py-asn1/PLIST:1.12
--- pkgsrc/security/py-asn1/PLIST:1.11  Mon Sep  4 04:50:26 2017
+++ pkgsrc/security/py-asn1/PLIST       Tue Nov 28 09:14:34 2017
@@ -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/namedtype.pyo
 ${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

Index: pkgsrc/security/py-asn1/distinfo
diff -u pkgsrc/security/py-asn1/distinfo:1.14 pkgsrc/security/py-asn1/distinfo:1.15
--- pkgsrc/security/py-asn1/distinfo:1.14       Fri Oct  6 06:34:36 2017
+++ pkgsrc/security/py-asn1/distinfo    Tue Nov 28 09:14:34 2017
@@ -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