mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-pyzstd: update to 0.15.3.
This commit is contained in:
parent
1a93b064ae
commit
b79268c071
2 changed files with 2 additions and 32 deletions
|
@ -1,30 +0,0 @@
|
||||||
From b7ff78fc31ea054339693d6bf835134b8b9fbaa3 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ma Lin <malincns@163.com>
|
|
||||||
Date: Tue, 12 Apr 2022 13:00:30 +0800
|
|
||||||
Subject: [PATCH] unittests supports pytest
|
|
||||||
|
|
||||||
<more-tests>
|
|
||||||
---
|
|
||||||
tests/test_zstd.py | 5 +----
|
|
||||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tests/test_zstd.py b/tests/test_zstd.py
|
|
||||||
index 263a753..0d254b9 100644
|
|
||||||
--- a/tests/test_zstd.py
|
|
||||||
+++ b/tests/test_zstd.py
|
|
||||||
@@ -3231,9 +3231,6 @@ def cb(a,b,c,d):
|
|
||||||
compress_stream(io.BytesIO(b''), io.BytesIO(), callback=cb)
|
|
||||||
decompress_stream(io.BytesIO(b''), io.BytesIO(), callback=cb)
|
|
||||||
|
|
||||||
-def test_main():
|
|
||||||
- unittest.main()
|
|
||||||
-
|
|
||||||
# uncompressed size 130KB, more than a zstd block.
|
|
||||||
# with a frame epilogue, 4 bytes checksum.
|
|
||||||
TEST_DAT_130KB = (b'(\xb5/\xfd\xa4\x00\x08\x02\x00\xcc\x87\x03:\xaaYN4pf\xc8\xae\x06b\x02'
|
|
||||||
@@ -4419,4 +4416,4 @@ def test_main():
|
|
||||||
b'\xb7\x99\x1b\xce\xc9\t*\x98\x97\xb43z\x01h\x9fu\xf1')
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
- test_main()
|
|
||||||
+ unittest.main()
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python3-pyzstd'
|
# Template file for 'python3-pyzstd'
|
||||||
pkgname=python3-pyzstd
|
pkgname=python3-pyzstd
|
||||||
version=0.15.2
|
version=0.15.3
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="pyzstd-${version}"
|
wrksrc="pyzstd-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
@ -15,7 +15,7 @@ license="BSD-3-Clause"
|
||||||
homepage="https://github.com/animalize/pyzstd"
|
homepage="https://github.com/animalize/pyzstd"
|
||||||
changelog="https://raw.githubusercontent.com/animalize/pyzstd/dev/README.rst"
|
changelog="https://raw.githubusercontent.com/animalize/pyzstd/dev/README.rst"
|
||||||
distfiles="${PYPI_SITE}/p/pyzstd/pyzstd-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pyzstd/pyzstd-${version}.tar.gz"
|
||||||
checksum=eda9d2874a8f3823eea882125f304620f592693b3af0101c484bfc75726c8c59
|
checksum=ac4edab5d3955343e8f7f287e62cd2882907d46bcba4b406a1e9f84aa2887472
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue