dev-lang/python: Do not forcably disable xml support with USE=build

This is breaking stages when portage has the xattr USE flag enabled.
This pulls in dev-python/setuptools, which needs pyexpat.

Package-Manager: portage-2.2.20
This commit is contained in:
Mike Gilbert
2015-09-03 17:10:00 -04:00
parent 32f23b4544
commit 8ba276fde8
4 changed files with 8 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ RDEPEND="app-arch/bzip2
>=sys-libs/zlib-1.1.3
virtual/libffi
virtual/libintl
xml? ( >=dev-libs/expat-2.1 )
!build? (
berkdb? ( || (
sys-libs/db:5.3
@@ -55,7 +56,6 @@ RDEPEND="app-arch/bzip2
dev-tcltk/blt
dev-tcltk/tix
)
xml? ( >=dev-libs/expat-2.1 )
)
!!<sys-apps/portage-2.1.9"
DEPEND="${RDEPEND}
@@ -119,7 +119,7 @@ src_prepare() {
src_configure() {
if use build; then
# Disable extraneous modules with extra dependencies.
export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter"
export PYTHON_DISABLE_SSL="1"
else
# dbm module can be linked against berkdb or gdbm.