summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam>2017-04-08 11:25:11 +0000
committeradam <adam>2017-04-08 11:25:11 +0000
commit98d86c9b36476d7dcfaca631104366a932fd0fc7 (patch)
tree8b6256ae8be97c6ad469eb3f61fc7086b0fec23e /security
parent5320bd20e1b49250e6e111d5122a5712d67f2fb1 (diff)
downloadpkgsrc-98d86c9b36476d7dcfaca631104366a932fd0fc7.tar.gz
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.
Diffstat (limited to 'security')
-rw-r--r--security/py-asn1/Makefile18
-rw-r--r--security/py-asn1/PLIST14
-rw-r--r--security/py-asn1/distinfo10
3 files changed, 27 insertions, 15 deletions
diff --git a/security/py-asn1/Makefile b/security/py-asn1/Makefile
index 4b555c67425..e33c629c4b1 100644
--- a/security/py-asn1/Makefile
+++ b/security/py-asn1/Makefile
@@ -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
-HOMEPAGE= http://pyasn1.sourceforge.net/
-COMMENT= ITU Abstract Syntax Notification for Python
-LICENSE= 2-clause-bsd
+MAINTAINER= tonnerre@NetBSD.org
+HOMEPAGE= http://pyasn1.sourceforge.net/
+COMMENT= ITU Abstract Syntax Notification for Python
+LICENSE= 2-clause-bsd
PYDISTUTILSPKG= yes
PYSETUP= setup.py
diff --git a/security/py-asn1/PLIST b/security/py-asn1/PLIST
index 143afc89a4c..6fe0085fea8 100644
--- a/security/py-asn1/PLIST
+++ b/security/py-asn1/PLIST
@@ -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.pyo
${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
diff --git a/security/py-asn1/distinfo b/security/py-asn1/distinfo
index 4a6afd1060f..954babc1590 100644
--- a/security/py-asn1/distinfo
+++ b/security/py-asn1/distinfo
@@ -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