mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/automat: Fix test failures for bug 665554
automat _visualize.py code depends on both twisted and graphiz modules. This patch fixes the condition where some tests were not skipped due to twisted not being installed, but graphviz was. Gentoo-bug: https://bugs.gentoo.org/665554 Upstream-PR: https://github.com/glyph/automat/pull/125 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
This commit is contained in:
@@ -32,6 +32,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch"
|
||||
"${FILESDIR}/test_visualize-twisted-import-errors.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -59,7 +60,7 @@ python_install_all() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "For additional visualization functionality install these optional dependencies"
|
||||
einfo "For additional visualization functionality install both these optional dependencies"
|
||||
einfo " >=dev-python/twisted-16.1.1"
|
||||
einfo " media-gfx/graphviz[python]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user