Update to upstream 0.2.3

This is a performance improvement release:

* BitString type implementation rebased onto Python int to behave like
  an integer and improve serialization performance (100x times!).
* Integer codecs reimplemented to base on Python's built-in integer
  serialization codecs to improve serialization performance (~40%).
* Decoding performance of Set and Choice types improved by caching
  once computed tags maps.
* ASN.1 character types refactored to duck-type unicode strings thus
  making them more convenient in text processing context.
* Documentation updated at many places.

0.2.2

This release fixes a regression in Enumerated ASN.1 type subtyping
procedure.

Besides that, canonical decoders were hardened to reject non-canonical
serialization on input.
This commit is contained in:
Rob Crittenden 2017-02-27 10:06:31 -05:00
parent bf5b4d2880
commit 817e414c24
3 changed files with 11 additions and 6 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ pyasn1-0.0.9a.tar.gz
/pyasn1-modules-0.0.8.tar.gz
/pyasn1-0.1.9.tar.gz
/v0.2.1.tar.gz
/v0.2.3.tar.gz

View File

@ -8,7 +8,7 @@
%global modules_version 0.0.8
Name: python-pyasn1
Version: 0.2.1
Version: 0.2.3
Release: 1%{?dist}
Summary: ASN.1 tools for Python
License: BSD
@ -116,7 +116,7 @@ pushd ../pyasn1-modules-%{modules_version}
popd
pushd doc
make html
PYTHONPATH="$RPM_BUILD_ROOT%{python_sitelib}:$PYTHONPATH" make html
rm -f build/html/.buildinfo
popd
@ -124,10 +124,10 @@ popd
%check
# PYTHONPATH is required because the the tests expect python{,3}-pyasn1
# to be installed.
PYTHONPATH="$RPM_BUILD_ROOT%{python_sitelib}:$PYTHONPATH" %{__python2} test/suite.py
PYTHONPATH="$RPM_BUILD_ROOT%{python_sitelib}:$PYTHONPATH" %{__python2} setup.py test
%if %{with python3}
pushd %{py3dir}
PYTHONPATH="$RPM_BUILD_ROOT%{python3_sitelib}:$PYTHONPATH" %{__python3} test/suite.py
PYTHONPATH="$RPM_BUILD_ROOT%{python3_sitelib}:$PYTHONPATH" %{__python3} setup.py test
popd
%endif
@ -167,6 +167,11 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/build/html/*
%changelog
* Mon Feb 27 2017 Rob Crittenden <rcritten@redhat.com> - 0.2.3-1
- Update to upstream release 0.2.3 (#1426979)
- Adapt to the way upstream changed the way tests are executed
- Pass PYTHONPATH when building the documentation
* Mon Feb 6 2017 Rob Crittenden <rcritten@redhat.com> - 0.2.1-1
- Update to upstream release 0.2.1 (#1419310)
- Added doc subpackage and moved documentation there

View File

@ -1,2 +1 @@
SHA512 (v0.2.1.tar.gz) = 95aa8af5ffc335ca3592d9180df88c9eb96640f596c9b9b541c9684e21a7d41270ef6d0b45563b72ba510971f3d2c8aecca28cea7dd912fe7329d2ddab99710d
SHA512 (pyasn1-modules-0.0.8.tar.gz) = 6040d4f83c6b00f7a0e6ba0e1264090d0fa96fc39e97b04d624721cef200b6cf4dabfe550127ade4edc181187ca1b4219fb46a95082a39e6291d0e2e08f36d78
SHA512 (v0.2.3.tar.gz) = c55b95c1995f2fc36ec28f35837ca456a2fac06e90edc6491a3335ae949e4eacbbeb14f6289a17e994b49d4dc60870bba3e79344c44496d5547c38ab1ef183ab