Wed Feb 9 21:24:58 2022 UTC ()
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.


(adam)
diff -r1.10 -r1.11 pkgsrc/devel/py-serpent/Makefile
diff -r1.10 -r1.11 pkgsrc/devel/py-serpent/distinfo

cvs diff -r1.10 -r1.11 pkgsrc/devel/py-serpent/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-serpent/Makefile 2022/01/04 20:53:38 1.10
+++ pkgsrc/devel/py-serpent/Makefile 2022/02/09 21:24:58 1.11
@@ -1,17 +1,18 @@ @@ -1,17 +1,18 @@
1# $NetBSD: Makefile,v 1.10 2022/01/04 20:53:38 wiz Exp $ 1# $NetBSD: Makefile,v 1.11 2022/02/09 21:24:58 adam Exp $
2 2
3DISTNAME= serpent-1.28 3DISTNAME= serpent-1.40
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= devel python 5CATEGORIES= devel python
7MASTER_SITES= ${MASTER_SITE_PYPI:=s/serpent/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=s/serpent/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/irmen/Serpent 9HOMEPAGE= https://github.com/irmen/Serpent
11COMMENT= Simple serialization library 10COMMENT= Simple serialization library
12LICENSE= mit 11LICENSE= mit
13 12
14USE_LANGUAGES= # none 13USE_LANGUAGES= # none
15 14
 15PYTHON_VERSIONS_INCOMPATIBLE= 27
 16
16.include "../../lang/python/egg.mk" 17.include "../../lang/python/egg.mk"
17.include "../../mk/bsd.pkg.mk" 18.include "../../mk/bsd.pkg.mk"

cvs diff -r1.10 -r1.11 pkgsrc/devel/py-serpent/distinfo (expand / switch to unified diff)

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