diff --git a/pyasn1-0.3.7.tar.gz b/pyasn1-0.3.7.tar.gz deleted file mode 100644 index 86548d5..0000000 --- a/pyasn1-0.3.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:187f2a66d617683f8e82d5c00033b7c8a0287e1da88a9d577aebec321cad4965 -size 115350 diff --git a/pyasn1-0.4.2.tar.gz b/pyasn1-0.4.2.tar.gz new file mode 100644 index 0000000..dde95c5 --- /dev/null +++ b/pyasn1-0.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d258b0a71994f7770599835249cece1caef3c70def868c4915e6e5ca49b67d15 +size 118404 diff --git a/python-pyasn1.changes b/python-pyasn1.changes index b85d798..0b2c6ce 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Sun Nov 26 21:22:26 UTC 2017 - arun@gmx.de + +- update to version 0.4.2: + * Fixed explicit tag splitting in chunked encoding mode at + OctetString and BitString encoders + +- changes from version 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 + ------------------------------------------------------------------- Thu Oct 12 07:46:21 UTC 2017 - michael@stroeder.com diff --git a/python-pyasn1.spec b/python-pyasn1.spec index 2925477..d8422fe 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-pyasn1 -%global modname pyasn1 -Version: 0.3.7 +Version: 0.4.2 Release: 0 Summary: ASN.1 types and codecs License: BSD-2-Clause Group: Development/Languages/Python -Url: https://github.com/etingof/%{modname} -Source: https://pypi.io/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz +Url: https://github.com/etingof/pyasn1 +Source: https://pypi.io/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -47,7 +46,7 @@ then generalized to be suitable for a wide range of protocols based on ASN.1 specification. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n pyasn1-%{version} %build %python_build