py-serpent: updated to 1.40

1.40
Added "bytes_repr" option to serializer to serialize byte arrays into their Python bytes repr escaped form.
(also added BytesNode to the parser where it directly deserializes into a byte array)

This can be more convenient than having to deal with base-64 encoded bytes, but the serialized data is usually about twice as large and it is slower to process.
This commit is contained in:
adam 2022-02-09 21:24:58 +00:00
parent 79292a39ca
commit 03754d8a24
2 changed files with 8 additions and 7 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.10 2022/01/04 20:53:38 wiz Exp $
# $NetBSD: Makefile,v 1.11 2022/02/09 21:24:58 adam Exp $
DISTNAME= serpent-1.28
DISTNAME= serpent-1.40
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/serpent/}
@ -13,5 +12,7 @@ LICENSE= mit
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.10 2021/10/26 10:19:04 nia Exp $
$NetBSD: distinfo,v 1.11 2022/02/09 21:24:58 adam Exp $
BLAKE2s (serpent-1.28.tar.gz) = 8ae82eea938625d9260b500dd7c160364dde3359d6a1c98d2c0f49dd752c1394
SHA512 (serpent-1.28.tar.gz) = 776bc497c7cd815c4ef44107bdf53b62bb92229beba0be7efceb9fba57dc7c677bf09832db335485df3e466acdffe6ebf4b3636ae9b49e60075379a7419a29ad
Size (serpent-1.28.tar.gz) = 26912 bytes
BLAKE2s (serpent-1.40.tar.gz) = d5d35936c9cc811c30f3e21ab2c1e53927e973a3598e44c9becdb2793109f9cd
SHA512 (serpent-1.40.tar.gz) = 9f8edebcd6e37de7442a00157f64b1dec6742cd198f45ab475be7f38aff4e090345739f7500181f0b0a4dbdc9241b2f11bca5ada7a89aa577d94646269d7ab28
Size (serpent-1.40.tar.gz) = 24140 bytes