summaryrefslogtreecommitdiff
path: root/dev-python/async_timeout
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-20 14:45:01 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-20 14:45:01 +0100
commit34dea8e38f88007799629d0a56b12dec480b1d21 (patch)
tree6790873994b58030360328cf5897d934b3b03d16 /dev-python/async_timeout
parent7932d472a02d4c016ff7dff4b7a5479ab9d1883d (diff)
gentoo resync : 20.06.2021
Diffstat (limited to 'dev-python/async_timeout')
-rw-r--r--dev-python/async_timeout/Manifest2
-rw-r--r--dev-python/async_timeout/async_timeout-3.0.1.ebuild17
2 files changed, 7 insertions, 12 deletions
diff --git a/dev-python/async_timeout/Manifest b/dev-python/async_timeout/Manifest
index 3a94db275179..4d930d9dd053 100644
--- a/dev-python/async_timeout/Manifest
+++ b/dev-python/async_timeout/Manifest
@@ -1,3 +1,3 @@
DIST async-timeout-3.0.1.tar.gz 9724 BLAKE2B f18ae75969b7048469fe22949f25ea25da3fdbf08b98a16b5d5ffe823060a75e6de9ed764727e08d4344c79426e9c89013d49522f20ed62e6fbe912b5c7a8787 SHA512 fd30842671a79edfd52c7350e7fb2120533a6d97b44975f7b071ce2cbde43443bd5bbe1f2ad0ad3ab2156e1987b9e58e0c149b0ecfea8674eb0cb78eee79c986
-EBUILD async_timeout-3.0.1.ebuild 1022 BLAKE2B cf8ba112ebcc0ae009ca435fb86abcffd62dcb9b116e1f9e9e13dc306900f16ca3e3941447e9af869945aed7e405820aedea5d02ca6863e3aedbe6cd5696901d SHA512 fd1ad0bc0e70e6f929e4b7196e3413345df56f5d1031a22abd10f901d53d3a9b392db591446e27da9a0e4cfa9580101d5bb1e8108593228b67809175908ffe78
+EBUILD async_timeout-3.0.1.ebuild 871 BLAKE2B bda191eddd234253a261c84e960c30ab3e46e6fb7aacf58c0999342b9689acf390241753fd62404643bdf30825baca66cdb6f9a8ec7254018d54ea8f23a807eb SHA512 f25e0b023d609c69764e0f5dff99ce709183261398eb2f4e3c067763fd5a03661de8e4fc406a920dc0b9de72bf0b2f8bbe94b402ffa2e9fdfc134ad9c85ca247
MISC metadata.xml 459 BLAKE2B aa3214d8a14324f68b5743f51371cf1902962a5b14bb7065a04944684d33f9639edbc9a899f5cd02ca19068506c5e403db149742d0b1cedf8e35a5927a837901 SHA512 fb0488558b0e1d7b9e0721a7d299bf2d105d66c67f51ea1bdb1b8dc529bb3a964c89d4410ee8640d0b094d1e364e5d59d8a9b7bafb0cdd9f3dde6443c0d46a15
diff --git a/dev-python/async_timeout/async_timeout-3.0.1.ebuild b/dev-python/async_timeout/async_timeout-3.0.1.ebuild
index 617296b6377f..f4022958304b 100644
--- a/dev-python/async_timeout/async_timeout-3.0.1.ebuild
+++ b/dev-python/async_timeout/async_timeout-3.0.1.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..9} )
+PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
@@ -10,21 +10,20 @@ MY_P=${PN/_/-}-${PV}
DESCRIPTION="Timeout context manager for asyncio programs"
HOMEPAGE="https://github.com/aio-libs/async-timeout"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-S=${WORKDIR}/${MY_P}
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
- dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
)"
+distutils_enable_tests pytest
+
python_prepare_all() {
# remove pointless dep on pytest-cov
sed -i -e '/addopts/d' setup.cfg || die
@@ -32,7 +31,3 @@ python_prepare_all() {
rm tests/conftest.py || die
distutils-r1_python_prepare_all
}
-
-python_test() {
- pytest -vv || die "Tests fail with ${EPYTHON}"
-}