dev-python/aioresponses: bump EAPI, enable tests with test_network
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
e30ff8998c
commit
de1f5b9a6a
@ -1,8 +1,9 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
# Copyright 2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
|
# 29.6.2021: 3.10 blocked by aiohttps and pbr
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
@ -14,26 +15,30 @@ LICENSE="MIT"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="doc"
|
IUSE="doc"
|
||||||
# Tests hard depend on internet access
|
|
||||||
RESTRICT="test"
|
# All tests require internet access
|
||||||
#RESTRICT="!test? ( test )"
|
PROPERTIES="test_network"
|
||||||
|
RESTRICT="
|
||||||
|
test
|
||||||
|
!test? ( test )
|
||||||
|
"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||||
"
|
"
|
||||||
#DEPEND="
|
DEPEND="
|
||||||
# test? (
|
test? (
|
||||||
# ${RDEPEND}
|
${RDEPEND}
|
||||||
# dev-python/ddt[${PYTHON_USEDEP}]
|
dev-python/ddt[${PYTHON_USEDEP}]
|
||||||
# dev-python/pytest-cov[${PYTHON_USEDEP}]
|
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||||
# )
|
)
|
||||||
#"
|
"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
dev-python/pbr[${PYTHON_USEDEP}]
|
dev-python/pbr[${PYTHON_USEDEP}]
|
||||||
doc? ( dev-python/sphinx )
|
doc? ( dev-python/sphinx )
|
||||||
"
|
"
|
||||||
|
|
||||||
#distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
python_compile_all() {
|
python_compile_all() {
|
||||||
use doc && emake -C docs -j1 html
|
use doc && emake -C docs -j1 html
|
||||||
|
Loading…
Reference in New Issue
Block a user