summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-2.7.10.ebuild
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-09-03 17:10:00 -0400
committerMike Gilbert <floppym@gentoo.org>2015-09-03 17:10:00 -0400
commit8ba276fde89ca0828e6988833bdcca7d6aa79623 (patch)
tree278338f403ce10c8cf06cfd5717fea57ab2a3d5a /dev-lang/python/python-2.7.10.ebuild
parent32f23b4544de655f4d2e3b57ac6bb25377fdf14a (diff)
downloadgentoo-8ba276fde89ca0828e6988833bdcca7d6aa79623.tar.gz
gentoo-8ba276fde89ca0828e6988833bdcca7d6aa79623.tar.bz2
gentoo-8ba276fde89ca0828e6988833bdcca7d6aa79623.zip
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
Diffstat (limited to 'dev-lang/python/python-2.7.10.ebuild')
-rw-r--r--dev-lang/python/python-2.7.10.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/python/python-2.7.10.ebuild b/dev-lang/python/python-2.7.10.ebuild
index 00ff5c59242d..74ff08afc5ac 100644
--- a/dev-lang/python/python-2.7.10.ebuild
+++ b/dev-lang/python/python-2.7.10.ebuild
@@ -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.