mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 10:18:08 -07:00
dev-python/webencodings: Backport patch to fix tests
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -24,13 +24,18 @@ DEPEND="${REDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
# https://github.com/SimonSapin/python-webencodings/issues/2
|
||||
RESTRICT=test
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-test-fix-backport.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
python_prepare_all(){
|
||||
cat >> setup.cfg <<- EOF
|
||||
[pytest]
|
||||
python_files=test*.py
|
||||
EOF
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user