dev-python/pyzstd: Bump to 0.18.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-06 06:39:17 +02:00
parent 039fc6e618
commit f8837b2315
2 changed files with 52 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pyzstd-0.17.0.tar.gz 1212160 BLAKE2B df758d02d4cb8df504538b0ff9de059a86d15ca1fe362879932f916db9ac057eaa34efb342fcca9c206a8f463201b8f774978727c209cd8799e51152b7ff90c0 SHA512 932bd4b7df026c40aa24c1548237b3decf44109897572b8933d4a2284036998d7bb320d355a71f9ab04509333204072ed78098f6e6c05b997a80f268763a4b28
DIST pyzstd-0.18.0.tar.gz 806048 BLAKE2B a2154d215a6164358b9ed0195bf3a37d707fce029949fbf4ffadf14f8c4462110674cc0d91ca115361ef1db67bef29c15721963870bd2ce08e8077365db02f43 SHA512 0031b5c6f893a5c265a00e55cdc5519a3d2bd191d943917761129dd4d8a49ab1c8912b559e9e10a3aeef25b01fbefe33ae6674a55554ff7c16e2dd31795b7bbc

View File

@@ -0,0 +1,51 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_UPSTREAM_PEP517=standalone
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Python bindings to Zstandard (zstd) compression library"
HOMEPAGE="
https://github.com/Rogdham/pyzstd/
https://pypi.org/project/pyzstd/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="
app-arch/zstd:=
"
RDEPEND="
${DEPEND}
$(python_gen_cond_dep '
dev-python/typing-extensions[${PYTHON_USEDEP}]
' 3.11 3.12)
"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
distutils_enable_tests unittest
src_prepare() {
sed -i "s/'-g0', '-flto'//" setup.py || die
distutils-r1_src_prepare
DISTUTILS_ARGS=(
--dynamic-link-zstd
--multi-phase-init
)
}
python_test() {
eunittest tests
}