dev-python/backports-zstd: Bump to 1.5.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-12 07:29:36 +02:00
parent ce9a59f18a
commit 5c6fcea8ab
2 changed files with 49 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST backports_zstd-1.3.0.tar.gz 997138 BLAKE2B 17fc2627b1cd498e6e808ac62fa56aa7
DIST backports_zstd-1.3.0.tar.gz.provenance 9389 BLAKE2B e6f8bcf6bc755e5e4f9d7e85adbb930018a761e37f2b0cde08905cc3cc0a5bd25ea75283f3012df84fd15a7be81d0708c9a5b202c72d2a8ce7ebbff0fed8958b SHA512 2c846b90a4049a1eef2cc5b4c89c0311f92513558cffae4bc918dd778f9648d13c854592ab7416b1b15f1942ff106b4d714905b9ffcd15746cad4fa60282fe8c
DIST backports_zstd-1.4.0.tar.gz 997918 BLAKE2B 86943a7639da562f67aeae1f59bc240b2bcf8092f2a662d56e42ee34687668d4b953b95afca491dd611c6b2c2647a724f76d5e0ef9b2829f9edc29e510aa85b9 SHA512 ab0627af0aea8839674eadbdad4fb6aa33149c832f37b5bb15a0db4141325eb881c8cace24b35d0de057641d698fef9850f8c39aee4c00aa745ca37cdb7fda9d
DIST backports_zstd-1.4.0.tar.gz.provenance 9726 BLAKE2B 4ad960deadb81d27d40d757b8c688f39fe4200f34adea1343a4d25f26d39b5ac756b9fdb1f98a17fddc707f0ea309edfc0e0b275a529ae0ccd4e5a02bf5252a2 SHA512 d310a4bfc3cbbfad93c0eb7397d4a4da1b7b1134d03bd7b515609b511617773160fb0ad17cdd5f57cd3ef75d3e0274b6a527840b92c30301e6f1946aaf815ef8
DIST backports_zstd-1.5.0.tar.gz 998556 BLAKE2B 0fbcf631730d01afece73a68d80c1df93d7af0205b105c93a901e4688c5414575fa37a177c7fec0b673edb49bdda7c7c06da1179cd7d84641bf11aee8d68f596 SHA512 47298459a77eb5dcbb47d362414e7f9b1347bba0c9a724a465a55e137d1c4aaffc8e79897aa5d0e30c7855b0cf6e537e8439a18edef452a45407a66be3447276
DIST backports_zstd-1.5.0.tar.gz.provenance 9628 BLAKE2B b476f6b73845195092ffc97b94199650df9e8f27d4e4ae7b9676d83b0a0c48b8b3c215e63b361b38857241e9ce123f94c18e35976b1095f5c49812b9eb1e4502 SHA512 77101ebd8e3409a67da8ca31d30305cb4753b9e20d73dbb148c77c970addc4035f96777f64f343109d28287ba42c3e347bd8bd027c63cd7a667740114fe03aaa

View File

@@ -0,0 +1,47 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_PN=${PN/-/.}
PYPI_VERIFY_REPO=https://github.com/Rogdham/backports.zstd
# this is a backport from py3.14, so don't add it
PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Backport of PEP-784: adding Zstandard to the standard library"
HOMEPAGE="
https://github.com/Rogdham/backports.zstd/
https://pypi.org/project/backports.zstd/
"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
DEPEND="
app-arch/zstd:=
"
RDEPEND="
${DEPEND}
"
distutils_enable_tests unittest
src_prepare() {
distutils-r1_src_prepare
# remove -flto and other forced cflags
sed -i -e 's:kwargs\["extra.*:pass:' setup.py || die
DISTUTILS_ARGS=(
--system-zstd
)
}
python_test() {
eunittest tests
}