diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-08-25 15:02:39 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-08-25 15:02:39 +0200 |
commit | 9ba28afd41fb74c0f2c1185d485d8c63f7a9e329 (patch) | |
tree | 87b03157fa1ab21c51b1516f7a906bc225beea45 /dev-python/aioredis | |
parent | dev-haskell/bytestring-handle: treeclean (diff) | |
download | gentoo-9ba28afd41fb74c0f2c1185d485d8c63f7a9e329.tar.gz gentoo-9ba28afd41fb74c0f2c1185d485d8c63f7a9e329.tar.bz2 gentoo-9ba28afd41fb74c0f2c1185d485d8c63f7a9e329.zip |
dev-python/aioredis: treeclean
Closes: https://bugs.gentoo.org/860840
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-python/aioredis')
-rw-r--r-- | dev-python/aioredis/Manifest | 1 | ||||
-rw-r--r-- | dev-python/aioredis/aioredis-2.0.1.ebuild | 56 | ||||
-rw-r--r-- | dev-python/aioredis/metadata.xml | 13 |
3 files changed, 0 insertions, 70 deletions
diff --git a/dev-python/aioredis/Manifest b/dev-python/aioredis/Manifest deleted file mode 100644 index 6acec3710225..000000000000 --- a/dev-python/aioredis/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST aioredis-2.0.1.tar.gz 111047 BLAKE2B 56f520110bee1a5ef2c19171b6c4c5d6cd4ac440892d36edc4ebf274e7b4ac184fd9e090ad79922f609de4b1dc403a1caa38b271cb1f938357ab9f01ea3f8bfc SHA512 9c2c3fe3e4e4a91e9ca727f8ad78c7c4e6ce1109e4a3043d9ddb929606b6879b1522f3845a3b18d8586ed557a4ab0f6288f27f2b6b0e307343e113f9b9b5fd76 diff --git a/dev-python/aioredis/aioredis-2.0.1.ebuild b/dev-python/aioredis/aioredis-2.0.1.ebuild deleted file mode 100644 index 2d3d23161d82..000000000000 --- a/dev-python/aioredis/aioredis-2.0.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 optfeature - -DESCRIPTION="asyncio Redis client library" -HOMEPAGE="https://pypi.org/project/aioredis/ https://github.com/aio-libs/aioredis-py" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/async-timeout[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/hiredis[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -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 - " - - elog "Spawning Redis" - elog "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 -} - -pkg_postinst() { - optfeature "hiredis parser" dev-python/hiredis -} diff --git a/dev-python/aioredis/metadata.xml b/dev-python/aioredis/metadata.xml deleted file mode 100644 index 4ae978711324..000000000000 --- a/dev-python/aioredis/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="github">aio-libs/aioredis-py</remote-id> - <remote-id type="pypi">aioredis</remote-id> - </upstream> -</pkgmetadata> |