commit: d09480510027c6b970673b95cc5797bb0039ed2f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 30 04:10:02 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec 30 04:21:51 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0948051
dev-python/backports-zstd: Bump to 1.3.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/backports-zstd/Manifest | 2 +
.../backports-zstd/backports-zstd-1.3.0.ebuild | 47 ++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-python/backports-zstd/Manifest
b/dev-python/backports-zstd/Manifest
index 04cf7d8838f5..54bf8bdbcde2 100644
--- a/dev-python/backports-zstd/Manifest
+++ b/dev-python/backports-zstd/Manifest
@@ -4,3 +4,5 @@ DIST backports_zstd-1.1.0.tar.gz 996020 BLAKE2B
63747df8cbbbc69f53cabae567088499
DIST backports_zstd-1.1.0.tar.gz.provenance 9395 BLAKE2B
8fa4bdf2e4c57926f897e0b1678b38b47f9097e2b788503b23ea366f6d6595ecdbb03739934d8bf8c494e4db9f4e9654760256b1a6cc6dcacb050852fea29c59
SHA512
165b5c10d2169f5a2f3d0315c77f965a720727d4616fcd539aa2bb1a026d35f11b9d6215e75d663604bcd129d95fbe78b690f4b363282175b2be4189b987bde4
DIST backports_zstd-1.2.0.tar.gz 997263 BLAKE2B
63cc3af77e9b5ef0fc14f4b3c8fcf20b2dafd8b28fc6177e954c4261134de8f72c1d3c09478158ec36c92b6f3b1553a10c68cbe5f23b2b01164c4b65c7266b70
SHA512
98f3962ad2628c7c032848a43cc1116e2cdb1e5ac7fadff640ecd7a36dee8ccfae0c230ef0297047bf6a54159e3493ac468888a9d1cf6e02594541473cd31352
DIST backports_zstd-1.2.0.tar.gz.provenance 9389 BLAKE2B
0c4fc2709b9cfb4fd614a21f4f660e786c3f8de250d08d77bbe8b4fff22ca4e8b541aff3f80166860b19e8fe76d6ad88be37bb4bd7977652b0ea4ef18efbccaa
SHA512
109d3300d365d7ccbea6032f9d4e58fad9c46680489f474f7fea0b986e982ea0d0b1cf84f99096acb1758b4c984a700725c730a32da0d18c32f20b64df8f14e2
+DIST backports_zstd-1.3.0.tar.gz 997138 BLAKE2B
17fc2627b1cd498e6e808ac62fa56aa744f9124df0c7954fa9f58ff2eceb201fc414afeaa67b92a74ad23eaac0f01199f276ac1b156a9462f0cacd4e9a64aa40
SHA512
f9318e5e86ca284e96d64e53b6ebe15b534c13f95ea2f8a36fb48189ce0690b3d8cd952ba69a369a7da555665786753d70bddb66b3aa43bcc04a654fb466d158
+DIST backports_zstd-1.3.0.tar.gz.provenance 9389 BLAKE2B
e6f8bcf6bc755e5e4f9d7e85adbb930018a761e37f2b0cde08905cc3cc0a5bd25ea75283f3012df84fd15a7be81d0708c9a5b202c72d2a8ce7ebbff0fed8958b
SHA512
2c846b90a4049a1eef2cc5b4c89c0311f92513558cffae4bc918dd778f9648d13c854592ab7416b1b15f1942ff106b4d714905b9ffcd15746cad4fa60282fe8c
diff --git a/dev-python/backports-zstd/backports-zstd-1.3.0.ebuild
b/dev-python/backports-zstd/backports-zstd-1.3.0.ebuild
new file mode 100644
index 000000000000..a37682975be9
--- /dev/null
+++ b/dev-python/backports-zstd/backports-zstd-1.3.0.ebuild
@@ -0,0 +1,47 @@
+# 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 ~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
+}