[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/, dev-python/hiredis/files/
commit: f615633911632aeb66164d6c4f82e7dc28df8846 Author: Michał Górny gentoo org> AuthorDate: Sat Aug 10 06:44:10 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Aug 10 06:44:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6156339 dev-python/hiredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest| 2 - .../hiredis/files/hiredis-2.2.2-system-libs.patch | 53 -- dev-python/hiredis/hiredis-2.3.2.ebuild| 45 -- dev-python/hiredis/hiredis-2.4.0.ebuild| 45 -- 4 files changed, 145 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 9c650e9c85cb..dbb9d4231330 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,3 +1 @@ -DIST hiredis-py-2.3.2.gh.tar.gz 19076 BLAKE2B 4a3e747765f559407b3ad84524bc1040e3a530723b5756320743fc20400bc70e867d48e71696d732a5fa5eb231199cbefb6f487d0b5ece6fc8f6c41f10f3c0d8 SHA512 1a22ab324f9675973c3dc37c55d6dd9cf43fbc161003003a73b2e1dfbb3fed7dcb1433f4fc51045a88cb2735f7c8495b93a819a0a9f6300e05b0cc85160eaace -DIST hiredis-py-2.4.0.gh.tar.gz 19076 BLAKE2B a5b047db044801e5dabdd5bcaefb5a89cce472f45baa6a3d590b09014446695ed84baaa46bc4d8a809cc6ffa2a2e219e03b62268ee9f818ef5e9c770cd064591 SHA512 638184fff812cf2c0d0e731be98e22c37c2c07db539ce2ad1e5d45e8f399864bc49e5e26cd0b1fcdf7db9fc776a664f8541229ef00da0b597c4be4f3ab7461cf DIST hiredis-py-3.0.0.gh.tar.gz 19055 BLAKE2B 2ad3c185b6a70ebb509e0d34b1a1122784c74ecc843c966620a20d122e05dcb11129dbb7f76a7956081d147881edc2c66264fda1109e6990ef2171f15b339da7 SHA512 64abc15f73eaf65e16b1c3f98c21cf31823ffeb7131b89eeefee9856654c016867903d9a5d8c7ab0bdb24922076a67cb553c4298abcccd69ad0d5ba2d18c8a67 diff --git a/dev-python/hiredis/files/hiredis-2.2.2-system-libs.patch b/dev-python/hiredis/files/hiredis-2.2.2-system-libs.patch deleted file mode 100644 index 67f6a5650f66.. --- a/dev-python/hiredis/files/hiredis-2.2.2-system-libs.patch +++ /dev/null @@ -1,53 +0,0 @@ hiredis-2.2.2.orig/setup.py -+++ hiredis-2.2.2/setup.py -@@ -18,8 +18,7 @@ - - - def get_sources(): --hiredis_sources = ("alloc", "async", "hiredis", "net", "read", "sds", "sockcompat") --return sorted(glob.glob("src/*.c") + ["vendor/hiredis/%s.c" % src for src in hiredis_sources]) -+return sorted(glob.glob("src/*.c")) - - - def get_linker_args(): -@@ -38,17 +37,16 @@ - - def get_libraries(): - if 'win32' in sys.platform: --return ["ws2_32", ] -+return ["ws2_32", "hiredis"] - else: --return [] -+return ["hiredis"] - - - ext = Extension("hiredis.hiredis", - sources=get_sources(), - extra_compile_args=get_compiler_args(), - extra_link_args=get_linker_args(), --libraries=get_libraries(), --include_dirs=["vendor"]) -+libraries=get_libraries()) - - setup( - name="hiredis", hiredis-2.2.2.orig/src/pack.c -+++ hiredis-2.2.2/src/pack.c -@@ -16,7 +16,7 @@ - extern sds sdsnewlen(const void *init, size_t initlen); - #endif - --#include -+#include - - PyObject * - pack_command(PyObject *cmd) -@@ -32,7 +32,7 @@ - } - - Py_ssize_t tokens_number = PyTuple_Size(cmd); --sds *tokens = s_malloc(sizeof(sds) * tokens_number); -+sds *tokens = sds_malloc(sizeof(sds) * tokens_number); - if (tokens == NULL) - { - return PyErr_NoMemory(); diff --git a/dev-python/hiredis/hiredis-2.3.2.ebuild b/dev-python/hiredis/hiredis-2.3.2.ebuild deleted file mode 100644 index 661374875657.. --- a/dev-python/hiredis/hiredis-2.3.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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="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 -} diff --git a/dev-python/hiredis/hiredis-2.4.0.ebuild b/dev-python/hiredis/hiredis-2.4.0.ebuild deleted file mode 100644 index a7183e750350.. --- a/dev-python/hiredis/hiredis-2.4.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: b2842c129bc7d9d1bcd657e243b97b95842a9c03 Author: Michał Górny gentoo org> AuthorDate: Sat Aug 10 06:42:56 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Aug 10 06:42:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2842c12 dev-python/hiredis: Stabilize 3.0.0 arm, #937172 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-3.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-3.0.0.ebuild b/dev-python/hiredis/hiredis-3.0.0.ebuild index fa5f96e0ab37..f85f0493d578 100644 --- a/dev-python/hiredis/hiredis-3.0.0.ebuild +++ b/dev-python/hiredis/hiredis-3.0.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: e96625085fb2231a4dd3c820756c3bd43da9f656 Author: Jakov Smolić gentoo org> AuthorDate: Sat Aug 3 08:29:36 2024 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Aug 3 08:29:36 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9662508 dev-python/hiredis: Stabilize 3.0.0 x86, #937172 Signed-off-by: Jakov Smolić gentoo.org> dev-python/hiredis/hiredis-3.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-3.0.0.ebuild b/dev-python/hiredis/hiredis-3.0.0.ebuild index 9a5252066267..fa5f96e0ab37 100644 --- a/dev-python/hiredis/hiredis-3.0.0.ebuild +++ b/dev-python/hiredis/hiredis-3.0.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: e254ec6893ffca83fbf201f5a16e635f97ef5253 Author: Jakov Smolić gentoo org> AuthorDate: Sat Aug 3 08:29:34 2024 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Aug 3 08:29:34 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e254ec68 dev-python/hiredis: Stabilize 3.0.0 amd64, #937172 Signed-off-by: Jakov Smolić gentoo.org> dev-python/hiredis/hiredis-3.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-3.0.0.ebuild b/dev-python/hiredis/hiredis-3.0.0.ebuild index 16a36ba9473a..9a5252066267 100644 --- a/dev-python/hiredis/hiredis-3.0.0.ebuild +++ b/dev-python/hiredis/hiredis-3.0.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 2ba3565294eaa6fec6688c5c753c520d864d9265 Author: Michał Górny gentoo org> AuthorDate: Fri Jul 19 18:38:59 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Jul 19 19:56:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba35652 dev-python/hiredis: Bump to 3.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest | 1 + dev-python/hiredis/hiredis-3.0.0.ebuild | 45 + 2 files changed, 46 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 5f97ff664c28..9c650e9c85cb 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1,3 @@ DIST hiredis-py-2.3.2.gh.tar.gz 19076 BLAKE2B 4a3e747765f559407b3ad84524bc1040e3a530723b5756320743fc20400bc70e867d48e71696d732a5fa5eb231199cbefb6f487d0b5ece6fc8f6c41f10f3c0d8 SHA512 1a22ab324f9675973c3dc37c55d6dd9cf43fbc161003003a73b2e1dfbb3fed7dcb1433f4fc51045a88cb2735f7c8495b93a819a0a9f6300e05b0cc85160eaace DIST hiredis-py-2.4.0.gh.tar.gz 19076 BLAKE2B a5b047db044801e5dabdd5bcaefb5a89cce472f45baa6a3d590b09014446695ed84baaa46bc4d8a809cc6ffa2a2e219e03b62268ee9f818ef5e9c770cd064591 SHA512 638184fff812cf2c0d0e731be98e22c37c2c07db539ce2ad1e5d45e8f399864bc49e5e26cd0b1fcdf7db9fc776a664f8541229ef00da0b597c4be4f3ab7461cf +DIST hiredis-py-3.0.0.gh.tar.gz 19055 BLAKE2B 2ad3c185b6a70ebb509e0d34b1a1122784c74ecc843c966620a20d122e05dcb11129dbb7f76a7956081d147881edc2c66264fda1109e6990ef2171f15b339da7 SHA512 64abc15f73eaf65e16b1c3f98c21cf31823ffeb7131b89eeefee9856654c016867903d9a5d8c7ab0bdb24922076a67cb553c4298abcccd69ad0d5ba2d18c8a67 diff --git a/dev-python/hiredis/hiredis-3.0.0.ebuild b/dev-python/hiredis/hiredis-3.0.0.ebuild new file mode 100644 index ..a7183e750350 --- /dev/null +++ b/dev-python/hiredis/hiredis-3.0.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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/files/, dev-python/hiredis/
commit: c4958e250ed72493784b28448712625320b7b81a Author: Michał Górny gentoo org> AuthorDate: Fri Jul 19 18:38:41 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Jul 19 19:56:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4958e25 dev-python/hiredis: Bump to 2.4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest| 1 + .../hiredis/files/hiredis-2.4.0-system-libs.patch | 33 dev-python/hiredis/hiredis-2.4.0.ebuild| 45 ++ 3 files changed, 79 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 6d51028a1b45..5f97ff664c28 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-py-2.3.2.gh.tar.gz 19076 BLAKE2B 4a3e747765f559407b3ad84524bc1040e3a530723b5756320743fc20400bc70e867d48e71696d732a5fa5eb231199cbefb6f487d0b5ece6fc8f6c41f10f3c0d8 SHA512 1a22ab324f9675973c3dc37c55d6dd9cf43fbc161003003a73b2e1dfbb3fed7dcb1433f4fc51045a88cb2735f7c8495b93a819a0a9f6300e05b0cc85160eaace +DIST hiredis-py-2.4.0.gh.tar.gz 19076 BLAKE2B a5b047db044801e5dabdd5bcaefb5a89cce472f45baa6a3d590b09014446695ed84baaa46bc4d8a809cc6ffa2a2e219e03b62268ee9f818ef5e9c770cd064591 SHA512 638184fff812cf2c0d0e731be98e22c37c2c07db539ce2ad1e5d45e8f399864bc49e5e26cd0b1fcdf7db9fc776a664f8541229ef00da0b597c4be4f3ab7461cf diff --git a/dev-python/hiredis/files/hiredis-2.4.0-system-libs.patch b/dev-python/hiredis/files/hiredis-2.4.0-system-libs.patch new file mode 100644 index ..92a14f91d200 --- /dev/null +++ b/dev-python/hiredis/files/hiredis-2.4.0-system-libs.patch @@ -0,0 +1,33 @@ +--- hiredis-2.2.2.orig/setup.py hiredis-2.2.2/setup.py +@@ -18,8 +18,7 @@ + + + def get_sources(): +-hiredis_sources = ("alloc", "async", "hiredis", "net", "read", "sds", "sockcompat") +-return sorted(glob.glob("src/*.c") + ["vendor/hiredis/%s.c" % src for src in hiredis_sources]) ++return sorted(glob.glob("src/*.c")) + + + def get_linker_args(): +@@ -38,17 +37,16 @@ + + def get_libraries(): + if 'win32' in sys.platform: +-return ["ws2_32", ] ++return ["ws2_32", "hiredis"] + else: +-return [] ++return ["hiredis"] + + + ext = Extension("hiredis.hiredis", + sources=get_sources(), + extra_compile_args=get_compiler_args(), + extra_link_args=get_linker_args(), +-libraries=get_libraries(), +-include_dirs=["vendor"]) ++libraries=get_libraries()) + + setup( + name="hiredis", diff --git a/dev-python/hiredis/hiredis-2.4.0.ebuild b/dev-python/hiredis/hiredis-2.4.0.ebuild new file mode 100644 index ..a7183e750350 --- /dev/null +++ b/dev-python/hiredis/hiredis-2.4.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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: fcb8b0406a1b74073f9b0d018b7a71a358921c3c Author: Michał Górny gentoo org> AuthorDate: Fri May 17 18:21:28 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri May 17 18:23:24 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb8b040 dev-python/hiredis: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.3.2.ebuild b/dev-python/hiredis/hiredis-2.3.2.ebuild index 181f00fa3dd0..661374875657 100644 --- a/dev-python/hiredis/hiredis-2.3.2.ebuild +++ b/dev-python/hiredis/hiredis-2.3.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: cdd7813fa0eee2afb4832edd04e665f63c9194ce Author: Michał Górny gentoo org> AuthorDate: Sat Jan 6 10:53:02 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 6 10:53:02 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd7813f dev-python/hiredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest | 1 - dev-python/hiredis/hiredis-2.3.0.ebuild | 45 - 2 files changed, 46 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index c30088fd18a5..6d51028a1b45 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1 @@ -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.0.ebuild b/dev-python/hiredis/hiredis-2.3.0.ebuild deleted file mode 100644 index 6a9f11837121.. --- a/dev-python/hiredis/hiredis-2.3.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 0ed0307a53bc5c78304f4e83794f9bb7d6abbb06 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 6 10:52:16 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 6 10:52:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ed0307a dev-python/hiredis: Stabilize 2.3.2 x86, #921443 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.3.2.ebuild b/dev-python/hiredis/hiredis-2.3.2.ebuild index 2ab428009755..181f00fa3dd0 100644 --- a/dev-python/hiredis/hiredis-2.3.2.ebuild +++ b/dev-python/hiredis/hiredis-2.3.2.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: c6ca1fb096cbe95179b4ca33fc356e2adbc34873 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 6 10:16:21 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 6 10:16:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6ca1fb0 dev-python/hiredis: Stabilize 2.3.2 amd64, #921443 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.3.2.ebuild b/dev-python/hiredis/hiredis-2.3.2.ebuild index 7121cb36d38c..2ab428009755 100644 --- a/dev-python/hiredis/hiredis-2.3.2.ebuild +++ b/dev-python/hiredis/hiredis-2.3.2.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 0700968c65cbe02365701a0cf7c9b5d6e5d13f70 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Dec 17 17:06:52 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Dec 17 18:00:16 2023 + 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 44debbaa439ee09f39098ec93fecc00a6c1515d9 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 21 07:56:02 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 21 08:59:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44debbaa dev-python/hiredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest | 1 - dev-python/hiredis/hiredis-2.2.3.ebuild | 45 - 2 files changed, 46 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index a3fb3e85b483..247154493dad 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1 @@ -DIST hiredis-py-2.2.3.gh.tar.gz 18214 BLAKE2B cdac5e9790c88657c75be721c4dbc91174a0eb38cdd790076b3ec1f009d43c7aef300bfa7381a10061749cb3bec02d4a488e732f550bea4c62893aabfc0c3222 SHA512 e85032869b6bbbc30f991d83d67a710c04998645517b1ddcfd801ff37bd28f0576a5bdc2986f3526f72da8448986714a79b42a0ab1a5cc6b6bab24f3d98fdce9 DIST hiredis-py-2.3.0.gh.tar.gz 18179 BLAKE2B d87460d3ea75f81f9017a837f44281e7733104e5772ed53dc9471eb18a38b0a9e1298ddb3c78b8d3c5ab7a8e1f71e966bbaa10e06969321e7940b8965ac56b2f SHA512 4e72f71719e9616913e5ed6dc9d2e01ad91d44715231c1eda1a1c6570d75c00be634093712444fc9a86bc6843278ab34c33c7362ffd5b8171f4ff775aaf0c4bd diff --git a/dev-python/hiredis/hiredis-2.2.3.ebuild b/dev-python/hiredis/hiredis-2.2.3.ebuild deleted file mode 100644 index 6a9f11837121.. --- a/dev-python/hiredis/hiredis-2.2.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: f78bf1c37bd5216439da67de768fdb6bb5add3be Author: Sam James gentoo org> AuthorDate: Sun Aug 20 05:42:14 2023 + Commit: Sam James gentoo org> CommitDate: Sun Aug 20 05:42:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78bf1c3 dev-python/hiredis: Stabilize 2.3.0 x86, #912607 Signed-off-by: Sam James gentoo.org> dev-python/hiredis/hiredis-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.3.0.ebuild b/dev-python/hiredis/hiredis-2.3.0.ebuild index 054a69176742..5ccfee645c3e 100644 --- a/dev-python/hiredis/hiredis-2.3.0.ebuild +++ b/dev-python/hiredis/hiredis-2.3.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 12b199ecae66459303b833253cec4b5e782ad97e Author: Arthur Zamarin gentoo org> AuthorDate: Sat Aug 19 16:08:40 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Aug 19 16:08:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b199ec dev-python/hiredis: Stabilize 2.3.0 arm, #912607 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.3.0.ebuild b/dev-python/hiredis/hiredis-2.3.0.ebuild index 0b540d0e1dcf..054a69176742 100644 --- a/dev-python/hiredis/hiredis-2.3.0.ebuild +++ b/dev-python/hiredis/hiredis-2.3.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 66797f3f10368bccc4bcb6a5f5a32ae8b7c1a157 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Aug 19 15:55:58 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Aug 19 15:55:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66797f3f dev-python/hiredis: Stabilize 2.3.0 arm64, #912607 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.3.0.ebuild b/dev-python/hiredis/hiredis-2.3.0.ebuild index f84862162b67..0b540d0e1dcf 100644 --- a/dev-python/hiredis/hiredis-2.3.0.ebuild +++ b/dev-python/hiredis/hiredis-2.3.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: cdcde3379408c9500d40f991588c33465756dd3a Author: Sven Wegener gentoo org> AuthorDate: Sat Jul 15 10:56:43 2023 + Commit: Sven Wegener gentoo org> CommitDate: Sat Jul 15 10:58:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdcde337 dev-python/hiredis: add 2.3.0 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/Manifest | 1 + dev-python/hiredis/hiredis-2.3.0.ebuild | 45 + 2 files changed, 46 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 0407749e23a3..a3fb3e85b483 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-py-2.2.3.gh.tar.gz 18214 BLAKE2B cdac5e9790c88657c75be721c4dbc91174a0eb38cdd790076b3ec1f009d43c7aef300bfa7381a10061749cb3bec02d4a488e732f550bea4c62893aabfc0c3222 SHA512 e85032869b6bbbc30f991d83d67a710c04998645517b1ddcfd801ff37bd28f0576a5bdc2986f3526f72da8448986714a79b42a0ab1a5cc6b6bab24f3d98fdce9 +DIST hiredis-py-2.3.0.gh.tar.gz 18179 BLAKE2B d87460d3ea75f81f9017a837f44281e7733104e5772ed53dc9471eb18a38b0a9e1298ddb3c78b8d3c5ab7a8e1f71e966bbaa10e06969321e7940b8965ac56b2f SHA512 4e72f71719e9616913e5ed6dc9d2e01ad91d44715231c1eda1a1c6570d75c00be634093712444fc9a86bc6843278ab34c33c7362ffd5b8171f4ff775aaf0c4bd diff --git a/dev-python/hiredis/hiredis-2.3.0.ebuild b/dev-python/hiredis/hiredis-2.3.0.ebuild new file mode 100644 index ..f84862162b67 --- /dev/null +++ b/dev-python/hiredis/hiredis-2.3.0.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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: bff6ba0ef2fa8f75a71aef3b94277a2a1c9447fb Author: Michał Górny gentoo org> AuthorDate: Sat Jul 8 05:09:28 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 8 06:05:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff6ba0e dev-python/hiredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest| 1 - dev-python/hiredis/hiredis-2.2.2-r1.ebuild | 35 -- 2 files changed, 36 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 3238e21d9093..0407749e23a3 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1 @@ -DIST hiredis-2.2.2.gh.tar.gz 18010 BLAKE2B 67ab7c3f0667d3cf33abea58fbe37bcc28beb569f6f3da966f191d00965faa5a835a286172179d6f33f4e0fa81743fa345829f04d9d89350ab1394cc0c168147 SHA512 8a42df63911000cd119da33e7fea25fa1a5244a86016818bcb6c6e12c042b12b00b7272633d85dcf921fd2eba67145e3258c64689be799a0f59766e541139120 DIST hiredis-py-2.2.3.gh.tar.gz 18214 BLAKE2B cdac5e9790c88657c75be721c4dbc91174a0eb38cdd790076b3ec1f009d43c7aef300bfa7381a10061749cb3bec02d4a488e732f550bea4c62893aabfc0c3222 SHA512 e85032869b6bbbc30f991d83d67a710c04998645517b1ddcfd801ff37bd28f0576a5bdc2986f3526f72da8448986714a79b42a0ab1a5cc6b6bab24f3d98fdce9 diff --git a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild deleted file mode 100644 index a4dc2b633736.. --- a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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_{9..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/redis/hiredis-py/"; -SRC_URI="https://github.com/redis/hiredis-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" -IUSE="" - -DEPEND=">=dev-libs/hiredis-1.0.0:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}"/${PN}-py-${PV} - -PATCHES=( - "${FILESDIR}"/${P}-system-libs.patch -) - -distutils_enable_tests pytest - -python_test() { - cd tests - epytest --import-mode=append -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 480499f872419bc3a5f8f1e940c7a0f2d1fa8ef3 Author: Sam James gentoo org> AuthorDate: Fri Jul 7 21:21:49 2023 + Commit: Sam James gentoo org> CommitDate: Fri Jul 7 21:21:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=480499f8 dev-python/hiredis: Stabilize 2.2.3 arm64, #909683 Signed-off-by: Sam James gentoo.org> dev-python/hiredis/hiredis-2.2.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.2.3.ebuild b/dev-python/hiredis/hiredis-2.2.3.ebuild index a5309fc1dd63..6a9f11837121 100644 --- a/dev-python/hiredis/hiredis-2.2.3.ebuild +++ b/dev-python/hiredis/hiredis-2.2.3.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: ee275fbc811a0cbfba58a11e99e4b19671f5b0d0 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Jul 5 05:55:54 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Jul 5 05:55:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee275fbc dev-python/hiredis: Stabilize 2.2.3 arm, #909683 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.2.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.2.3.ebuild b/dev-python/hiredis/hiredis-2.2.3.ebuild index f84862162b67..3b8ff31cef2f 100644 --- a/dev-python/hiredis/hiredis-2.2.3.ebuild +++ b/dev-python/hiredis/hiredis-2.2.3.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" DEPEND=" >=dev-libs/hiredis-1.0.0:=
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 8361c4ddba19c9ec89e955a3565ec1950b65bfac Author: Petr Vaněk atlas cz> AuthorDate: Mon May 29 11:21:51 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon May 29 12:26:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8361c4dd dev-python/hiredis: enable py3.12 Signed-off-by: Petr Vaněk atlas.cz> Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-2.2.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.2.3.ebuild b/dev-python/hiredis/hiredis-2.2.3.ebuild index 66d53f73f25c..f84862162b67 100644 --- a/dev-python/hiredis/hiredis-2.2.3.ebuild +++ b/dev-python/hiredis/hiredis-2.2.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 59e4c9352fceefedacd7d73aa8415adf36f240e9 Author: Michał Górny gentoo org> AuthorDate: Mon May 8 12:00:01 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon May 8 12:05:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e4c935 dev-python/hiredis: Bump to 2.2.3 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest | 1 + dev-python/hiredis/hiredis-2.2.3.ebuild | 45 + 2 files changed, 46 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index cd80c0be9b4b..3238e21d9093 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-2.2.2.gh.tar.gz 18010 BLAKE2B 67ab7c3f0667d3cf33abea58fbe37bcc28beb569f6f3da966f191d00965faa5a835a286172179d6f33f4e0fa81743fa345829f04d9d89350ab1394cc0c168147 SHA512 8a42df63911000cd119da33e7fea25fa1a5244a86016818bcb6c6e12c042b12b00b7272633d85dcf921fd2eba67145e3258c64689be799a0f59766e541139120 +DIST hiredis-py-2.2.3.gh.tar.gz 18214 BLAKE2B cdac5e9790c88657c75be721c4dbc91174a0eb38cdd790076b3ec1f009d43c7aef300bfa7381a10061749cb3bec02d4a488e732f550bea4c62893aabfc0c3222 SHA512 e85032869b6bbbc30f991d83d67a710c04998645517b1ddcfd801ff37bd28f0576a5bdc2986f3526f72da8448986714a79b42a0ab1a5cc6b6bab24f3d98fdce9 diff --git a/dev-python/hiredis/hiredis-2.2.3.ebuild b/dev-python/hiredis/hiredis-2.2.3.ebuild new file mode 100644 index ..66d53f73f25c --- /dev/null +++ b/dev-python/hiredis/hiredis-2.2.3.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_{9..11} 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 2d975bf75b27b79561c1aad06ecd24f1c84ba74f Author: Michał Górny gentoo org> AuthorDate: Thu May 4 16:13:52 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu May 4 16:17:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d975bf7 dev-python/hiredis: Set DISTUTILS_EXT=1 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-2.2.2-r1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild index 08c9c7246286..a4dc2b633736 100644 --- a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild +++ b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517="setuptools" PYTHON_COMPAT=( python3_{9..11} pypy3 )
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/files/, dev-python/hiredis/
commit: cce314ad5ff63b3848b4c360d00d0b1272f2c703 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 5 09:06:36 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 5 09:14:12 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce314ad dev-python/hiredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest| 1 - .../files/hiredis-2.0.0-CVE-2021-32765.patch | 36 -- .../hiredis/files/hiredis-2.0.0-system-libs.patch | 14 - dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 36 -- dev-python/hiredis/metadata.xml| 3 -- 5 files changed, 90 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index bf1b5ba11125..cd80c0be9b4b 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1 @@ -DIST hiredis-2.0.0.tar.gz 75807 BLAKE2B dc7535f117c8ecfb2c924fe44a1cba2f02271c544588249de6794ce3aec27f66038ecb9f6364ca87b71f66ba13870a3be192eb79c1f360d2eb6dcb6dcae41caa SHA512 b9a313acdd00676dc046713a81bbf4336959f49f09bd2828997c23ca41259935047c657a4b6f81913715141a75fb6bbe7fc4429c7a5b0f4bc3d5de66b9cfa909 DIST hiredis-2.2.2.gh.tar.gz 18010 BLAKE2B 67ab7c3f0667d3cf33abea58fbe37bcc28beb569f6f3da966f191d00965faa5a835a286172179d6f33f4e0fa81743fa345829f04d9d89350ab1394cc0c168147 SHA512 8a42df63911000cd119da33e7fea25fa1a5244a86016818bcb6c6e12c042b12b00b7272633d85dcf921fd2eba67145e3258c64689be799a0f59766e541139120 diff --git a/dev-python/hiredis/files/hiredis-2.0.0-CVE-2021-32765.patch b/dev-python/hiredis/files/hiredis-2.0.0-CVE-2021-32765.patch deleted file mode 100644 index ad1bb80ac0de.. --- a/dev-python/hiredis/files/hiredis-2.0.0-CVE-2021-32765.patch +++ /dev/null @@ -1,36 +0,0 @@ a/vendor/hiredis/alloc.c -+++ b/vendor/hiredis/alloc.c -@@ -68,6 +68,10 @@ void *hi_malloc(size_t size) { - } - - void *hi_calloc(size_t nmemb, size_t size) { -+/* Overflow check as the user can specify any arbitrary allocator */ -+if (SIZE_MAX / size < nmemb) -+return NULL; -+ - return hiredisAllocFns.callocFn(nmemb, size); - } - -diff --git a/alloc.h b/alloc.h -index 34a05f4..771f9fe 100644 a/vendor/hiredis/alloc.h -+++ b/vendor/hiredis/alloc.h -@@ -32,6 +32,7 @@ - #define HIREDIS_ALLOC_H - - #include /* for size_t */ -+#include - - #ifdef __cplusplus - extern "C" { -@@ -59,6 +60,10 @@ static inline void *hi_malloc(size_t size) { - } - - static inline void *hi_calloc(size_t nmemb, size_t size) { -+/* Overflow check as the user can specify any arbitrary allocator */ -+if (SIZE_MAX / size < nmemb) -+return NULL; -+ - return hiredisAllocFns.callocFn(nmemb, size); - } - diff --git a/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch b/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch deleted file mode 100644 index 74f14cdc00b4.. --- a/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch +++ /dev/null @@ -1,14 +0,0 @@ hiredis-2.0.0/setup.py -+++ hiredis-2.0.0/setup.py -@@ -11,9 +11,8 @@ - return module.__version__ - - ext = Extension("hiredis.hiredis", -- sources=sorted(glob.glob("src/*.c") + -- ["vendor/hiredis/%s.c" % src for src in ("alloc", "read", "sds")]), -- include_dirs=["vendor"]) -+ sources=sorted(glob.glob("src/*.c")), -+ libraries=["hiredis"]) - - setup( - name="hiredis", diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild deleted file mode 100644 index 5e6e08f77029.. --- a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/redis/hiredis-py/"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" -IUSE="system-libs" - -DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-CVE-2021-32765.patch -) - -src_prepare() { - use system-libs && PATCHES+=( - "${FILESDIR}"/${P}-system-libs.patch - ) - sed -i -e 's:description-file:description_file:' setup.cfg || die - default -} - -python_test() { - cd test || die - "${EPYTHON}" -m unittest -v reader.ReaderTest || die "tests failed" -} diff --git a/dev-python/hiredis/metadata.xml b/dev-python/hiredis/metadata.xml index 260530157e29..3f8f3a47818f 100644 --- a/dev-python/hiredis/metadata.xml +++ b/dev-python/hiredis/metadata.xml @@ -13,7 +13,4 @@ hiredis redis/hiredis-py - -Use dev-libs/hiredis from system -
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: b3e3bd86f9df4158997569e5620c1f5ed960815b Author: Arthur Zamarin gentoo org> AuthorDate: Wed Apr 5 08:28:47 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Apr 5 08:28:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e3bd86 dev-python/hiredis: Stabilize 2.2.2-r1 arm, #903854 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.2.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild index 9c448dc1ffe6..08c9c7246286 100644 --- a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild +++ b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/redis/hiredis-py/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="" DEPEND=">=dev-libs/hiredis-1.0.0:="
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 1062c961db1347ae60eca7d825e7e576a28b230b Author: Jakov Smolić gentoo org> AuthorDate: Wed Apr 5 07:59:52 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Wed Apr 5 07:59:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1062c961 dev-python/hiredis: Stabilize 2.2.2-r1 x86, #903854 Signed-off-by: Jakov Smolić gentoo.org> dev-python/hiredis/hiredis-2.2.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild index 9f13c539e6fb..9c448dc1ffe6 100644 --- a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild +++ b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/redis/hiredis-py/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="" DEPEND=">=dev-libs/hiredis-1.0.0:="
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 8766e9d539fadf2c7f31434caf071e38a69ab2ca Author: Arthur Zamarin gentoo org> AuthorDate: Wed Apr 5 07:35:22 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Apr 5 07:35:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8766e9d5 dev-python/hiredis: Stabilize 2.2.2-r1 amd64, #903854 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.2.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild index f34e08af8092..9f13c539e6fb 100644 --- a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild +++ b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/redis/hiredis-py/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="" DEPEND=">=dev-libs/hiredis-1.0.0:="
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: eb8ff40ea2363efb778284374f088e9acacc23f6 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Apr 5 07:00:00 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Apr 5 07:00:00 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8ff40e dev-python/hiredis: Stabilize 2.2.2-r1 arm64, #903854 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.2.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild index 504ba13a0426..f34e08af8092 100644 --- a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild +++ b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/redis/hiredis-py/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="" DEPEND=">=dev-libs/hiredis-1.0.0:="
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 526097ca0a1ced87f2b74068985653f328151268 Author: Sven Wegener gentoo org> AuthorDate: Sun Mar 5 08:45:47 2023 + Commit: Sven Wegener gentoo org> CommitDate: Sun Mar 5 08:47:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526097ca dev-python/hiredis: always build against system hiredis Closes: https://bugs.gentoo.org/899654 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-2.2.2-r1.ebuild | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild index 73e4ec6b5e51..504ba13a0426 100644 --- a/dev-python/hiredis/hiredis-2.2.2-r1.ebuild +++ b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild @@ -15,21 +15,18 @@ SRC_URI="https://github.com/redis/hiredis-py/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="system-libs" +IUSE="" -DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )" +DEPEND=">=dev-libs/hiredis-1.0.0:=" RDEPEND="${DEPEND}" S="${WORKDIR}"/${PN}-py-${PV} -distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${P}-system-libs.patch +) -src_prepare() { - use system-libs && PATCHES+=( - "${FILESDIR}"/${P}-system-libs.patch - ) - default -} +distutils_enable_tests pytest python_test() { cd tests
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 7141f4af1cdfba37db29c65dddea3e9ee444d553 Author: Sven Wegener gentoo org> AuthorDate: Sat Mar 4 20:44:31 2023 + Commit: Sven Wegener gentoo org> CommitDate: Sat Mar 4 21:44:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7141f4af dev-python/hiredis: pep517, re-add tests Bug: https://bugs.gentoo.org/890385 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/Manifest | 2 +- .../{hiredis-2.2.2.ebuild => hiredis-2.2.2-r1.ebuild} | 13 - 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 66bc6690b936..bf1b5ba11125 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1,2 @@ DIST hiredis-2.0.0.tar.gz 75807 BLAKE2B dc7535f117c8ecfb2c924fe44a1cba2f02271c544588249de6794ce3aec27f66038ecb9f6364ca87b71f66ba13870a3be192eb79c1f360d2eb6dcb6dcae41caa SHA512 b9a313acdd00676dc046713a81bbf4336959f49f09bd2828997c23ca41259935047c657a4b6f81913715141a75fb6bbe7fc4429c7a5b0f4bc3d5de66b9cfa909 -DIST hiredis-2.2.2.tar.gz 84086 BLAKE2B f8a3b3baceb1b68d87202fe1fdd954d1e2a3320dab93acbe2d6f86a462ca18814c41416f84b8ba306a7c9af18560375e6523025c3b81f3c92e89620c68ed6a7e SHA512 abb6883af0d186f0ada10ebb2128cc31c8e84273b75de762097489b25a28ed4442bf33a9c088152843aadfcb4daaae6ff65a21cf0e5d8a07a60a7e3fac1ab855 +DIST hiredis-2.2.2.gh.tar.gz 18010 BLAKE2B 67ab7c3f0667d3cf33abea58fbe37bcc28beb569f6f3da966f191d00965faa5a835a286172179d6f33f4e0fa81743fa345829f04d9d89350ab1394cc0c168147 SHA512 8a42df63911000cd119da33e7fea25fa1a5244a86016818bcb6c6e12c042b12b00b7272633d85dcf921fd2eba67145e3258c64689be799a0f59766e541139120 diff --git a/dev-python/hiredis/hiredis-2.2.2.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild similarity index 68% rename from dev-python/hiredis/hiredis-2.2.2.ebuild rename to dev-python/hiredis/hiredis-2.2.2-r1.ebuild index c92b75861004..73e4ec6b5e51 100644 --- a/dev-python/hiredis/hiredis-2.2.2.ebuild +++ b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild @@ -3,12 +3,14 @@ EAPI=8 +DISTUTILS_USE_PEP517="setuptools" PYTHON_COMPAT=( python3_{9..11} pypy3 ) + inherit distutils-r1 DESCRIPTION="Python extension that wraps hiredis" HOMEPAGE="https://github.com/redis/hiredis-py/"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/redis/hiredis-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD" SLOT="0" @@ -18,9 +20,18 @@ IUSE="system-libs" DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )" RDEPEND="${DEPEND}" +S="${WORKDIR}"/${PN}-py-${PV} + +distutils_enable_tests pytest + src_prepare() { use system-libs && PATCHES+=( "${FILESDIR}"/${P}-system-libs.patch ) default } + +python_test() { + cd tests + epytest --import-mode=append +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/, dev-python/hiredis/files/
commit: 57260d87ba0d71318130f516a1b2c702d3df0dc0 Author: Sven Wegener gentoo org> AuthorDate: Fri Feb 24 20:35:05 2023 + Commit: Sven Wegener gentoo org> CommitDate: Fri Feb 24 20:39:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57260d87 dev-python/hiredis: add 2.2.2 Bug: https://bugs.gentoo.org/890385 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/Manifest| 1 + .../hiredis/files/hiredis-2.2.2-system-libs.patch | 53 ++ dev-python/hiredis/hiredis-2.2.2.ebuild| 26 +++ 3 files changed, 80 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index d7d0946290e8..66bc6690b936 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-2.0.0.tar.gz 75807 BLAKE2B dc7535f117c8ecfb2c924fe44a1cba2f02271c544588249de6794ce3aec27f66038ecb9f6364ca87b71f66ba13870a3be192eb79c1f360d2eb6dcb6dcae41caa SHA512 b9a313acdd00676dc046713a81bbf4336959f49f09bd2828997c23ca41259935047c657a4b6f81913715141a75fb6bbe7fc4429c7a5b0f4bc3d5de66b9cfa909 +DIST hiredis-2.2.2.tar.gz 84086 BLAKE2B f8a3b3baceb1b68d87202fe1fdd954d1e2a3320dab93acbe2d6f86a462ca18814c41416f84b8ba306a7c9af18560375e6523025c3b81f3c92e89620c68ed6a7e SHA512 abb6883af0d186f0ada10ebb2128cc31c8e84273b75de762097489b25a28ed4442bf33a9c088152843aadfcb4daaae6ff65a21cf0e5d8a07a60a7e3fac1ab855 diff --git a/dev-python/hiredis/files/hiredis-2.2.2-system-libs.patch b/dev-python/hiredis/files/hiredis-2.2.2-system-libs.patch new file mode 100644 index ..67f6a5650f66 --- /dev/null +++ b/dev-python/hiredis/files/hiredis-2.2.2-system-libs.patch @@ -0,0 +1,53 @@ +--- hiredis-2.2.2.orig/setup.py hiredis-2.2.2/setup.py +@@ -18,8 +18,7 @@ + + + def get_sources(): +-hiredis_sources = ("alloc", "async", "hiredis", "net", "read", "sds", "sockcompat") +-return sorted(glob.glob("src/*.c") + ["vendor/hiredis/%s.c" % src for src in hiredis_sources]) ++return sorted(glob.glob("src/*.c")) + + + def get_linker_args(): +@@ -38,17 +37,16 @@ + + def get_libraries(): + if 'win32' in sys.platform: +-return ["ws2_32", ] ++return ["ws2_32", "hiredis"] + else: +-return [] ++return ["hiredis"] + + + ext = Extension("hiredis.hiredis", + sources=get_sources(), + extra_compile_args=get_compiler_args(), + extra_link_args=get_linker_args(), +-libraries=get_libraries(), +-include_dirs=["vendor"]) ++libraries=get_libraries()) + + setup( + name="hiredis", +--- hiredis-2.2.2.orig/src/pack.c hiredis-2.2.2/src/pack.c +@@ -16,7 +16,7 @@ + extern sds sdsnewlen(const void *init, size_t initlen); + #endif + +-#include ++#include + + PyObject * + pack_command(PyObject *cmd) +@@ -32,7 +32,7 @@ + } + + Py_ssize_t tokens_number = PyTuple_Size(cmd); +-sds *tokens = s_malloc(sizeof(sds) * tokens_number); ++sds *tokens = sds_malloc(sizeof(sds) * tokens_number); + if (tokens == NULL) + { + return PyErr_NoMemory(); diff --git a/dev-python/hiredis/hiredis-2.2.2.ebuild b/dev-python/hiredis/hiredis-2.2.2.ebuild new file mode 100644 index ..c92b75861004 --- /dev/null +++ b/dev-python/hiredis/hiredis-2.2.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python extension that wraps hiredis" +HOMEPAGE="https://github.com/redis/hiredis-py/"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="system-libs" + +DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )" +RDEPEND="${DEPEND}" + +src_prepare() { + use system-libs && PATCHES+=( + "${FILESDIR}"/${P}-system-libs.patch + ) + default +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 67124d856839d6df25e4feaa8f9ced583ab556bd Author: Sven Wegener gentoo org> AuthorDate: Fri Feb 24 20:32:46 2023 + Commit: Sven Wegener gentoo org> CommitDate: Fri Feb 24 20:39:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67124d85 dev-python/hiredis: update EAPI 7 -> 8 Bug: https://bugs.gentoo.org/890385 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild index 6714e80ba795..5e6e08f77029 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{9..11} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 450a5b4c907c6ea90097d733ca3e92f53481f153 Author: Sam James gentoo org> AuthorDate: Tue May 31 10:16:33 2022 + Commit: Sam James gentoo org> CommitDate: Tue May 31 10:16:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450a5b4c dev-python/hiredis: enable py3.11 Signed-off-by: Sam James gentoo.org> dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild index 9d577aac4ee4..f20d2af1dcbb 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 DESCRIPTION="Python extension that wraps hiredis"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 6c5daf9c316c9c1fcc8af7be572c7746887cbbe3 Author: Jakov Smolić gentoo org> AuthorDate: Tue Mar 8 17:11:01 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Tue Mar 8 17:11:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5daf9c dev-python/hiredis: Keyword 2.0.0-r2 riscv, #834786 Signed-off-by: Jakov Smolić gentoo.org> dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild index 66eb5028d3cf..9d577aac4ee4 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 1576e1e7f8779c3d0211eefb554683f7144e0d37 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 2 13:53:57 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Dec 2 13:53:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1576e1e7 dev-python/hiredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-2.0.0-r1.ebuild | 32 -- 1 file changed, 32 deletions(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r1.ebuild b/dev-python/hiredis/hiredis-2.0.0-r1.ebuild deleted file mode 100644 index 02466dc119cc.. --- a/dev-python/hiredis/hiredis-2.0.0-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/redis/hiredis-py/"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" -IUSE="system-libs" - -DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )" -RDEPEND="${DEPEND}" - -src_prepare() { - use system-libs && PATCHES+=( - "${FILESDIR}"/${P}-system-libs.patch - ) - sed -i -e 's:description-file:description_file:' setup.cfg || die - default -} - -python_test() { - cd test || die - "${EPYTHON}" -m unittest -v reader.ReaderTest || die "tests failed" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: f2587e608be4f16115a02e24698e300cb26f5ab2 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Dec 2 13:08:09 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Dec 2 13:08:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2587e60 dev-python/hiredis: Stabilize 2.0.0-r2 arm, #827984 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild index 4b25e7a6a76a..66eb5028d3cf 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 12bff1a52a3bf5c8b01ec8f1e9f79b88cbf83e59 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Dec 2 13:04:04 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Dec 2 13:05:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12bff1a5 dev-python/hiredis: Stabilize 2.0.0-r2 amd64, #827984 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild index 7cbadaa539a6..ebb51e38c5be 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc ~x86" IUSE="system-libs" DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 9f6465cf001840bbcd1343f9ae06ad19071e000b Author: Arthur Zamarin gentoo org> AuthorDate: Thu Dec 2 13:04:06 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Dec 2 13:05:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f6465cf dev-python/hiredis: Stabilize 2.0.0-r2 x86, #827984 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild index ebb51e38c5be..4b25e7a6a76a 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 288afef686ccf68760d4e129433dfbf0300f3dfd Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Dec 2 09:13:51 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Dec 2 09:13:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=288afef6 dev-python/hiredis: arm64 stable wrt bug #827984 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="arm64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild index 48e177fb23f1..7cbadaa539a6 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~sparc ~x86" IUSE="system-libs" DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: e91d74b7b719efe61374ab1df66d1deb7559a193 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 19 08:35:46 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 19 08:37:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e91d74b7 dev-python/hiredis: Stabilize 2.0.0-r1 arm64, #813543 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.0.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r1.ebuild b/dev-python/hiredis/hiredis-2.0.0-r1.ebuild index 436b49e7f4a5..02466dc119cc 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r1.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 96949a63b573afb24ab3fbd102ff8eb90f39ecf6 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 19 07:57:14 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 19 07:57:59 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96949a63 dev-python/hiredis: Stabilize 2.0.0-r1 arm, #813543 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.0.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0-r1.ebuild b/dev-python/hiredis/hiredis-2.0.0-r1.ebuild index 877f27252d3f..436b49e7f4a5 100644 --- a/dev-python/hiredis/hiredis-2.0.0-r1.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/files/, dev-python/hiredis/
commit: a0e1a56eed02c79bc1a261e3d13c9fe0c4a728e8 Author: Sven Wegener gentoo org> AuthorDate: Sun Oct 31 12:34:29 2021 + Commit: Sven Wegener gentoo org> CommitDate: Sun Oct 31 15:48:23 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0e1a56e dev-python/hiredis: Revision bump for CVE-2021-32765 It includes a bundled copy of dev-libs/hiredis and is suffering the same security issue. URL: https://github.com/redis/hiredis/security/advisories/GHSA-hfm9-39pp-55p2 Bug: https://bugs.gentoo.org/816318 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Sven Wegener gentoo.org> .../files/hiredis-2.0.0-CVE-2021-32765.patch | 36 ++ dev-python/hiredis/hiredis-2.0.0-r2.ebuild | 36 ++ 2 files changed, 72 insertions(+) diff --git a/dev-python/hiredis/files/hiredis-2.0.0-CVE-2021-32765.patch b/dev-python/hiredis/files/hiredis-2.0.0-CVE-2021-32765.patch new file mode 100644 index 000..ad1bb80ac0d --- /dev/null +++ b/dev-python/hiredis/files/hiredis-2.0.0-CVE-2021-32765.patch @@ -0,0 +1,36 @@ +--- a/vendor/hiredis/alloc.c b/vendor/hiredis/alloc.c +@@ -68,6 +68,10 @@ void *hi_malloc(size_t size) { + } + + void *hi_calloc(size_t nmemb, size_t size) { ++/* Overflow check as the user can specify any arbitrary allocator */ ++if (SIZE_MAX / size < nmemb) ++return NULL; ++ + return hiredisAllocFns.callocFn(nmemb, size); + } + +diff --git a/alloc.h b/alloc.h +index 34a05f4..771f9fe 100644 +--- a/vendor/hiredis/alloc.h b/vendor/hiredis/alloc.h +@@ -32,6 +32,7 @@ + #define HIREDIS_ALLOC_H + + #include /* for size_t */ ++#include + + #ifdef __cplusplus + extern "C" { +@@ -59,6 +60,10 @@ static inline void *hi_malloc(size_t size) { + } + + static inline void *hi_calloc(size_t nmemb, size_t size) { ++/* Overflow check as the user can specify any arbitrary allocator */ ++if (SIZE_MAX / size < nmemb) ++return NULL; ++ + return hiredisAllocFns.callocFn(nmemb, size); + } + diff --git a/dev-python/hiredis/hiredis-2.0.0-r2.ebuild b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild new file mode 100644 index 000..48e177fb23f --- /dev/null +++ b/dev-python/hiredis/hiredis-2.0.0-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python extension that wraps hiredis" +HOMEPAGE="https://github.com/redis/hiredis-py/"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="system-libs" + +DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-CVE-2021-32765.patch +) + +src_prepare() { + use system-libs && PATCHES+=( + "${FILESDIR}"/${P}-system-libs.patch + ) + sed -i -e 's:description-file:description_file:' setup.cfg || die + default +} + +python_test() { + cd test || die + "${EPYTHON}" -m unittest -v reader.ReaderTest || die "tests failed" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 6e7e5226ffba0a7116fbdcbdf1a3de1b84a2162a Author: Sam James gentoo org> AuthorDate: Wed Oct 27 03:34:33 2021 + Commit: Sam James gentoo org> CommitDate: Wed Oct 27 03:35:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7e5226 dev-python/hiredis: revbump for dependency change We need a revbump otherwise there's no obligation for the PM to allow upgrading to a newer version with a different subslot (as has happened here, see 9f410c09b870adfd7307af838c85745a4bc468ea). Fixes: 39da55fa72e9a05275fde2a85ed307fcaee0d1b3 Signed-off-by: Sam James gentoo.org> dev-python/hiredis/{hiredis-2.0.0.ebuild => hiredis-2.0.0-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0-r1.ebuild similarity index 100% rename from dev-python/hiredis/hiredis-2.0.0.ebuild rename to dev-python/hiredis/hiredis-2.0.0-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 39da55fa72e9a05275fde2a85ed307fcaee0d1b3 Author: Sven Wegener gentoo org> AuthorDate: Tue Oct 26 20:56:23 2021 + Commit: Sven Wegener gentoo org> CommitDate: Tue Oct 26 21:33:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39da55fa dev-python/hiredis: Relax sub-slot dependency on dev-libs/hiredis Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index 671e9eb491d..877f27252d3 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" IUSE="system-libs" -DEPEND="system-libs? ( dev-libs/hiredis:0/1.0.0 )" +DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )" RDEPEND="${DEPEND}" src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 043c98f619f1f6809453b551b1c4c5c3f773403d Author: Sven Wegener gentoo org> AuthorDate: Mon Oct 11 10:26:56 2021 + Commit: Sven Wegener gentoo org> CommitDate: Mon Oct 11 18:19:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043c98f6 dev-python/hiredis: Fix setuptools warning, bug #798054 Link: https://github.com/redis/hiredis-py/pull/115 Closes: https://bugs.gentoo.org/798054 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-2.0.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index 99cccf890bf..671e9eb491d 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -22,6 +22,7 @@ src_prepare() { use system-libs && PATCHES+=( "${FILESDIR}"/${P}-system-libs.patch ) + sed -i -e 's:description-file:description_file:' setup.cfg || die default }
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 88a900ddb94992e27850891846a48f40c897eedd Author: Sam James gentoo org> AuthorDate: Tue Sep 7 18:56:24 2021 + Commit: Sam James gentoo org> CommitDate: Tue Sep 7 18:56:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a900dd dev-python/hiredis: Keyword 2.0.0 arm64, #808624 Signed-off-by: Sam James gentoo.org> dev-python/hiredis/hiredis-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index 0e9c62c647b..99cccf890bf 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( dev-libs/hiredis:0/1.0.0 )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 522c872c17783cd75d9625e733842a7d99d06823 Author: Sam James gentoo org> AuthorDate: Tue Sep 7 02:46:39 2021 + Commit: Sam James gentoo org> CommitDate: Tue Sep 7 02:46:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522c872c dev-python/hiredis: Keyword 2.0.0 ppc64, #808624 Signed-off-by: Sam James gentoo.org> dev-python/hiredis/hiredis-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index 2f87e213570..0e9c62c647b 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~sparc x86" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( dev-libs/hiredis:0/1.0.0 )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 51c542be282334273ee95a5a544e352bc33ddd18 Author: Sam James gentoo org> AuthorDate: Mon Sep 6 21:25:53 2021 + Commit: Sam James gentoo org> CommitDate: Mon Sep 6 21:25:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c542be dev-python/hiredis: Keyword 2.0.0 ppc, #808624 Signed-off-by: Sam James gentoo.org> dev-python/hiredis/hiredis-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index 50d8178a826..2f87e213570 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~sparc x86" +KEYWORDS="amd64 ~arm ~ppc ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( dev-libs/hiredis:0/1.0.0 )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: eb7f46b63c87f07946567c87f86b94bc89ddcdd5 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Aug 19 11:30:58 2021 + Commit: Sam James gentoo org> CommitDate: Thu Aug 19 11:38:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb7f46b6 dev-python/hiredis: keyworded 2.0.0 for sparc, bug #808624 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> dev-python/hiredis/hiredis-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index a55b79598ff..50d8178a826 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm x86" +KEYWORDS="amd64 ~arm ~sparc x86" IUSE="system-libs" DEPEND="system-libs? ( dev-libs/hiredis:0/1.0.0 )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: c7b7dc257e24932ab7757521114e31ec491b0649 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Aug 16 16:55:40 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Aug 16 19:07:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b7dc25 dev-python/hiredis: enable pypy3 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hiredis/hiredis-2.0.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index 20a1453d27c..a55b79598ff 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Python extension that wraps hiredis" @@ -27,5 +27,5 @@ src_prepare() { python_test() { cd test || die - "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" + "${EPYTHON}" -m unittest -v reader.ReaderTest || die "tests failed" }
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/files/, dev-python/hiredis/
commit: b2fc9e981903524fd3b02791128e11e2928b6a90 Author: Michał Górny gentoo org> AuthorDate: Thu Aug 5 14:47:31 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Aug 5 14:47:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2fc9e98 dev-python/hiredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest| 1 - .../hiredis/files/hiredis-1.0.1-api-0.14.patch | 32 -- .../hiredis/files/hiredis-1.0.1-system-libs.patch | 15 -- dev-python/hiredis/hiredis-1.1.0.ebuild| 32 -- 4 files changed, 80 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 5f1ab167b26..d7d0946290e 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1 @@ -DIST hiredis-1.1.0.tar.gz 54620 BLAKE2B 9991745d277e87efe836c1c8eabb2016ce401e2be52c7e1b3a154350776fae6fd3c49e3096da57231e42c57bf36ba692ce26bc993d0923b5246376d8694ad058 SHA512 ad37868376de91303c15ffe6109dc7fadb4f458efdd44b7ddc0a410937a389b8e062ab7d36b1aec3fe324ecafe6b1e5e6b92f547cbf619251dad22a28e02ee9c DIST hiredis-2.0.0.tar.gz 75807 BLAKE2B dc7535f117c8ecfb2c924fe44a1cba2f02271c544588249de6794ce3aec27f66038ecb9f6364ca87b71f66ba13870a3be192eb79c1f360d2eb6dcb6dcae41caa SHA512 b9a313acdd00676dc046713a81bbf4336959f49f09bd2828997c23ca41259935047c657a4b6f81913715141a75fb6bbe7fc4429c7a5b0f4bc3d5de66b9cfa909 diff --git a/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch b/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch deleted file mode 100644 index 16c42022828..000 --- a/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -Nur hiredis-1.0.1.orig/src/reader.c hiredis-1.0.1/src/reader.c hiredis-1.0.1.orig/src/reader.c2019-11-13 11:38:29.0 +0100 -+++ hiredis-1.0.1/src/reader.c 2020-04-01 13:15:19.852085240 +0200 -@@ -167,7 +167,7 @@ - static void Reader_dealloc(hiredis_ReaderObject *self) { - // we don't need to free self->encoding as the buffer is managed by Python - // https://docs.python.org/3/c-api/arg.html#strings-and-buffers --redisReplyReaderFree(self->reader); -+redisReaderFree(self->reader); - Py_XDECREF(self->protocolErrorClass); - Py_XDECREF(self->replyErrorClass); - -@@ -271,7 +271,7 @@ - goto error; - } - --redisReplyReaderFeed(self->reader, (char *)buf.buf + off, len); -+redisReaderFeed(self->reader, (char *)buf.buf + off, len); - PyBuffer_Release(&buf); - Py_RETURN_NONE; - -@@ -290,8 +290,8 @@ - return NULL; - } - --if (redisReplyReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { --errstr = redisReplyReaderGetError(self->reader); -+if (redisReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { -+errstr = redisReaderGetError(self->reader); - /* protocolErrorClass might be a callable. call it, then use it's type */ - err = createError(self->protocolErrorClass, errstr, strlen(errstr)); - if (err != NULL) { diff --git a/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch b/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch deleted file mode 100644 index c11d0baa563..000 --- a/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Nur hiredis-1.0.1.orig/setup.py hiredis-1.0.1/setup.py hiredis-1.0.1.orig/setup.py2019-11-13 11:38:29.0 +0100 -+++ hiredis-1.0.1/setup.py 2020-03-19 08:18:53.414214592 +0100 -@@ -11,9 +11,8 @@ - return module.__version__ - - ext = Extension("hiredis.hiredis", -- sources=sorted(glob.glob("src/*.c") + -- ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]), -- include_dirs=["vendor"]) -+ sources=sorted(glob.glob("src/*.c")), -+ libraries=["hiredis"]) - - setup( - name="hiredis", diff --git a/dev-python/hiredis/hiredis-1.1.0.ebuild b/dev-python/hiredis/hiredis-1.1.0.ebuild deleted file mode 100644 index 68ec424e3ae..000 --- a/dev-python/hiredis/hiredis-1.1.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/redis/hiredis-py/"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="system-libs" - -DEPEND="system-libs? ( dev-libs/hiredis:0/0.14 )" -RDEPEND="${DEPEND}" - -src_prepare() { - use system-libs && PATCHES+=( - "${FILESDIR}"/${PN}-1.0.1-system-libs.patch - "${FILESDIR}"/${PN}-1.0.1-api-0.14.patch - ) - default -} - -python_test() { - cd test || die - "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 205007fc99f23f0f7dfda82eaea5b3733b3e9290 Author: Sam James gentoo org> AuthorDate: Sun Aug 1 23:47:46 2021 + Commit: Sam James gentoo org> CommitDate: Sun Aug 1 23:47:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=205007fc dev-python/hiredis: Stabilize 2.0.0 amd64, #805398 Signed-off-by: Sam James gentoo.org> dev-python/hiredis/hiredis-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild index c2881e5aae3..6c6ac4117dd 100644 --- a/dev-python/hiredis/hiredis-2.0.0.ebuild +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm ~x86" IUSE="system-libs" DEPEND="system-libs? ( dev-libs/hiredis:0/1.0.0 )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/files/, dev-python/hiredis/
commit: bfa0b339d6094863dd89316d742775398880d483 Author: Sven Wegener gentoo org> AuthorDate: Sat Jun 26 21:41:08 2021 + Commit: Sven Wegener gentoo org> CommitDate: Sat Jun 26 21:41:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfa0b339 dev-python/hiredis: Version bump to 2.0.0 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/Manifest| 1 + .../hiredis/files/hiredis-2.0.0-system-libs.patch | 14 ++ dev-python/hiredis/hiredis-2.0.0.ebuild| 31 ++ 3 files changed, 46 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 3504fdc829a..5f1ab167b26 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-1.1.0.tar.gz 54620 BLAKE2B 9991745d277e87efe836c1c8eabb2016ce401e2be52c7e1b3a154350776fae6fd3c49e3096da57231e42c57bf36ba692ce26bc993d0923b5246376d8694ad058 SHA512 ad37868376de91303c15ffe6109dc7fadb4f458efdd44b7ddc0a410937a389b8e062ab7d36b1aec3fe324ecafe6b1e5e6b92f547cbf619251dad22a28e02ee9c +DIST hiredis-2.0.0.tar.gz 75807 BLAKE2B dc7535f117c8ecfb2c924fe44a1cba2f02271c544588249de6794ce3aec27f66038ecb9f6364ca87b71f66ba13870a3be192eb79c1f360d2eb6dcb6dcae41caa SHA512 b9a313acdd00676dc046713a81bbf4336959f49f09bd2828997c23ca41259935047c657a4b6f81913715141a75fb6bbe7fc4429c7a5b0f4bc3d5de66b9cfa909 diff --git a/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch b/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch new file mode 100644 index 000..74f14cdc00b --- /dev/null +++ b/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch @@ -0,0 +1,14 @@ +--- hiredis-2.0.0/setup.py hiredis-2.0.0/setup.py +@@ -11,9 +11,8 @@ + return module.__version__ + + ext = Extension("hiredis.hiredis", +- sources=sorted(glob.glob("src/*.c") + +- ["vendor/hiredis/%s.c" % src for src in ("alloc", "read", "sds")]), +- include_dirs=["vendor"]) ++ sources=sorted(glob.glob("src/*.c")), ++ libraries=["hiredis"]) + + setup( + name="hiredis", diff --git a/dev-python/hiredis/hiredis-2.0.0.ebuild b/dev-python/hiredis/hiredis-2.0.0.ebuild new file mode 100644 index 000..c2881e5aae3 --- /dev/null +++ b/dev-python/hiredis/hiredis-2.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python extension that wraps hiredis" +HOMEPAGE="https://github.com/redis/hiredis-py/"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="system-libs" + +DEPEND="system-libs? ( dev-libs/hiredis:0/1.0.0 )" +RDEPEND="${DEPEND}" + +src_prepare() { + use system-libs && PATCHES+=( + "${FILESDIR}"/${P}-system-libs.patch + ) + default +} + +python_test() { + cd test || die + "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 8e0a2974650d699f6a0fc58b4f82d4fa0c0813f3 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 5 13:48:49 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 5 13:51:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0a2974 dev-python/hiredis: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-1.1.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/hiredis-1.1.0.ebuild b/dev-python/hiredis/hiredis-1.1.0.ebuild index b0cf4177c16..68ec424e3ae 100644 --- a/dev-python/hiredis/hiredis-1.1.0.ebuild +++ b/dev-python/hiredis/hiredis-1.1.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 1592bcb3eefa4d99350b9ce517f6cf1a6a2815e8 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 20 20:28:59 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 20 20:34:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1592bcb3 dev-python/hiredis: Fix missing || die Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-1.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-1.1.0.ebuild b/dev-python/hiredis/hiredis-1.1.0.ebuild index 9fa9bf3c397..062ab4b7da6 100644 --- a/dev-python/hiredis/hiredis-1.1.0.ebuild +++ b/dev-python/hiredis/hiredis-1.1.0.ebuild @@ -27,6 +27,6 @@ src_prepare() { } python_test() { - cd test + cd test || die "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" }
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 2a22c67b08b03323561a88f80cbbba8a51bb5423 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 20 20:31:08 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 20 20:34:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a22c67b dev-python/hiredis: Update HOMEPAGE Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/hiredis-1.1.0.ebuild | 2 +- dev-python/hiredis/metadata.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/hiredis-1.1.0.ebuild b/dev-python/hiredis/hiredis-1.1.0.ebuild index d453700157d..9fa9bf3c397 100644 --- a/dev-python/hiredis/hiredis-1.1.0.ebuild +++ b/dev-python/hiredis/hiredis-1.1.0.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7,8,9} ) inherit distutils-r1 DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/pietern/hiredis-py"; +HOMEPAGE="https://github.com/redis/hiredis-py/"; SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" diff --git a/dev-python/hiredis/metadata.xml b/dev-python/hiredis/metadata.xml index 2bf5fbd7ca5..2d6830cbdf6 100644 --- a/dev-python/hiredis/metadata.xml +++ b/dev-python/hiredis/metadata.xml @@ -11,7 +11,7 @@ hiredis -pietern/hiredis-py +redis/hiredis-py Use dev-libs/hiredis from system
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: af453e9a5ae1c6c6ccf174c5dc35d361b02d1dc1 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 20 20:22:14 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 20 20:34:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af453e9a dev-python/hiredis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hiredis/Manifest| 1 - dev-python/hiredis/hiredis-1.0.1-r1.ebuild | 32 -- dev-python/hiredis/hiredis-1.0.1.ebuild| 29 --- 3 files changed, 62 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index d60dee5ddaf..3504fdc829a 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1 @@ -DIST hiredis-1.0.1.tar.gz 54460 BLAKE2B 90bdbd99f47b0765636dbeee9fc3cbb9c71fd7ba752a0d58ab9c2c9d2ee93bfc1a343465618d1127703ae09a4870d6691d7d5b52f59150849a448eae73c6a1d3 SHA512 8aa5e29b09f42826d746857d55b8042b40ffa3977386b0f8b2ea1b2ede0c28337f3df4bbd177192d8873570810bc9d0987f1f2b29f094f27adaa4aaf409c3a6b DIST hiredis-1.1.0.tar.gz 54620 BLAKE2B 9991745d277e87efe836c1c8eabb2016ce401e2be52c7e1b3a154350776fae6fd3c49e3096da57231e42c57bf36ba692ce26bc993d0923b5246376d8694ad058 SHA512 ad37868376de91303c15ffe6109dc7fadb4f458efdd44b7ddc0a410937a389b8e062ab7d36b1aec3fe324ecafe6b1e5e6b92f547cbf619251dad22a28e02ee9c diff --git a/dev-python/hiredis/hiredis-1.0.1-r1.ebuild b/dev-python/hiredis/hiredis-1.0.1-r1.ebuild deleted file mode 100644 index 8e84e217d31..000 --- a/dev-python/hiredis/hiredis-1.0.1-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/pietern/hiredis-py"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="system-libs" - -DEPEND="system-libs? ( dev-libs/hiredis:0/0.14 )" -RDEPEND="${DEPEND}" - -src_prepare() { - use system-libs && PATCHES+=( - "${FILESDIR}"/${P}-system-libs.patch - "${FILESDIR}"/${P}-api-0.14.patch - ) - default -} - -python_test() { - cd test - "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" -} diff --git a/dev-python/hiredis/hiredis-1.0.1.ebuild b/dev-python/hiredis/hiredis-1.0.1.ebuild deleted file mode 100644 index bde16f81915..000 --- a/dev-python/hiredis/hiredis-1.0.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/pietern/hiredis-py"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="" - -DEPEND="dev-libs/hiredis:0/0.14" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-system-libs.patch - "${FILESDIR}"/${P}-api-0.14.patch -) - -python_test() { - cd test - "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 3a3faa72f008f657ba9d371ae39c9b5c92ab4dc0 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Dec 20 18:54:01 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Dec 20 19:06:47 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a3faa72 dev-python/hiredis: x86 stable (bug #760183) Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> dev-python/hiredis/hiredis-1.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-1.1.0.ebuild b/dev-python/hiredis/hiredis-1.1.0.ebuild index 85eea435422..d453700157d 100644 --- a/dev-python/hiredis/hiredis-1.1.0.ebuild +++ b/dev-python/hiredis/hiredis-1.1.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm x86" IUSE="system-libs" DEPEND="system-libs? ( dev-libs/hiredis:0/0.14 )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: c7b8ba0b3e28a5b3b8a81780c6c2a4c0ca3d3c62 Author: Sven Wegener gentoo org> AuthorDate: Sun Nov 15 14:19:38 2020 + Commit: Sven Wegener gentoo org> CommitDate: Sun Nov 15 14:28:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b8ba0b dev-python/hiredis: Add system-libs USE flag to new version Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-1.1.0.ebuild | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/hiredis-1.1.0.ebuild b/dev-python/hiredis/hiredis-1.1.0.ebuild index 90148fb3b82..a909b3a56dd 100644 --- a/dev-python/hiredis/hiredis-1.1.0.ebuild +++ b/dev-python/hiredis/hiredis-1.1.0.ebuild @@ -13,11 +13,19 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="" +IUSE="system-libs" -DEPEND="" +DEPEND="system-libs? ( dev-libs/hiredis:0/0.14 )" RDEPEND="${DEPEND}" +src_prepare() { + use system-libs && PATCHES+=( + "${FILESDIR}"/${PN}-1.0.1-system-libs.patch + "${FILESDIR}"/${PN}-1.0.1-api-0.14.patch + ) + default +} + python_test() { cd test "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: c5be2be5c30115016bd7be8abf5d20c0aa728b96 Author: Sven Wegener gentoo org> AuthorDate: Sun Nov 15 08:50:58 2020 + Commit: Sven Wegener gentoo org> CommitDate: Sun Nov 15 08:54:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5be2be5 dev-python/hiredis: Add support for python 3.9 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-1.0.1.ebuild b/dev-python/hiredis/hiredis-1.0.1.ebuild index 34d712deb6d..e8c0c649aa0 100644 --- a/dev-python/hiredis/hiredis-1.0.1.ebuild +++ b/dev-python/hiredis/hiredis-1.0.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 1d05736bc089fa7cc87ecb34a596a9181a3daee4 Author: Sven Wegener gentoo org> AuthorDate: Sun Nov 15 08:52:48 2020 + Commit: Sven Wegener gentoo org> CommitDate: Sun Nov 15 08:54:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d05736b dev-python/hiredis: Version bump Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/Manifest | 1 + dev-python/hiredis/hiredis-1.1.0.ebuild | 24 2 files changed, 25 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 6803a04b864..d60dee5ddaf 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-1.0.1.tar.gz 54460 BLAKE2B 90bdbd99f47b0765636dbeee9fc3cbb9c71fd7ba752a0d58ab9c2c9d2ee93bfc1a343465618d1127703ae09a4870d6691d7d5b52f59150849a448eae73c6a1d3 SHA512 8aa5e29b09f42826d746857d55b8042b40ffa3977386b0f8b2ea1b2ede0c28337f3df4bbd177192d8873570810bc9d0987f1f2b29f094f27adaa4aaf409c3a6b +DIST hiredis-1.1.0.tar.gz 54620 BLAKE2B 9991745d277e87efe836c1c8eabb2016ce401e2be52c7e1b3a154350776fae6fd3c49e3096da57231e42c57bf36ba692ce26bc993d0923b5246376d8694ad058 SHA512 ad37868376de91303c15ffe6109dc7fadb4f458efdd44b7ddc0a410937a389b8e062ab7d36b1aec3fe324ecafe6b1e5e6b92f547cbf619251dad22a28e02ee9c diff --git a/dev-python/hiredis/hiredis-1.1.0.ebuild b/dev-python/hiredis/hiredis-1.1.0.ebuild new file mode 100644 index 000..90148fb3b82 --- /dev/null +++ b/dev-python/hiredis/hiredis-1.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Python extension that wraps hiredis" +HOMEPAGE="https://github.com/pietern/hiredis-py"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +python_test() { + cd test + "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 765be801cbaec7de9945784096865d1c98826149 Author: Sven Wegener gentoo org> AuthorDate: Sun Nov 15 08:51:52 2020 + Commit: Sven Wegener gentoo org> CommitDate: Sun Nov 15 08:54:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=765be801 dev-python/hiredis: Restrict dev-libs/hiredis dependency In its current form, it's only compatible to the 0.14 interface. Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-1.0.1.ebuild b/dev-python/hiredis/hiredis-1.0.1.ebuild index e8c0c649aa0..bde16f81915 100644 --- a/dev-python/hiredis/hiredis-1.0.1.ebuild +++ b/dev-python/hiredis/hiredis-1.0.1.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="amd64 ~arm x86" IUSE="" -DEPEND=">=dev-libs/hiredis-0.14:=" +DEPEND="dev-libs/hiredis:0/0.14" RDEPEND="${DEPEND}" PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 5cce36994098f18dbca61ffc6e96817941549256 Author: Sven Wegener gentoo org> AuthorDate: Sun Nov 15 08:52:44 2020 + Commit: Sven Wegener gentoo org> CommitDate: Sun Nov 15 08:54:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cce3699 dev-python/hiredis: Revision bump for system-libs USE flag Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-1.0.1-r1.ebuild | 32 ++ dev-python/hiredis/metadata.xml| 3 +++ 2 files changed, 35 insertions(+) diff --git a/dev-python/hiredis/hiredis-1.0.1-r1.ebuild b/dev-python/hiredis/hiredis-1.0.1-r1.ebuild new file mode 100644 index 000..8e84e217d31 --- /dev/null +++ b/dev-python/hiredis/hiredis-1.0.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Python extension that wraps hiredis" +HOMEPAGE="https://github.com/pietern/hiredis-py"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="system-libs" + +DEPEND="system-libs? ( dev-libs/hiredis:0/0.14 )" +RDEPEND="${DEPEND}" + +src_prepare() { + use system-libs && PATCHES+=( + "${FILESDIR}"/${P}-system-libs.patch + "${FILESDIR}"/${P}-api-0.14.patch + ) + default +} + +python_test() { + cd test + "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" +} diff --git a/dev-python/hiredis/metadata.xml b/dev-python/hiredis/metadata.xml index d5da8f0733c..2bf5fbd7ca5 100644 --- a/dev-python/hiredis/metadata.xml +++ b/dev-python/hiredis/metadata.xml @@ -13,4 +13,7 @@ hiredis pietern/hiredis-py + +Use dev-libs/hiredis from system +
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/files/
commit: 2faeb749e92da02b2bb0d93b1ab0ea051863517b Author: Michael Mair-Keimberger gmail com> AuthorDate: Tue May 19 19:20:08 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Tue Jun 2 04:27:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2faeb749 dev-python/hiredis: remove unused patches Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Aaron Bauman gentoo.org> .../hiredis/files/hiredis-0.2.0-api-0.14.patch | 32 -- .../files/hiredis-0.2.0-r1-system-libs.patch | 26 -- 2 files changed, 58 deletions(-) diff --git a/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch b/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch deleted file mode 100644 index c957ad7aa29..000 --- a/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -Nur hiredis-0.2.0.orig/src/reader.c hiredis-0.2.0/src/reader.c hiredis-0.2.0.orig/src/reader.c2015-04-02 23:49:10.0 +0200 -+++ hiredis-0.2.0/src/reader.c 2020-04-01 13:26:50.504058251 +0200 -@@ -157,7 +157,7 @@ - }; - - static void Reader_dealloc(hiredis_ReaderObject *self) { --redisReplyReaderFree(self->reader); -+redisReaderFree(self->reader); - if (self->encoding) - free(self->encoding); - Py_XDECREF(self->protocolErrorClass); -@@ -267,7 +267,7 @@ - goto error; - } - --redisReplyReaderFeed(self->reader, (char *)buf.buf + off, len); -+redisReaderFeed(self->reader, (char *)buf.buf + off, len); - PyBuffer_Release(&buf); - Py_RETURN_NONE; - -@@ -281,8 +281,8 @@ - PyObject *err; - char *errstr; - --if (redisReplyReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { --errstr = redisReplyReaderGetError(self->reader); -+if (redisReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { -+errstr = redisReaderGetError(self->reader); - /* protocolErrorClass might be a callable. call it, then use it's type */ - err = createError(self->protocolErrorClass, errstr, strlen(errstr)); - obj = PyObject_Type(err); diff --git a/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch b/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch deleted file mode 100644 index 19d4bd8598f..000 --- a/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -ur hiredis-0.2.0.orig/setup.py hiredis-0.2.0/setup.py hiredis-0.2.0.orig/setup.py2015-04-03 16:08:45.0 +0200 -+++ hiredis-0.2.0/setup.py 2018-04-22 16:57:15.966520939 +0200 -@@ -40,12 +40,11 @@ - # supported Python versions is worse... - # - # Also see: https://github.com/pietern/hiredis-py/issues/15 --lib = ("hiredis_for_hiredis_py", { -- "sources": ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]}) - - ext = Extension("hiredis.hiredis", - sources=glob.glob("src/*.c"), -- include_dirs=["vendor"]) -+ libraries=["hiredis"], -+) - - setup( - name="hiredis", -@@ -57,7 +56,6 @@ - keywords=["Redis"], - license="BSD", - packages=["hiredis"], -- libraries=[lib], - ext_modules=[ext], - - # Override "install_lib" command
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: f3788a05fd0546f146883b1fc021b43616d13b03 Author: Sven Wegener gentoo org> AuthorDate: Sat May 2 19:51:43 2020 + Commit: Sven Wegener gentoo org> CommitDate: Sat May 2 20:18:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3788a05 dev-python/hiredis: Stable 1.0.1 on amd/x86 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-1.0.1.ebuild b/dev-python/hiredis/hiredis-1.0.1.ebuild index 1e14c85fa39..34d712deb6d 100644 --- a/dev-python/hiredis/hiredis-1.0.1.ebuild +++ b/dev-python/hiredis/hiredis-1.0.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm x86" IUSE="" DEPEND=">=dev-libs/hiredis-0.14:="
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: aff69cedad882ac9906141f2f63d7d9f3525 Author: Sam James (sam_c) cmpct info> AuthorDate: Sat Apr 11 05:17:08 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 12 06:29:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff6 dev-python/hiredis: drop to ~arch, cleanup Needed to clean up vulnerable dev-libs/hiredis. No reverse dependencies. Bug: https://bugs.gentoo.org/710734 Acked-by: Michał Górny gentoo.org> Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Joonas Niilola gentoo.org> dev-python/hiredis/Manifest| 1 - dev-python/hiredis/hiredis-0.2.0-r1.ebuild | 21 - dev-python/hiredis/hiredis-0.2.0-r3.ebuild | 24 3 files changed, 46 deletions(-) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index a24f01ae4f0..6803a04b864 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1 @@ -DIST hiredis-0.2.0.tar.gz 46113 BLAKE2B bb0479f99f5f705488846ff5e7b52d6e8a5c34519936aa747027e8a597271d3ba70efc2455f54c24248091a4477ac2a307cad7d89a03c96cb7d331e6b6e82a30 SHA512 9eb18ec089517340043d14938a213b139dc948dc9cf2f9c65e632bb4694ac22543b87a5875c1cea083e2bc8e303103c749047889cdb3e9d5680b586d34330c86 DIST hiredis-1.0.1.tar.gz 54460 BLAKE2B 90bdbd99f47b0765636dbeee9fc3cbb9c71fd7ba752a0d58ab9c2c9d2ee93bfc1a343465618d1127703ae09a4870d6691d7d5b52f59150849a448eae73c6a1d3 SHA512 8aa5e29b09f42826d746857d55b8042b40ffa3977386b0f8b2ea1b2ede0c28337f3df4bbd177192d8873570810bc9d0987f1f2b29f094f27adaa4aaf409c3a6b diff --git a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild deleted file mode 100644 index 811fc2e54e9..000 --- a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/pietern/hiredis-py"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm x86" -IUSE="" - -DEPEND=">=dev-libs/hiredis-0.13.1:0/0.13" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${P}-r1-system-libs.patch ) diff --git a/dev-python/hiredis/hiredis-0.2.0-r3.ebuild b/dev-python/hiredis/hiredis-0.2.0-r3.ebuild deleted file mode 100644 index c6aca79094e..000 --- a/dev-python/hiredis/hiredis-0.2.0-r3.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/pietern/hiredis-py"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -DEPEND=">=dev-libs/hiredis-0.14:=" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-r1-system-libs.patch - "${FILESDIR}"/${P}-api-0.14.patch -)
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: d860cc01a9fb0585f6a1ae70147bba2a06ff92a7 Author: Sven Wegener gentoo org> AuthorDate: Wed Apr 1 21:33:44 2020 + Commit: Sven Wegener gentoo org> CommitDate: Wed Apr 1 21:35:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d860cc01 dev-python/hiredis: Add python_test() Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-1.0.1.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/dev-python/hiredis/hiredis-1.0.1.ebuild b/dev-python/hiredis/hiredis-1.0.1.ebuild index bc7739eaeec..1e14c85fa39 100644 --- a/dev-python/hiredis/hiredis-1.0.1.ebuild +++ b/dev-python/hiredis/hiredis-1.0.1.ebuild @@ -22,3 +22,8 @@ PATCHES=( "${FILESDIR}"/${P}-system-libs.patch "${FILESDIR}"/${P}-api-0.14.patch ) + +python_test() { + cd test + "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/, dev-python/hiredis/files/
commit: 21cb847419eda46b9ed7d040ea224ff58a0b922f Author: Sven Wegener gentoo org> AuthorDate: Wed Apr 1 11:30:58 2020 + Commit: Sven Wegener gentoo org> CommitDate: Wed Apr 1 11:37:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21cb8474 dev-python/hiredis: Revision bump for new dev-libs/hiredis API Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sven Wegener gentoo.org> .../hiredis/files/hiredis-0.2.0-api-0.14.patch | 32 ++ ...dis-0.2.0-r2.ebuild => hiredis-0.2.0-r3.ebuild} | 7 +++-- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch b/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch new file mode 100644 index 000..c957ad7aa29 --- /dev/null +++ b/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch @@ -0,0 +1,32 @@ +diff -Nur hiredis-0.2.0.orig/src/reader.c hiredis-0.2.0/src/reader.c +--- hiredis-0.2.0.orig/src/reader.c2015-04-02 23:49:10.0 +0200 hiredis-0.2.0/src/reader.c 2020-04-01 13:26:50.504058251 +0200 +@@ -157,7 +157,7 @@ + }; + + static void Reader_dealloc(hiredis_ReaderObject *self) { +-redisReplyReaderFree(self->reader); ++redisReaderFree(self->reader); + if (self->encoding) + free(self->encoding); + Py_XDECREF(self->protocolErrorClass); +@@ -267,7 +267,7 @@ + goto error; + } + +-redisReplyReaderFeed(self->reader, (char *)buf.buf + off, len); ++redisReaderFeed(self->reader, (char *)buf.buf + off, len); + PyBuffer_Release(&buf); + Py_RETURN_NONE; + +@@ -281,8 +281,8 @@ + PyObject *err; + char *errstr; + +-if (redisReplyReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { +-errstr = redisReplyReaderGetError(self->reader); ++if (redisReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { ++errstr = redisReaderGetError(self->reader); + /* protocolErrorClass might be a callable. call it, then use it's type */ + err = createError(self->protocolErrorClass, errstr, strlen(errstr)); + obj = PyObject_Type(err); diff --git a/dev-python/hiredis/hiredis-0.2.0-r2.ebuild b/dev-python/hiredis/hiredis-0.2.0-r3.ebuild similarity index 76% rename from dev-python/hiredis/hiredis-0.2.0-r2.ebuild rename to dev-python/hiredis/hiredis-0.2.0-r3.ebuild index e5ca7fa47cf..c6aca79094e 100644 --- a/dev-python/hiredis/hiredis-0.2.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0-r3.ebuild @@ -15,7 +15,10 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="" -DEPEND=">=dev-libs/hiredis-0.13.1:=" +DEPEND=">=dev-libs/hiredis-0.14:=" RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}"/${P}-r1-system-libs.patch ) +PATCHES=( + "${FILESDIR}"/${P}-r1-system-libs.patch + "${FILESDIR}"/${P}-api-0.14.patch +)
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 8b992721a33fb04a1846e0271501c807bf0f6e82 Author: Sven Wegener gentoo org> AuthorDate: Wed Apr 1 11:21:18 2020 + Commit: Sven Wegener gentoo org> CommitDate: Wed Apr 1 11:37:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b992721 dev-python/hiredis: Pin 0.2.0-r1 to old dev-libs/hiredis Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-0.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild index 7ec1a606d57..811fc2e54e9 100644 --- a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="amd64 arm x86" IUSE="" -DEPEND=">=dev-libs/hiredis-0.13.1:=" +DEPEND=">=dev-libs/hiredis-0.13.1:0/0.13" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-r1-system-libs.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/, dev-python/hiredis/files/
commit: 9a759f9a58b3b42fd0939bb4070f61a003eb2b0b Author: Sven Wegener gentoo org> AuthorDate: Wed Apr 1 11:36:03 2020 + Commit: Sven Wegener gentoo org> CommitDate: Wed Apr 1 11:37:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a759f9a dev-python/hiredis: Version bump Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/Manifest| 1 + .../hiredis/files/hiredis-1.0.1-api-0.14.patch | 32 ++ .../hiredis/files/hiredis-1.0.1-system-libs.patch | 15 ++ dev-python/hiredis/hiredis-1.0.1.ebuild| 24 4 files changed, 72 insertions(+) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index 03eb100b294..a24f01ae4f0 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-0.2.0.tar.gz 46113 BLAKE2B bb0479f99f5f705488846ff5e7b52d6e8a5c34519936aa747027e8a597271d3ba70efc2455f54c24248091a4477ac2a307cad7d89a03c96cb7d331e6b6e82a30 SHA512 9eb18ec089517340043d14938a213b139dc948dc9cf2f9c65e632bb4694ac22543b87a5875c1cea083e2bc8e303103c749047889cdb3e9d5680b586d34330c86 +DIST hiredis-1.0.1.tar.gz 54460 BLAKE2B 90bdbd99f47b0765636dbeee9fc3cbb9c71fd7ba752a0d58ab9c2c9d2ee93bfc1a343465618d1127703ae09a4870d6691d7d5b52f59150849a448eae73c6a1d3 SHA512 8aa5e29b09f42826d746857d55b8042b40ffa3977386b0f8b2ea1b2ede0c28337f3df4bbd177192d8873570810bc9d0987f1f2b29f094f27adaa4aaf409c3a6b diff --git a/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch b/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch new file mode 100644 index 000..16c42022828 --- /dev/null +++ b/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch @@ -0,0 +1,32 @@ +diff -Nur hiredis-1.0.1.orig/src/reader.c hiredis-1.0.1/src/reader.c +--- hiredis-1.0.1.orig/src/reader.c2019-11-13 11:38:29.0 +0100 hiredis-1.0.1/src/reader.c 2020-04-01 13:15:19.852085240 +0200 +@@ -167,7 +167,7 @@ + static void Reader_dealloc(hiredis_ReaderObject *self) { + // we don't need to free self->encoding as the buffer is managed by Python + // https://docs.python.org/3/c-api/arg.html#strings-and-buffers +-redisReplyReaderFree(self->reader); ++redisReaderFree(self->reader); + Py_XDECREF(self->protocolErrorClass); + Py_XDECREF(self->replyErrorClass); + +@@ -271,7 +271,7 @@ + goto error; + } + +-redisReplyReaderFeed(self->reader, (char *)buf.buf + off, len); ++redisReaderFeed(self->reader, (char *)buf.buf + off, len); + PyBuffer_Release(&buf); + Py_RETURN_NONE; + +@@ -290,8 +290,8 @@ + return NULL; + } + +-if (redisReplyReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { +-errstr = redisReplyReaderGetError(self->reader); ++if (redisReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { ++errstr = redisReaderGetError(self->reader); + /* protocolErrorClass might be a callable. call it, then use it's type */ + err = createError(self->protocolErrorClass, errstr, strlen(errstr)); + if (err != NULL) { diff --git a/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch b/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch new file mode 100644 index 000..c11d0baa563 --- /dev/null +++ b/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch @@ -0,0 +1,15 @@ +diff -Nur hiredis-1.0.1.orig/setup.py hiredis-1.0.1/setup.py +--- hiredis-1.0.1.orig/setup.py2019-11-13 11:38:29.0 +0100 hiredis-1.0.1/setup.py 2020-03-19 08:18:53.414214592 +0100 +@@ -11,9 +11,8 @@ + return module.__version__ + + ext = Extension("hiredis.hiredis", +- sources=sorted(glob.glob("src/*.c") + +- ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]), +- include_dirs=["vendor"]) ++ sources=sorted(glob.glob("src/*.c")), ++ libraries=["hiredis"]) + + setup( + name="hiredis", diff --git a/dev-python/hiredis/hiredis-1.0.1.ebuild b/dev-python/hiredis/hiredis-1.0.1.ebuild new file mode 100644 index 000..bc7739eaeec --- /dev/null +++ b/dev-python/hiredis/hiredis-1.0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python extension that wraps hiredis" +HOMEPAGE="https://github.com/pietern/hiredis-py"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND=">=dev-libs/hiredis-0.14:=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-system-libs.patch + "${FILESDIR}"/${P}-api-0.14.patch +)
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 1708e9d77e76b36c82f271bd1b03ff1c72b263a0 Author: Sven Wegener gentoo org> AuthorDate: Sat Mar 21 21:30:24 2020 + Commit: Sven Wegener gentoo org> CommitDate: Sat Mar 21 21:31:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1708e9d7 dev-python/hiredis: Add sub-slot dep on dev-libs/hiredis Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sven Wegener gentoo.org> dev-python/hiredis/hiredis-0.2.0-r1.ebuild | 2 +- dev-python/hiredis/hiredis-0.2.0-r2.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild index b3bde25c0dd..7ec1a606d57 100644 --- a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="amd64 arm x86" IUSE="" -DEPEND=">=dev-libs/hiredis-0.13.1" +DEPEND=">=dev-libs/hiredis-0.13.1:=" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-r1-system-libs.patch ) diff --git a/dev-python/hiredis/hiredis-0.2.0-r2.ebuild b/dev-python/hiredis/hiredis-0.2.0-r2.ebuild index 3ed30be879f..e5ca7fa47cf 100644 --- a/dev-python/hiredis/hiredis-0.2.0-r2.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0-r2.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="" -DEPEND=">=dev-libs/hiredis-0.13.1" +DEPEND=">=dev-libs/hiredis-0.13.1:=" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-r1-system-libs.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/files/
commit: 406d8e2a35a66a18173928b6e18eaf22ad4d41e9 Author: Michael Mair-Keimberger gmail com> AuthorDate: Tue Jun 4 21:46:31 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Tue Jun 18 00:34:56 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406d8e2a dev-python/hiredis: remove unused patch Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12193 Signed-off-by: Aaron Bauman gentoo.org> .../hiredis/files/hiredis-0.2.0-system-libs.patch | 28 -- 1 file changed, 28 deletions(-) diff --git a/dev-python/hiredis/files/hiredis-0.2.0-system-libs.patch b/dev-python/hiredis/files/hiredis-0.2.0-system-libs.patch deleted file mode 100644 index 6cd22292deb..000 --- a/dev-python/hiredis/files/hiredis-0.2.0-system-libs.patch +++ /dev/null @@ -1,28 +0,0 @@ -Remove vendor and var 'lib' from setup.py -diff -u hiredis-0.2.0.orig/setup.py hiredis-0.2.0/setup.py setup.py 2015-06-21 11:47:28.796472027 +0800 -+++ setup.py 2015-06-21 11:49:53.047949803 +0800 -@@ -40,12 +40,9 @@ - # supported Python versions is worse... - # - # Also see: https://github.com/pietern/hiredis-py/issues/15 --lib = ("hiredis_for_hiredis_py", { -- "sources": ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]}) - - ext = Extension("hiredis.hiredis", -- sources=glob.glob("src/*.c"), -- include_dirs=["vendor"]) -+ sources=glob.glob("src/*.c")) - - setup( - name="hiredis", -@@ -57,7 +54,6 @@ - keywords=["Redis"], - license="BSD", - packages=["hiredis"], -- libraries=[lib], - ext_modules=[ext], - - # Override "install_lib" command -Common subdirectories: hiredis-0.2.0.orig/src and hiredis-0.2.0/src -Common subdirectories: hiredis-0.2.0.orig/vendor and hiredis-0.2.0/vendor
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 0425e183f192146799760b99f6ab400901243110 Author: Michael Mair-Keimberger gmail com> AuthorDate: Thu May 16 19:11:57 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Fri May 31 00:56:05 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0425e183 dev-python/hiredis: drop old Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Aaron Bauman gentoo.org> dev-python/hiredis/hiredis-0.2.0.ebuild | 28 1 file changed, 28 deletions(-) diff --git a/dev-python/hiredis/hiredis-0.2.0.ebuild b/dev-python/hiredis/hiredis-0.2.0.ebuild deleted file mode 100644 index b403546673c..000 --- a/dev-python/hiredis/hiredis-0.2.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_5} ) - -inherit distutils-r1 - -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE="https://github.com/pietern/hiredis-py"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm x86" -IUSE="" - -DEPEND=">=dev-libs/hiredis-0.13.1" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${P}-system-libs.patch ) - -python_compile() { - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - - distutils-r1_python_compile -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 91fdbaa7447ee86188b726e112972614f6d0c5d6 Author: Mikle Kolyada gentoo org> AuthorDate: Tue Jun 26 16:18:00 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Jun 26 16:18:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91fdbaa7 dev-python/hiredis: arm stable wrt bug #653790 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/hiredis/hiredis-0.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild index 25c44ac907b..31b8b4da87a 100644 --- a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm x86" +KEYWORDS="amd64 arm x86" IUSE="" DEPEND=">=dev-libs/hiredis-0.13.1"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 2c33ede6237bdffc98157d27afb6360c659d187d Author: Aaron Bauman gentoo org> AuthorDate: Tue Jun 26 01:36:49 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Tue Jun 26 02:04:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c33ede6 dev-python/hiredis: amd64 stable Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/hiredis/hiredis-0.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild index 258a5526932..25c44ac907b 100644 --- a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm x86" +KEYWORDS="amd64 ~arm x86" IUSE="" DEPEND=">=dev-libs/hiredis-0.13.1"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/files/, dev-python/hiredis/
commit: 64b64fac141a31ed4dabc2790c495f2197393214 Author: Pacho Ramos gentoo org> AuthorDate: Sun Jun 24 13:12:16 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jun 24 13:14:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b64fac dev-python/hiredis: Fix linking (#653790 by Ștefan Talpalaru) Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../files/hiredis-0.2.0-r1-system-libs.patch | 26 + dev-python/hiredis/hiredis-0.2.0-r1.ebuild | 27 ++ 2 files changed, 53 insertions(+) diff --git a/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch b/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch new file mode 100644 index 000..19d4bd8598f --- /dev/null +++ b/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch @@ -0,0 +1,26 @@ +diff -ur hiredis-0.2.0.orig/setup.py hiredis-0.2.0/setup.py +--- hiredis-0.2.0.orig/setup.py2015-04-03 16:08:45.0 +0200 hiredis-0.2.0/setup.py 2018-04-22 16:57:15.966520939 +0200 +@@ -40,12 +40,11 @@ + # supported Python versions is worse... + # + # Also see: https://github.com/pietern/hiredis-py/issues/15 +-lib = ("hiredis_for_hiredis_py", { +- "sources": ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]}) + + ext = Extension("hiredis.hiredis", + sources=glob.glob("src/*.c"), +- include_dirs=["vendor"]) ++ libraries=["hiredis"], ++) + + setup( + name="hiredis", +@@ -57,7 +56,6 @@ + keywords=["Redis"], + license="BSD", + packages=["hiredis"], +- libraries=[lib], + ext_modules=[ext], + + # Override "install_lib" command diff --git a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild new file mode 100644 index 000..c3bd6074380 --- /dev/null +++ b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Python extension that wraps hiredis" +HOMEPAGE="https://github.com/pietern/hiredis-py"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND=">=dev-libs/hiredis-0.13.1" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-r1-system-libs.patch ) + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + + distutils-r1_python_compile +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: fd354f391b023c8098dbe9342b97117ca6b129f7 Author: Markus Meier gentoo org> AuthorDate: Tue Feb 28 20:13:54 2017 + Commit: Markus Meier gentoo org> CommitDate: Tue Feb 28 20:13:54 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd354f39 dev-python/hiredis: arm stable, bug #606152 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="arm" dev-python/hiredis/hiredis-0.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-0.2.0.ebuild b/dev-python/hiredis/hiredis-0.2.0.ebuild index 8ea699b52d4..f95394376f3 100644 --- a/dev-python/hiredis/hiredis-0.2.0.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm x86" +KEYWORDS="amd64 arm x86" IUSE="" DEPEND=">=dev-libs/hiredis-0.13.1"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 02a703badf7125eb887bcf1a3494bc37e9e0580f Author: Markus Meier gentoo org> AuthorDate: Sat Feb 25 14:19:45 2017 + Commit: Markus Meier gentoo org> CommitDate: Sat Feb 25 14:19:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a703ba dev-python/hiredis: add ~arm Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="arm" dev-python/hiredis/hiredis-0.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-0.2.0.ebuild b/dev-python/hiredis/hiredis-0.2.0.ebuild index c5118cb43e..28728d7855 100644 --- a/dev-python/hiredis/hiredis-0.2.0.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm x86" IUSE="" DEPEND=">=dev-libs/hiredis-0.13.1"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: 52b94743fedc94573e2814f203a7c3d61c7b0206 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Feb 17 10:41:53 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Feb 17 10:41:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b94743 dev-python/hiredis: x86 stable wrt bug #606152 Package-Manager: portage-2.3.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/hiredis/hiredis-0.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hiredis/hiredis-0.2.0.ebuild b/dev-python/hiredis/hiredis-0.2.0.ebuild index 52aad85087..c5118cb43e 100644 --- a/dev-python/hiredis/hiredis-0.2.0.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" DEPEND=">=dev-libs/hiredis-0.13.1"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: f36f15294213a5d824dd21c1a80d236b8fe33dc0 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Feb 9 14:36:04 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Feb 9 14:37:08 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36f1529 dev-python/hiredis: amd64 stable wrt bug #606152 Package-Manager: portage-2.3.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/hiredis/hiredis-0.2.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/hiredis-0.2.0.ebuild b/dev-python/hiredis/hiredis-0.2.0.ebuild index 1c5cd0a1e9..52aad85087 100644 --- a/dev-python/hiredis/hiredis-0.2.0.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="" DEPEND=">=dev-libs/hiredis-0.13.1"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
commit: dd1e6ac5253468fa37cf5ace1d8abe98fcd3c8c7 Author: Alexis Ballier gentoo org> AuthorDate: Tue Jun 14 11:13:24 2016 + Commit: Alexis Ballier gentoo org> CommitDate: Tue Jun 14 11:13:38 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd1e6ac5 dev-python/hiredis: add python 3.5 to PYTHON_COMPAT. Package-Manager: portage-2.3.0_rc1 dev-python/hiredis/hiredis-0.2.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/hiredis/hiredis-0.2.0.ebuild b/dev-python/hiredis/hiredis-0.2.0.ebuild index 0354d86..8892ff7 100644 --- a/dev-python/hiredis/hiredis-0.2.0.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) inherit distutils-r1