summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-10-17 21:37:59 +0200
committerMichał Górny <mgorny@gentoo.org>2025-10-17 22:07:02 +0200
commit036b47878d1ce3a0c9dfb49d356d6be74a32a984 (patch)
tree463af2f906d48c33f96890ca17053f772ca0e83c /dev-python
parent6c13aa971ff8059bc64d042c1c43aa330ef4dd58 (diff)
downloadgentoo-036b47878d1ce3a0c9dfb49d356d6be74a32a984.tar.gz
gentoo-036b47878d1ce3a0c9dfb49d356d6be74a32a984.tar.bz2
gentoo-036b47878d1ce3a0c9dfb49d356d6be74a32a984.zip
dev-python/django-redis: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-redis/Manifest1
-rw-r--r--dev-python/django-redis/django-redis-5.4.0.ebuild83
2 files changed, 0 insertions, 84 deletions
diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index 54bf95ca08fa..e32493f7d48c 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1,2 +1 @@
-DIST django-redis-5.4.0.tar.gz 52567 BLAKE2B f3ac670500dbe57d795905d10d3a63102c60de6b61e96af257c0e654cd7aa7dc2e70e512bad55ef4129dd11f60ceaaeeccf78b94486550a555a843e4dea98f1f SHA512 12eb85ee3ce2c8fcf013c804a630bd3eb943de0980d1f6d365b5b5ed762ab956db80329f3e170f330ccc5b9e6f178ffa7938b1880477b7fb609d2cc3680b984a
DIST django_redis-6.0.0.tar.gz 56904 BLAKE2B 795c285fde69dff4809323e7da2aa0d2720c5939ab68197cbc8ab2b3cf468397146d25791e46b148e0214ff25169a8ac9dac990befb07ade16ed695e4b28c7c0 SHA512 616f3a81d986c5958b2d2740ad1becbd304ed395b9907758fd80a1cf2a5457c8f66a158874ee4b416b85c3540dc45f4127587cdf15d7b884c624ab7e8f84272e
diff --git a/dev-python/django-redis/django-redis-5.4.0.ebuild b/dev-python/django-redis/django-redis-5.4.0.ebuild
deleted file mode 100644
index b8d8334d634e..000000000000
--- a/dev-python/django-redis/django-redis-5.4.0.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Full featured redis cache backend for Django"
-HOMEPAGE="
- https://github.com/jazzband/django-redis/
- https://pypi.org/project/django-redis/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- >=dev-python/django-3.2[${PYTHON_USEDEP}]
- >=dev-python/redis-3.0.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-db/redis
- dev-python/lz4[${PYTHON_USEDEP}]
- dev-python/msgpack[${PYTHON_USEDEP}]
- dev-python/pytest-django[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- sed -e '/--cov/d' \
- -e '/--no-cov/d' \
- -i setup.cfg || die
- distutils-r1_src_prepare
-}
-
-python_test() {
- cd tests || die
- local setting_file settings=(
- settings.sqlite
- settings.sqlite_json
- settings.sqlite_lz4
- settings.sqlite_msgpack
- settings.sqlite_sharding
- settings.sqlite_zlib
- # TODO: requires pyzstd
-# settings.sqlite_zstd
- )
- for setting_file in "${settings[@]}"; do
- einfo "Testing ${setting_file} configuration"
- epytest "--ds=${setting_file}"
- done
-}
-
-src_test() {
- local redis_pid="${T}"/redis.pid
- local redis_port=6379
- local redis_test_config="
- daemonize yes
- pidfile ${redis_pid}
- port ${redis_port}
- bind 127.0.0.1
- "
-
- # Spawn Redis itself for testing purposes
- einfo "Spawning Redis"
- einfo "NOTE: Port ${redis_port} must be free"
- "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die
-
- # Run the tests
- distutils-r1_src_test
-
- # Clean up afterwards
- kill "$(<"${redis_pid}")" || die
-}