summaryrefslogtreecommitdiff
path: root/dev-python/hiredis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-17 20:58:02 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-17 20:58:02 +0000
commit3a38a5d9da46eca9d656aa0ec448c8ba6034b044 (patch)
tree82664350bc7b90a6468e096087e6b4204e772ca7 /dev-python/hiredis
parent5959c8510d12e770f9320c71e55b4419e49154ee (diff)
gentoo auto-resync : 17:12:2023 - 20:58:01
Diffstat (limited to 'dev-python/hiredis')
-rw-r--r--dev-python/hiredis/Manifest2
-rw-r--r--dev-python/hiredis/hiredis-2.3.2.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest
index 4faa3e1c300e..9c4f5b06d498 100644
--- a/dev-python/hiredis/Manifest
+++ b/dev-python/hiredis/Manifest
@@ -1,4 +1,6 @@
AUX hiredis-2.2.2-system-libs.patch 1421 BLAKE2B d10de294e0e15ec1b816505c852b0e82140874bd3f1434515ecd69d04236efcc8fbf24f6b261db138979d1547892bf71e1c3c5e74317ef43c3597b379c03231e SHA512 dcc64f1a83cfe5c956c65c1bf1f9ef31b3c66e393d0dcec342f9f8cd6265a41309a03ddae7d86fa85806a05dac7bb89d29a3b7ebb955d62409fbb719e7c8004a
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
EBUILD hiredis-2.3.0.ebuild 829 BLAKE2B 167c77a7d4e238f238a6fe6304150e31ea01de4137617d3125767c03648d4d7dcfce3f7a5d92cbc957797b25c955aab395e69920c21b3f6db82db12d95081a81 SHA512 5a4191967625df86a407ca050dc5ab16512ee1b3ad8a9c86a318f48c46c057f3698adf58022b7768268135fe4b63d9d841aa8e6f079aed99eeed33d5a73ca909
+EBUILD hiredis-2.3.2.ebuild 833 BLAKE2B 2210e82d940926cf65cc0a0beb5506e3c1b4ee17b31b0c21f4162cee4c2727534df5fc1ed92476838669003a49819059554301535d6ba9b6a0831870a2a5302f SHA512 07e3948b8a16a608dcf81ecdd25d7173553fb3a10b79cb218f24937d6c151014f70121acae46231daf044a192694d64d39d2c72c9fc7ccd3e98b2739e1d19481
MISC metadata.xml 493 BLAKE2B 9ea63c09baa3e95097afce5edb30a2e1f358eedcc41fbd6f66492e3701bce65fa91e83c236d69b39ddde17f3d92401ca39ec70fbe12b6bc74dcde3e6e2495490 SHA512 42cc38851c3ffaddeb32aefed35551a444fdd1e9463dfca2f320a184445567174b44de84981dbd4613029abfcef28a69208bbb2857811308667cb54102357c83
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
+}