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:           Wed Apr 26 16:04:51 UTC 2023

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

Log Message:
py-asn1: updated to 0.5.0

Revision 0.5.0, released 19-04-2023

- 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

  The goal of this change is to make the decoder yielding on input
  data starvation and resuming from where it stopped whenever the
  caller decides to try again (hopefully making sure that some more
  input becomes available).

  This change makes it possible for the decoder to operate on streams
  of data (meaning that the entire DER blob might not be immediately
  available on input).

  On top of that, the decoder yields partially reconstructed ASN.1
  object on input starvation making it possible for the caller to
  inspect what has been decoded so far and possibly consume partial
  ASN.1 data.

  All these new feature are natively available through
  `StreamingDecoder` class. Previously published API is implemented
  as a thin wrapper on top of that ensuring backward compatibility.
- Added support for Python 3.8, 3.9, 3.10, 3.11
- Removed support for EOL Pythons 2.4, 2.5, 2.6, 3.2, 3.3, 3.4, 3.5
- Added support for PyPy 3.7, 3.8, 3.9
- Modernized packaging and testing. pyasn1 now uses ``setup.cfg``,
  ``pyproject.toml``, [build](https://pypi.org/project/build/), and
  GitHub Actions.
- PyPI package ownership for `pyasn1` and `pyasn1-module` has been
  transfered to *Christian Heimes* and *Simon Pichugin* in
- The upstream repositories for `pyasn1` and `pyasn1-modules` are now
  in the GitHub organization https://github.com/pyasn1/.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/security/py-asn1/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/security/py-asn1/PLIST
cvs rdiff -u -r1.23 -r1.24 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.25 pkgsrc/security/py-asn1/Makefile:1.26
--- pkgsrc/security/py-asn1/Makefile:1.25       Tue Jan  4 20:54:37 2022
+++ pkgsrc/security/py-asn1/Makefile    Wed Apr 26 16:04:51 2023
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.25 2022/01/04 20:54:37 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2023/04/26 16:04:51 adam Exp $
 
-DISTNAME=      pyasn1-0.4.8
+DISTNAME=      pyasn1-0.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
-PKGREVISION=   1
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyasn1/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/etingof/pyasn1
+HOMEPAGE=      https://github.com/pyasn1/pyasn1
 COMMENT=       ITU Abstract Syntax Notification for Python
 LICENSE=       2-clause-bsd
 

Index: pkgsrc/security/py-asn1/PLIST
diff -u pkgsrc/security/py-asn1/PLIST:1.12 pkgsrc/security/py-asn1/PLIST:1.13
--- pkgsrc/security/py-asn1/PLIST:1.12  Tue Nov 28 09:14:34 2017
+++ pkgsrc/security/py-asn1/PLIST       Wed Apr 26 16:04:51 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2017/11/28 09:14:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2023/04/26 16:04:51 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -49,27 +49,18 @@ ${PYSITELIB}/pyasn1/codec/native/decoder
 ${PYSITELIB}/pyasn1/codec/native/encoder.py
 ${PYSITELIB}/pyasn1/codec/native/encoder.pyc
 ${PYSITELIB}/pyasn1/codec/native/encoder.pyo
+${PYSITELIB}/pyasn1/codec/streaming.py
+${PYSITELIB}/pyasn1/codec/streaming.pyc
+${PYSITELIB}/pyasn1/codec/streaming.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/calling.py
-${PYSITELIB}/pyasn1/compat/calling.pyc
-${PYSITELIB}/pyasn1/compat/calling.pyo
-${PYSITELIB}/pyasn1/compat/dateandtime.py
-${PYSITELIB}/pyasn1/compat/dateandtime.pyc
-${PYSITELIB}/pyasn1/compat/dateandtime.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
-${PYSITELIB}/pyasn1/compat/string.py
-${PYSITELIB}/pyasn1/compat/string.pyc
-${PYSITELIB}/pyasn1/compat/string.pyo
 ${PYSITELIB}/pyasn1/debug.py
 ${PYSITELIB}/pyasn1/debug.pyc
 ${PYSITELIB}/pyasn1/debug.pyo

Index: pkgsrc/security/py-asn1/distinfo
diff -u pkgsrc/security/py-asn1/distinfo:1.23 pkgsrc/security/py-asn1/distinfo:1.24
--- pkgsrc/security/py-asn1/distinfo:1.23       Tue Oct 26 11:17:41 2021
+++ pkgsrc/security/py-asn1/distinfo    Wed Apr 26 16:04:51 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2021/10/26 11:17:41 nia Exp $
+$NetBSD: distinfo,v 1.24 2023/04/26 16:04:51 adam Exp $
 
-BLAKE2s (pyasn1-0.4.8.tar.gz) = 767bcd1aa8a43dc25036a2915ad5cc26be45c72531b9c77372a22020aff763a7
-SHA512 (pyasn1-0.4.8.tar.gz) = e64e70b325c8067f87ace7c0673149e82fe564aa4b0fa146d29b43cb588ecd6e81b1b82803b8cfa7a17d3d0489b6d88b4af5afb3aa0052bf92e8a1769fe8f7b0
-Size (pyasn1-0.4.8.tar.gz) = 146820 bytes
+BLAKE2s (pyasn1-0.5.0.tar.gz) = 6c35df1ec1b3317879e75ccc83d347845a6523b2dcbdd93031b1bd0ec0c5ccb7
+SHA512 (pyasn1-0.5.0.tar.gz) = 763690184ce891555564d76902042791865815e59e1325100fca692140110e5e182ef3da84ffdf96b1876edeb2757bbb09c06d26e752a8110760dafbf9e3ca00
+Size (pyasn1-0.5.0.tar.gz) = 145117 bytes



Home | Main Index | Thread Index | Old Index