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 Apr  8 11:25:11 UTC 2017

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

Log Message:
Revision 0.2.3, released 25-02-2017
-----------------------------------
- Improved SEQUENCE/SET/CHOICE decoding performance by maintaining a single shared
  NamedType object for all instances of SEQUENCE/SET object.
- Improved INTEGER encoding/decoding by switching to Python's built-in
  integer serialization functions.
- Improved BitString performance by rebasing it onto Python int type and leveraging
  fast Integer serialization functions.
- BitString type usability improved in many ways: for example bitshifting and
  numeric operation on BitString is now possible.
- Minor ObjectIdentifier type performance optimization.
- ASN.1 character types refactored to keep unicode contents internally
  (rather than serialized octet stream) and duck-type it directly.
- ASN.1 OctetString initialized from a Python object performs bytes()
  on it when running on Python 3 (used to do str() which is probably
  less logical).
- Missing support for NoValue.__sizeof__ added.
- Added checks to make sure SEQUENCE/SET components being assigned
  match the prototypes.
- Setter methods for constructed types consistently accept matchTags
  and matchConstraints flags to control the strictness of inner
  components compatibility verification. Previously, these checks
  were tied to verifyConstraints flag, now they are all independent.
- General documentation improvements here and there.
- Fix to __reversed__() magic to make it returning an iterator.
- Test suite simplified and unified.
- The __all__ variable added to most of the Python modules.
- The "test" directory renamed into "tests" not to collide with
  the "test" module.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/py-asn1/Makefile \
    pkgsrc/security/py-asn1/PLIST
cvs rdiff -u -r1.6 -r1.7 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.7 pkgsrc/security/py-asn1/Makefile:1.8
--- pkgsrc/security/py-asn1/Makefile:1.7        Wed Dec 30 15:00:27 2015
+++ pkgsrc/security/py-asn1/Makefile    Sat Apr  8 11:25:11 2017
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.7 2015/12/30 15:00:27 leot Exp $
+# $NetBSD: Makefile,v 1.8 2017/04/08 11:25:11 adam Exp $
 
-DISTNAME=              pyasn1-0.1.9
-PKGNAME=               ${PYPKGPREFIX}-${DISTNAME:S/^py//}
-CATEGORIES=            security
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=pyasn1/}
+DISTNAME=      pyasn1-0.2.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyasn1/}
 
-MAINTAINER=            tonnerre%NetBSD.org@localhost
-HOMEPAGE=              http://pyasn1.sourceforge.net/
-COMMENT=               ITU Abstract Syntax Notification for Python
-LICENSE=               2-clause-bsd
+MAINTAINER=    tonnerre%NetBSD.org@localhost
+HOMEPAGE=      http://pyasn1.sourceforge.net/
+COMMENT=       ITU Abstract Syntax Notification for Python
+LICENSE=       2-clause-bsd
 
 PYDISTUTILSPKG=                yes
 PYSETUP=               setup.py
Index: pkgsrc/security/py-asn1/PLIST
diff -u pkgsrc/security/py-asn1/PLIST:1.7 pkgsrc/security/py-asn1/PLIST:1.8
--- pkgsrc/security/py-asn1/PLIST:1.7   Wed Dec 30 15:00:27 2015
+++ pkgsrc/security/py-asn1/PLIST       Sat Apr  8 11:25:11 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2015/12/30 15:00:27 leot Exp $
+@comment $NetBSD: PLIST,v 1.8 2017/04/08 11:25:11 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -40,12 +40,24 @@ ${PYSITELIB}/pyasn1/codec/der/decoder.py
 ${PYSITELIB}/pyasn1/codec/der/encoder.py
 ${PYSITELIB}/pyasn1/codec/der/encoder.pyc
 ${PYSITELIB}/pyasn1/codec/der/encoder.pyo
+${PYSITELIB}/pyasn1/codec/native/__init__.py
+${PYSITELIB}/pyasn1/codec/native/__init__.pyc
+${PYSITELIB}/pyasn1/codec/native/__init__.pyo
+${PYSITELIB}/pyasn1/codec/native/decoder.py
+${PYSITELIB}/pyasn1/codec/native/decoder.pyc
+${PYSITELIB}/pyasn1/codec/native/decoder.pyo
+${PYSITELIB}/pyasn1/codec/native/encoder.py
+${PYSITELIB}/pyasn1/codec/native/encoder.pyc
+${PYSITELIB}/pyasn1/codec/native/encoder.pyo
 ${PYSITELIB}/pyasn1/compat/__init__.py
 ${PYSITELIB}/pyasn1/compat/__init__.pyc
 ${PYSITELIB}/pyasn1/compat/__init__.pyo
 ${PYSITELIB}/pyasn1/compat/binary.py
 ${PYSITELIB}/pyasn1/compat/binary.pyc
 ${PYSITELIB}/pyasn1/compat/binary.pyo
+${PYSITELIB}/pyasn1/compat/integer.py
+${PYSITELIB}/pyasn1/compat/integer.pyc
+${PYSITELIB}/pyasn1/compat/integer.pyo
 ${PYSITELIB}/pyasn1/compat/octets.py
 ${PYSITELIB}/pyasn1/compat/octets.pyc
 ${PYSITELIB}/pyasn1/compat/octets.pyo

Index: pkgsrc/security/py-asn1/distinfo
diff -u pkgsrc/security/py-asn1/distinfo:1.6 pkgsrc/security/py-asn1/distinfo:1.7
--- pkgsrc/security/py-asn1/distinfo:1.6        Wed Dec 30 15:00:27 2015
+++ pkgsrc/security/py-asn1/distinfo    Sat Apr  8 11:25:11 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/12/30 15:00:27 leot Exp $
+$NetBSD: distinfo,v 1.7 2017/04/08 11:25:11 adam Exp $
 
-SHA1 (pyasn1-0.1.9.tar.gz) = d19599c5d9d039ead21ffcd1a2392c29a838ae03
-RMD160 (pyasn1-0.1.9.tar.gz) = b7b2886d1050c79518db8d078cb0735a1e064508
-SHA512 (pyasn1-0.1.9.tar.gz) = c72bdba84c4cc860a1790d752861dc9de30dabb61e5146a551597b4a97e64797dbd6e575e61cb9a8b23ffc58bced143b0ed55a7c98d0a85834ccd60b17856df5
-Size (pyasn1-0.1.9.tar.gz) = 75947 bytes
+SHA1 (pyasn1-0.2.3.tar.gz) = e30253a024d1388a96be8e84245a0d38f47467ff
+RMD160 (pyasn1-0.2.3.tar.gz) = f83df6b353bd9d194f60c875263216716815a955
+SHA512 (pyasn1-0.2.3.tar.gz) = b268dd458bca41f879389412570b4ce72585ac0c671275e0f4edec2ede5cf44d2473b08349f7d8b827cb21d14561c0209a5bf3698596a01ea770c2166eaa7fbf
+Size (pyasn1-0.2.3.tar.gz) = 94862 bytes



Home | Main Index | Thread Index | Old Index