commit: 7236c5449bd1f64f48b1dd16fabdcb570f113ea9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 15 05:06:44 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 15 06:09:54 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7236c544
dev-python/hiredis: Bump to 3.3.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/hiredis/Manifest | 1 +
dev-python/hiredis/hiredis-3.3.0.ebuild | 45 +++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest
index 61d2f5055f68..760977d13637 100644
--- a/dev-python/hiredis/Manifest
+++ b/dev-python/hiredis/Manifest
@@ -1 +1,2 @@
DIST hiredis-py-3.2.1.gh.tar.gz 20090 BLAKE2B
362ec46549780eba4c672a8e9dee5b380829e2bb3de79d45052ede6634faa499bddbb7cf479714daf4ffb71754df267ec08b32a37c30c9d4700f92015cb95ed0
SHA512
eac9299f3de448628111fa25d6dde5faaec95f3f80120ebc9b659e1b4336c84e10c04084dd8d14eda279589ffcf6b18064b37fa8f5fd358d63e8fd1a02309b9f
+DIST hiredis-py-3.3.0.gh.tar.gz 20104 BLAKE2B
0b0d37ef07c2284febbc00075dbb3606b98fe2a7af8b4e31ee354e61699f2853127f1db2f4ffc5b603e6715540ebb7fd063e46b887ef26429d7ad1b403a00bc7
SHA512
461aa2207d1b3c2ee8fdc2b3b53cd59ed706ea27b8aecd819d67253bf07bd138cdc107ac1aaaa3142b1026768f5e5c5bb67c476ddcbf1d1d22fbbfae6803923d
diff --git a/dev-python/hiredis/hiredis-3.3.0.ebuild
b/dev-python/hiredis/hiredis-3.3.0.ebuild
new file mode 100644
index 000000000000..0eba197197b0
--- /dev/null
+++ b/dev-python/hiredis/hiredis-3.3.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517="setuptools"
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1
+
+MY_P=hiredis-py-${PV}
+DESCRIPTION="Python extension that wraps hiredis"
+HOMEPAGE="
+ https://github.com/redis/hiredis-py/
+ https://pypi.org/project/hiredis/
+"
+SRC_URI="
+ https://github.com/redis/hiredis-py/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+DEPEND="
+ >=dev-libs/hiredis-1.0.0:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+PATCHES=(
+ "${FILESDIR}"/hiredis-2.4.0-system-libs.patch
+)
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ rm -rf hiredis || die
+ epytest
+}