diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/django-redis | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-python/django-redis')
| -rw-r--r-- | dev-python/django-redis/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/django-redis/django-redis-6.0.0.ebuild | 102 | ||||
| -rw-r--r-- | dev-python/django-redis/django-redis-7.0.0.ebuild | 94 | ||||
| -rw-r--r-- | dev-python/django-redis/metadata.xml | 16 |
4 files changed, 0 insertions, 214 deletions
diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest deleted file mode 100644 index 1dfee763e06d..000000000000 --- a/dev-python/django-redis/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST django_redis-6.0.0.tar.gz 56904 BLAKE2B 795c285fde69dff4809323e7da2aa0d2720c5939ab68197cbc8ab2b3cf468397146d25791e46b148e0214ff25169a8ac9dac990befb07ade16ed695e4b28c7c0 SHA512 616f3a81d986c5958b2d2740ad1becbd304ed395b9907758fd80a1cf2a5457c8f66a158874ee4b416b85c3540dc45f4127587cdf15d7b884c624ab7e8f84272e -DIST django_redis-7.0.0.tar.gz 64601 BLAKE2B 509b980baca70f3ea325cb65c49d457a1a8a5f3ae3dc8ae286e30618300016945be8f9c4d3993dc2a6a3e0c55e611c4022d446e76e7a38a09c40ea7db9f445ef SHA512 6a3a2ccfa57c7c8c0938d3224fd4c94d0a1f36d273108e7e9e3734dfa3bfefba1e011c749c8a89f15e450335d1c198bfe067e5742c6334a18294a5bb1a2f4ba9 diff --git a/dev-python/django-redis/django-redis-6.0.0.ebuild b/dev-python/django-redis/django-redis-6.0.0.ebuild deleted file mode 100644 index 3486874e7818..000000000000 --- a/dev-python/django-redis/django-redis-6.0.0.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -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-4.2[${PYTHON_USEDEP}] - >=dev-python/redis-4.0.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/lz4[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-{mock,xdist} ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - sed -e '/--cov/d' \ - -e '/--no-cov/d' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - # no clue why we need to set it explicitly - local -x DJANGO_SETTINGS_MODULE=settings.sqlite - # sqlite_zstd requires pyzstd - # the test suite only works with -n4 - # https://github.com/jazzband/django-redis/issues/777 - epytest -n 4 -k "not sqlite_zstd" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - local redis_sock="${T}"/redis.sock - local redis_test_config=" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - unixsocket ${redis_sock} - bind 127.0.0.1 - logfile ${T}/redis.log - enable-debug-command yes - " - local sentinel_pid="${T}"/sentinel.pid - local sentinel_port=26379 - - # 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 - - # Also Redis sentinel - cat > "${T}"/sentinel.conf <<-EOF || die - # from docker/sentinel.conf - sentinel monitor default_service 127.0.0.1 ${redis_port} 1 - sentinel down-after-milliseconds default_service 3200 - sentinel failover-timeout default_service 10000 - - # for some reason, tests expect 127.0.0.1 too - sentinel monitor 127.0.0.1 127.0.0.1 ${redis_port} 1 - sentinel down-after-milliseconds 127.0.0.1 3200 - sentinel failover-timeout 127.0.0.1 10000 - - daemonize yes - pidfile ${sentinel_pid} - port ${sentinel_port} - logfile ${T}/sentinel.log - EOF - "${EPREFIX}"/usr/sbin/redis-sentinel "${T}"/sentinel.conf || die - - # Update the socket path, we don't want hardcoded /tmp - sed -e "s^/tmp/redis.sock^${redis_sock}^g" \ - -i tests/settings/sqlite_usock.py || die - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${sentinel_pid}")" "$(<"${redis_pid}")" || die -} diff --git a/dev-python/django-redis/django-redis-7.0.0.ebuild b/dev-python/django-redis/django-redis-7.0.0.ebuild deleted file mode 100644 index dd7a8de84b94..000000000000 --- a/dev-python/django-redis/django-redis-7.0.0.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -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-5.2[${PYTHON_USEDEP}] - >=dev-python/redis-4.0.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - >=dev-python/lz4-0.15[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}] - >=dev-python/pyzstd-0.15[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-{mock,xdist} ) -distutils_enable_tests pytest - -python_test() { - # no clue why we need to set it explicitly - local -x DJANGO_SETTINGS_MODULE=settings.sqlite - # the test suite only works with -n4 - # https://github.com/jazzband/django-redis/issues/777 - epytest -o addopts= -n 4 --doctest-modules -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - local redis_sock="${T}"/redis.sock - local redis_test_config=" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - unixsocket ${redis_sock} - bind 127.0.0.1 - logfile ${T}/redis.log - enable-debug-command yes - " - local sentinel_pid="${T}"/sentinel.pid - local sentinel_port=26379 - - # 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 - - # Also Redis sentinel - cat > "${T}"/sentinel.conf <<-EOF || die - # from docker/sentinel.conf - sentinel monitor default_service 127.0.0.1 ${redis_port} 1 - sentinel down-after-milliseconds default_service 3200 - sentinel failover-timeout default_service 10000 - - # for some reason, tests expect 127.0.0.1 too - sentinel monitor 127.0.0.1 127.0.0.1 ${redis_port} 1 - sentinel down-after-milliseconds 127.0.0.1 3200 - sentinel failover-timeout 127.0.0.1 10000 - - daemonize yes - pidfile ${sentinel_pid} - port ${sentinel_port} - logfile ${T}/sentinel.log - EOF - "${EPREFIX}"/usr/sbin/redis-sentinel "${T}"/sentinel.conf || die - - # Update the socket path, we don't want hardcoded /tmp - sed -e "s^/tmp/redis.sock^${redis_sock}^g" \ - -i tests/settings/sqlite_usock.py || die - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${sentinel_pid}")" "$(<"${redis_pid}")" || die -} diff --git a/dev-python/django-redis/metadata.xml b/dev-python/django-redis/metadata.xml deleted file mode 100644 index 3e88aa426230..000000000000 --- a/dev-python/django-redis/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>williamh@gentoo.org</email> - <name>William Hubbs</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="github">jazzband/django-redis</remote-id> - <remote-id type="pypi">django-redis</remote-id> - </upstream> -</pkgmetadata> |
