diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-23 21:00:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-23 21:00:11 +0100 |
commit | 456fc832c996a122c45240beb68820ab3c2ada40 (patch) | |
tree | 947c249e75095705ddfd9e3dbb77e7b0b47bf915 /dev-python/fakeredis | |
parent | 764cacf515464f89b60c94a29b3b7262479feb22 (diff) |
gentoo auto-resync : 23:05:2023 - 21:00:10
Diffstat (limited to 'dev-python/fakeredis')
-rw-r--r-- | dev-python/fakeredis/Manifest | 14 | ||||
-rw-r--r-- | dev-python/fakeredis/fakeredis-2.10.2.ebuild | 84 | ||||
-rw-r--r-- | dev-python/fakeredis/fakeredis-2.10.3.ebuild | 77 | ||||
-rw-r--r-- | dev-python/fakeredis/fakeredis-2.11.0.ebuild | 77 | ||||
-rw-r--r-- | dev-python/fakeredis/fakeredis-2.11.1.ebuild | 77 | ||||
-rw-r--r-- | dev-python/fakeredis/fakeredis-2.11.2.ebuild | 77 | ||||
-rw-r--r-- | dev-python/fakeredis/fakeredis-2.12.0.ebuild | 77 | ||||
-rw-r--r-- | dev-python/fakeredis/fakeredis-2.12.1.ebuild | 2 |
8 files changed, 2 insertions, 483 deletions
diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index d15d2b587e34..e243a984e964 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,17 +1,5 @@ -DIST fakeredis-2.10.3.tar.gz 94025 BLAKE2B faf178d53e783c4475513bf9f485b6eaefc63bc45c5ebd95ecfa1aaed982e236877230ea19526d8d12f152f1c429c5003b04abd2cc4f7ed43dbde581b07fbdf1 SHA512 694b1b540e8b9b32a5a44e3094b8bab307c5af400335efe9eb034c5ed161c1583d4700c08ef16991a1f03502aeb835d89b327448c3385de548dd39aafdbcc2a8 -DIST fakeredis-2.11.0.tar.gz 94957 BLAKE2B 0f1e5e226793fbeb86c9d7b894832652dca65c2ed21b0f0c86c228df3124f97aebc1540619fdb484dda93a78f7c7d6e1fbbcd07a24ba0e919ba9fb718074c757 SHA512 7669fa06737f47440b85a369ae00429da7ee479dcc0fed3c5a33f700b3ddbe3660bfd1098dcefa4b29896dc552cca950fa8305f1e53b44fd82f8375e15d25031 -DIST fakeredis-2.11.1.tar.gz 94897 BLAKE2B 18798d30eccfbedd70d13fc4a9883d2ab4b06eb2b4de900ced78202a3ba0680380dbd6989e7c51ce524eff73b4b5177379c941d9bb00015afe32d12b716b4ba0 SHA512 1ee9ed1eb2563de702bb76f01546338ccbb477b9546c8e9ff65644efbdb00c2c14cb5f2488d800071c083e0eaa638b41ec492ca618d3a5a0e190212e6e8313a8 -DIST fakeredis-2.11.2.tar.gz 95532 BLAKE2B 5edda6d3573bd589c8144664dbf115f257b68f59f002d92766b4c9ce1a9adcefe727812835d01d4efa42676056e9c050175c423cca166f1063e4ee1a6784ee94 SHA512 a5f0428949f3527fc189ecf4744f2f2310fcb114fdeb718299608defe7dfaeee9720d84debaa1e0e0eeeff11f6426e72452b3e7e772690aa48336996ae5a8716 -DIST fakeredis-2.12.0.tar.gz 95952 BLAKE2B 87e27851e2c68c07871990e3b1e73c2c614a902a4e086753308f2abcf01cfe08532c1c04136ebb1fa5aa36ff8b36616fefe70ab3b59860d15e89be5af83d1a9d SHA512 a4c1eb27cb846a769ed5fd10966df77064d0598f7b556c36c0ea48cd298c261f222601a0071652ec279b03e04537aac211710edf1597f6d57a48ca3a53e9a7aa DIST fakeredis-2.12.1.tar.gz 97486 BLAKE2B 5207d9b946eb5720083b045e29b960cc2eb3ab5ed7b633f00106d0777186cfb02ecc10607d24a67d7b2eded35915e6710a4880f560e49fbca470c487ec0a2b87 SHA512 99e4e0bf7a4be9cc9dc96eecfe2fd1f106664bab2eff4f575468933809cf306c36237ebc9d86efdd9c0823e05a08d466f35a7e43359602b47c582ab16d7bb7ef DIST fakeredis-2.13.0.tar.gz 98084 BLAKE2B c147332f2575be7f63aef48199920480d550efbadeee9de255b17cb9c7d6791a059ee3d4bdc500ecf44dcc22de6fdd11d170daf3e19de8e910833b1de12232c6 SHA512 30335e456f7ac2498fc175f9fd154a766064a05e6eb996df9d533412525a3d4279c9359ac5e43a2b9ec9bb1d653639aa10d4e1765a4e4c1bc84f764fa1efdb42 -DIST fakeredis-py-2.10.2.gh.tar.gz 159702 BLAKE2B ec385c01af9e32705435148c1c61d74c14d7b22a60b6a3466f1831f557bfe997af6ee96429cfdba00a1328db3cabe1579d65411e7c2b9972e5421963cd66815b SHA512 2a3a87dcbe136465ff0465585562a5b8b0bc73504f491d3ec9c6e959b6cffaa3edbaa1c2e5199138f7a49dfdec3c3da6a2ae338228a8fe21c670a82c062c544a -EBUILD fakeredis-2.10.2.ebuild 2074 BLAKE2B a7b846d0c3c1fe583b23c67be351c79294f20dc5aa5f48778f4a5e41b70ae769bda7ecda91024f242fa9e69032b394d50ec97826859adadb49593fbb3c749125 SHA512 ae431a20449fd016cfad1c67cf953d62343ba9a91ed79211cf7c6c2a9157df77f0671710825da26bff3215b011e5d68a967e4ce9b80799d91cbde35c1acab2df -EBUILD fakeredis-2.10.3.ebuild 1903 BLAKE2B 9235ec04001d8088f7257dfe8d44a62dd14f1bcf92b7fbc7c8815f395e7eabf8db8c06c95f19530b14bfb1fc14b3080937d6b0c430bb6608fc010d176be8f470 SHA512 31c30a29c8e775fe2d7b2893a28411b752fde2ddbd145959ba7e265489cf682c89dd0c5a3d560ac98da99086d5c17d18846c26c0f5f284858647ebecb3068322 -EBUILD fakeredis-2.11.0.ebuild 1903 BLAKE2B 9235ec04001d8088f7257dfe8d44a62dd14f1bcf92b7fbc7c8815f395e7eabf8db8c06c95f19530b14bfb1fc14b3080937d6b0c430bb6608fc010d176be8f470 SHA512 31c30a29c8e775fe2d7b2893a28411b752fde2ddbd145959ba7e265489cf682c89dd0c5a3d560ac98da99086d5c17d18846c26c0f5f284858647ebecb3068322 -EBUILD fakeredis-2.11.1.ebuild 1903 BLAKE2B 9235ec04001d8088f7257dfe8d44a62dd14f1bcf92b7fbc7c8815f395e7eabf8db8c06c95f19530b14bfb1fc14b3080937d6b0c430bb6608fc010d176be8f470 SHA512 31c30a29c8e775fe2d7b2893a28411b752fde2ddbd145959ba7e265489cf682c89dd0c5a3d560ac98da99086d5c17d18846c26c0f5f284858647ebecb3068322 -EBUILD fakeredis-2.11.2.ebuild 1903 BLAKE2B 9235ec04001d8088f7257dfe8d44a62dd14f1bcf92b7fbc7c8815f395e7eabf8db8c06c95f19530b14bfb1fc14b3080937d6b0c430bb6608fc010d176be8f470 SHA512 31c30a29c8e775fe2d7b2893a28411b752fde2ddbd145959ba7e265489cf682c89dd0c5a3d560ac98da99086d5c17d18846c26c0f5f284858647ebecb3068322 -EBUILD fakeredis-2.12.0.ebuild 1903 BLAKE2B 9235ec04001d8088f7257dfe8d44a62dd14f1bcf92b7fbc7c8815f395e7eabf8db8c06c95f19530b14bfb1fc14b3080937d6b0c430bb6608fc010d176be8f470 SHA512 31c30a29c8e775fe2d7b2893a28411b752fde2ddbd145959ba7e265489cf682c89dd0c5a3d560ac98da99086d5c17d18846c26c0f5f284858647ebecb3068322 -EBUILD fakeredis-2.12.1.ebuild 1903 BLAKE2B 9235ec04001d8088f7257dfe8d44a62dd14f1bcf92b7fbc7c8815f395e7eabf8db8c06c95f19530b14bfb1fc14b3080937d6b0c430bb6608fc010d176be8f470 SHA512 31c30a29c8e775fe2d7b2893a28411b752fde2ddbd145959ba7e265489cf682c89dd0c5a3d560ac98da99086d5c17d18846c26c0f5f284858647ebecb3068322 +EBUILD fakeredis-2.12.1.ebuild 1899 BLAKE2B f7aa1f65d8fa405ea9eb062f735fa186207a6ddb22f2f9cdfc72722330d494b80f161c2347d061475bbf1bf8582908c1ee4d412fe61bd694eb7279751b5a49c7 SHA512 a3f128057a020123604be6a9e875fd93782c261da078f2ea5f6fa24ea99a2d0f03ff8e3f6cf14b4593d4a38cf0ced7725f77de711812682653c9293c80648058 EBUILD fakeredis-2.13.0.ebuild 1904 BLAKE2B 1c96401debe06b65561182a33d3501253a479ff23e15c08e2926b4b4689cdf43bebababe71be70af78d62716dfe8727078428960fd96a2381659b0e325191cb4 SHA512 a257aaeb308b79dab0f94e6accdc0b3fa0644983ae2e15c80c32a7f011e6e4be48be06325eceec7d74effe3ee67ee8445f679a65b6654808601e4d9c5f970c75 MISC metadata.xml 373 BLAKE2B 1de33db59658e6190cd0346be58208cae6c9143a52f49dc289e68aaa0d860b5bd68dfb54f2e0b005f60a67f5caa430e2ce94fc69e64bd27e1bbebb07ad29e602 SHA512 24bfcf4919363fef45c182b6de66221e580ee0e9e99ce46e91b767655dc0b6f8a9fa6c3512ba84d1040698c43a0b6a853ad8d63c1ee5fbc00a1d192defb24db5 diff --git a/dev-python/fakeredis/fakeredis-2.10.2.ebuild b/dev-python/fakeredis/fakeredis-2.10.2.ebuild deleted file mode 100644 index a0ee8168e038..000000000000 --- a/dev-python/fakeredis/fakeredis-2.10.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{9..11} ) - -inherit distutils-r1 - -MY_P=fakeredis-py-${PV} -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/cunla/fakeredis-py/ - https://pypi.org/project/fakeredis/ -" -SRC_URI=" - https://github.com/cunla/fakeredis-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" - -RDEPEND=" - <dev-python/redis-5[${PYTHON_USEDEP}] - >=dev-python/redis-4.2[${PYTHON_USEDEP}] - <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # also lupa - test/test_aioredis2.py::test_failed_script_error - # TODO - "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" - "test/test_fakeredis.py::test_lpop_count[StrictRedis]" - "test/test_fakeredis.py::test_rpop_count[StrictRedis]" - "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" - "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" - test/test_mixins/test_set_commands.py::test_smismember_wrong_type - ) - local EPYTEST_IGNORE=( - # these tests fail a lot... - test/test_hypothesis.py - ) - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/fakeredis/fakeredis-2.10.3.ebuild b/dev-python/fakeredis/fakeredis-2.10.3.ebuild deleted file mode 100644 index 425cda7c342a..000000000000 --- a/dev-python/fakeredis/fakeredis-2.10.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/cunla/fakeredis-py/ - https://pypi.org/project/fakeredis/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/redis-4.2[${PYTHON_USEDEP}] - <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # also lupa - test/test_aioredis2.py::test_failed_script_error - # TODO - "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" - "test/test_fakeredis.py::test_lpop_count[StrictRedis]" - "test/test_fakeredis.py::test_rpop_count[StrictRedis]" - "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" - "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" - test/test_mixins/test_set_commands.py::test_smismember_wrong_type - ) - local EPYTEST_IGNORE=( - # these tests fail a lot... - test/test_hypothesis.py - ) - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/fakeredis/fakeredis-2.11.0.ebuild b/dev-python/fakeredis/fakeredis-2.11.0.ebuild deleted file mode 100644 index 425cda7c342a..000000000000 --- a/dev-python/fakeredis/fakeredis-2.11.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/cunla/fakeredis-py/ - https://pypi.org/project/fakeredis/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/redis-4.2[${PYTHON_USEDEP}] - <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # also lupa - test/test_aioredis2.py::test_failed_script_error - # TODO - "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" - "test/test_fakeredis.py::test_lpop_count[StrictRedis]" - "test/test_fakeredis.py::test_rpop_count[StrictRedis]" - "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" - "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" - test/test_mixins/test_set_commands.py::test_smismember_wrong_type - ) - local EPYTEST_IGNORE=( - # these tests fail a lot... - test/test_hypothesis.py - ) - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/fakeredis/fakeredis-2.11.1.ebuild b/dev-python/fakeredis/fakeredis-2.11.1.ebuild deleted file mode 100644 index 425cda7c342a..000000000000 --- a/dev-python/fakeredis/fakeredis-2.11.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/cunla/fakeredis-py/ - https://pypi.org/project/fakeredis/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/redis-4.2[${PYTHON_USEDEP}] - <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # also lupa - test/test_aioredis2.py::test_failed_script_error - # TODO - "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" - "test/test_fakeredis.py::test_lpop_count[StrictRedis]" - "test/test_fakeredis.py::test_rpop_count[StrictRedis]" - "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" - "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" - test/test_mixins/test_set_commands.py::test_smismember_wrong_type - ) - local EPYTEST_IGNORE=( - # these tests fail a lot... - test/test_hypothesis.py - ) - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/fakeredis/fakeredis-2.11.2.ebuild b/dev-python/fakeredis/fakeredis-2.11.2.ebuild deleted file mode 100644 index 425cda7c342a..000000000000 --- a/dev-python/fakeredis/fakeredis-2.11.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/cunla/fakeredis-py/ - https://pypi.org/project/fakeredis/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/redis-4.2[${PYTHON_USEDEP}] - <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # also lupa - test/test_aioredis2.py::test_failed_script_error - # TODO - "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" - "test/test_fakeredis.py::test_lpop_count[StrictRedis]" - "test/test_fakeredis.py::test_rpop_count[StrictRedis]" - "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" - "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" - test/test_mixins/test_set_commands.py::test_smismember_wrong_type - ) - local EPYTEST_IGNORE=( - # these tests fail a lot... - test/test_hypothesis.py - ) - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/fakeredis/fakeredis-2.12.0.ebuild b/dev-python/fakeredis/fakeredis-2.12.0.ebuild deleted file mode 100644 index 425cda7c342a..000000000000 --- a/dev-python/fakeredis/fakeredis-2.12.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/cunla/fakeredis-py/ - https://pypi.org/project/fakeredis/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/redis-4.2[${PYTHON_USEDEP}] - <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # also lupa - test/test_aioredis2.py::test_failed_script_error - # TODO - "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" - "test/test_fakeredis.py::test_lpop_count[StrictRedis]" - "test/test_fakeredis.py::test_rpop_count[StrictRedis]" - "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" - "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" - test/test_mixins/test_set_commands.py::test_smismember_wrong_type - ) - local EPYTEST_IGNORE=( - # these tests fail a lot... - test/test_hypothesis.py - ) - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/fakeredis/fakeredis-2.12.1.ebuild b/dev-python/fakeredis/fakeredis-2.12.1.ebuild index 425cda7c342a..3d5b1f14f9d9 100644 --- a/dev-python/fakeredis/fakeredis-2.12.1.ebuild +++ b/dev-python/fakeredis/fakeredis-2.12.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" >=dev-python/redis-4.2[${PYTHON_USEDEP}] |