14
0
forked from pool/python-pyasn1

- update to 0.5.0:

* Change `RealEncoder.supportIndefLenMode` type to a boolean
  * Fix CI for py39 test environment
  * Replace all snmplabs.com links
  * Use correct SPDX identifier for the license
  * Re-add ``tagMap`` and ``typeMap`` module level attributes to all
    encoder and decoder modules. They are aliases for ``TAG_MAP`` and
    ``TYPE_MAP``
  * Restore API for passing for ``tagMap`` and ``typeMap`` arguments
    to ``Encoder`` and ``Decoder`` classes by name and position,
  * Re-add ``tagMap`` and ``typeMap`` module level attributes to all
    encoder and decoder modules. They are aliases for ``TAG_MAP`` and
   ``TYPE_MAP``
  * Restore API for passing for ``tagMap`` and ``typeMap`` arguments
    to ``Encoder`` and ``Decoder`` classes by name and position,
  * Make BER/CER/DER decoders streaming and suspendible

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=87
This commit is contained in:
2023-05-04 19:25:54 +00:00
committed by Git OBS Bridge
parent 34623af9b2
commit c0cb2901b6
4 changed files with 30 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba
size 146820

BIN
pyasn1-0.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu May 4 19:21:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.5.0:
* Change `RealEncoder.supportIndefLenMode` type to a boolean
* Fix CI for py39 test environment
* Replace all snmplabs.com links
* Use correct SPDX identifier for the license
* Re-add ``tagMap`` and ``typeMap`` module level attributes to all
encoder and decoder modules. They are aliases for ``TAG_MAP`` and
``TYPE_MAP``
* Restore API for passing for ``tagMap`` and ``typeMap`` arguments
to ``Encoder`` and ``Decoder`` classes by name and position,
* Re-add ``tagMap`` and ``typeMap`` module level attributes to all
encoder and decoder modules. They are aliases for ``TAG_MAP`` and
``TYPE_MAP``
* Restore API for passing for ``tagMap`` and ``typeMap`` arguments
to ``Encoder`` and ``Decoder`` classes by name and position,
* Make BER/CER/DER decoders streaming and suspendible
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:30:19 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:30:19 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -20,15 +20,16 @@
%define oldpython python %define oldpython python
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pyasn1 Name: python-pyasn1
Version: 0.4.8 Version: 0.5.0
Release: 0 Release: 0
Summary: ASN.1 types and codecs Summary: ASN.1 types and codecs
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/etingof/pyasn1 URL: https://github.com/etingof/pyasn1
Source: https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -48,10 +49,10 @@ specification.
%setup -q -n pyasn1-%{version} %setup -q -n pyasn1-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -60,6 +61,7 @@ specification.
%files %{python_files} %files %{python_files}
%doc CHANGES.rst README.md TODO.rst %doc CHANGES.rst README.md TODO.rst
%license LICENSE.rst %license LICENSE.rst
%{python_sitelib}/* %{python_sitelib}/pyasn1
%{python_sitelib}/pyasn1-%{version}.dist-info
%changelog %changelog