From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AE54C158245 for ; Thu, 5 Dec 2024 05:39:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A7E2E08C0; Thu, 5 Dec 2024 05:39:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FEB8E08C0 for ; Thu, 5 Dec 2024 05:39:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23C9D340C43 for ; Thu, 5 Dec 2024 05:39:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09DB11F42 for ; Thu, 5 Dec 2024 05:39:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1733374857.ea3e8518ea0090baea22d23ed7e90c7b63f18861.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/hiredis/Manifest dev-python/hiredis/hiredis-3.1.0.ebuild X-VCS-Directories: dev-python/hiredis/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ea3e8518ea0090baea22d23ed7e90c7b63f18861 X-VCS-Branch: master Date: Thu, 5 Dec 2024 05:39:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4938921b-101c-434b-8d2d-4f297ede2f06 X-Archives-Hash: 11812782452dd367fbe00192261e31ff commit: ea3e8518ea0090baea22d23ed7e90c7b63f18861 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 5 05:00:27 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Dec 5 05:00:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3e8518 dev-python/hiredis: Bump to 3.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest | 1 + dev-python/hiredis/hiredis-3.1.0.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index dbb9d4231330..3012822f6354 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-py-3.0.0.gh.tar.gz 19055 BLAKE2B 2ad3c185b6a70ebb509e0d34b1a1122784c74ecc843c966620a20d122e05dcb11129dbb7f76a7956081d147881edc2c66264fda1109e6990ef2171f15b339da7 SHA512 64abc15f73eaf65e16b1c3f98c21cf31823ffeb7131b89eeefee9856654c016867903d9a5d8c7ab0bdb24922076a67cb553c4298abcccd69ad0d5ba2d18c8a67 +DIST hiredis-py-3.1.0.gh.tar.gz 19066 BLAKE2B 06b4c3e47a27d16b28a96f0769399d8b3bcc361ac14d755134cb88faed4e403e89892276a3ce5e7c2920b45c5575caba8777cef8d64bc61fcf9d47f1b94b19f2 SHA512 8c47179bc55b89d64aa02a18c81d0e77669882afe126ca7ca468df8c9417023c36c6e3bdfcc28e092feba7a766655005e839a3aaf766d2fc4424176808c978d8 diff --git a/dev-python/hiredis/hiredis-3.1.0.ebuild b/dev-python/hiredis/hiredis-3.1.0.ebuild new file mode 100644 index 000000000000..a7183e750350 --- /dev/null +++ b/dev-python/hiredis/hiredis-3.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 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_{10..13} pypy3 ) + +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 +) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf hiredis || die + epytest +}