diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-11-29 16:38:11 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-11-29 16:38:59 +0100 |
| commit | 20fd8bbdc56879a02621f34176170416f3e65c59 (patch) | |
| tree | d8a4fbab15dc3f01f0a7fe74336c15709771bd3e /dev-python | |
| parent | 1343bf72c7f0a9102877a724e7059fa41c557d4d (diff) | |
| download | gentoo-20fd8bbdc56879a02621f34176170416f3e65c59.tar.gz gentoo-20fd8bbdc56879a02621f34176170416f3e65c59.tar.bz2 gentoo-20fd8bbdc56879a02621f34176170416f3e65c59.zip | |
dev-python/backports-zstd: Bump to 1.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/backports-zstd/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/backports-zstd/backports-zstd-1.1.0.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/backports-zstd/Manifest b/dev-python/backports-zstd/Manifest index d57e773fbfa9..fa2b0625c4e0 100644 --- a/dev-python/backports-zstd/Manifest +++ b/dev-python/backports-zstd/Manifest @@ -1,2 +1,4 @@ DIST backports_zstd-1.0.0.tar.gz 995991 BLAKE2B 6aa424ac191db255ed93e31a0c23c3645af1c67120f6e3c5757d4f4d8479d4a448e43c4d96d8c8c075307d7e8840f9aa380dd6940574240c86e55a3e96a1f62b SHA512 efeab141279ed2b0ab4eda3a32685c3da0fbc970c34bea63694b0d23c378a2c9661ad29cc6059edf9d89929f70e9b25e0f527b4b58ede0bbb64a24ca369c5fa0 DIST backports_zstd-1.0.0.tar.gz.provenance 9489 BLAKE2B 6e9d39b29faae7a72934f14070db60b5e8464555cc77005e02088a8c0d53fd870e1c2e1d63eee8658d48ae569dcf6de1fd5ffaa81527fd1317189c06d29397db SHA512 87047ee17a00df0f6173d49131ec033f7811b825c0d95611bfde9a52d4a3248b94a2960f5bb55b4df75ad9b15502294d68d7f3ae0730b33d19e8dd6fa1fee328 +DIST backports_zstd-1.1.0.tar.gz 996020 BLAKE2B 63747df8cbbbc69f53cabae56708849915ba822ed20487fdec01887100ab07c2d342dc275e9c80e4d62078282aef9f7eb100846539ceed832448c20b4198722d SHA512 9a23debaa624f85996a5ddc91cb085531c43ebe92518e8c82bbb0bdca71bcbb96229af9bd245a109c6c554e9af00a822288b452ce68f62f7d3a332167d53669c +DIST backports_zstd-1.1.0.tar.gz.provenance 9395 BLAKE2B 8fa4bdf2e4c57926f897e0b1678b38b47f9097e2b788503b23ea366f6d6595ecdbb03739934d8bf8c494e4db9f4e9654760256b1a6cc6dcacb050852fea29c59 SHA512 165b5c10d2169f5a2f3d0315c77f965a720727d4616fcd539aa2bb1a026d35f11b9d6215e75d663604bcd129d95fbe78b690f4b363282175b2be4189b987bde4 diff --git a/dev-python/backports-zstd/backports-zstd-1.1.0.ebuild b/dev-python/backports-zstd/backports-zstd-1.1.0.ebuild new file mode 100644 index 000000000000..36b2b573a9b6 --- /dev/null +++ b/dev-python/backports-zstd/backports-zstd-1.1.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2025 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 ~mips ~ppc ~ppc64 ~riscv ~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 + ) + + # remove namespace file + rm src/python/backports/__init__.py || die +} + +python_test() { + eunittest tests +} |
