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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16ACE158015 for ; Sun, 17 Dec 2023 18:00:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33D922BC03B; Sun, 17 Dec 2023 18:00:35 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04C8A2BC03B for ; Sun, 17 Dec 2023 18:00: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D69CA335CAF for ; Sun, 17 Dec 2023 18:00:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 447B9B85 for ; Sun, 17 Dec 2023 18:00:32 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1702836016.0700968c65cbe02365701a0cf7c9b5d6e5d13f70.arthurzam@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-2.3.2.ebuild X-VCS-Directories: dev-python/hiredis/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 0700968c65cbe02365701a0cf7c9b5d6e5d13f70 X-VCS-Branch: master Date: Sun, 17 Dec 2023 18:00:32 +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: 58f3ab12-78b8-4f6e-87da-058a8828b495 X-Archives-Hash: 73caddfc5f1b5b72cc1144257f72811c commit: 0700968c65cbe02365701a0cf7c9b5d6e5d13f70 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Dec 17 17:06:52 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Dec 17 18:00:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0700968c dev-python/hiredis: add 2.3.2 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/Manifest | 1 + dev-python/hiredis/hiredis-2.3.2.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 247154493dad..c30088fd18a5 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-py-2.3.0.gh.tar.gz 18179 BLAKE2B d87460d3ea75f81f9017a837f44281e7733104e5772ed53dc9471eb18a38b0a9e1298ddb3c78b8d3c5ab7a8e1f71e966bbaa10e06969321e7940b8965ac56b2f SHA512 4e72f71719e9616913e5ed6dc9d2e01ad91d44715231c1eda1a1c6570d75c00be634093712444fc9a86bc6843278ab34c33c7362ffd5b8171f4ff775aaf0c4bd +DIST hiredis-py-2.3.2.gh.tar.gz 19076 BLAKE2B 4a3e747765f559407b3ad84524bc1040e3a530723b5756320743fc20400bc70e867d48e71696d732a5fa5eb231199cbefb6f487d0b5ece6fc8f6c41f10f3c0d8 SHA512 1a22ab324f9675973c3dc37c55d6dd9cf43fbc161003003a73b2e1dfbb3fed7dcb1433f4fc51045a88cb2735f7c8495b93a819a0a9f6300e05b0cc85160eaace diff --git a/dev-python/hiredis/hiredis-2.3.2.ebuild b/dev-python/hiredis/hiredis-2.3.2.ebuild new file mode 100644 index 000000000000..f84862162b67 --- /dev/null +++ b/dev-python/hiredis/hiredis-2.3.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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..12} 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="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +DEPEND=" + >=dev-libs/hiredis-1.0.0:= +" +RDEPEND=" + ${DEPEND} +" + +PATCHES=( + "${FILESDIR}"/hiredis-2.2.2-system-libs.patch +) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf hiredis || die + epytest +}