From 8a14645d8f624d4e93224d789496e578481ee091 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 7 Jun 2015 08:52:26 +0000 Subject: [PATCH] python3: disable pip packaging. * enable expat, remove in-tree expat and zlib. --- dev-lang/python/python3-3.4.0.recipe | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-lang/python/python3-3.4.0.recipe b/dev-lang/python/python3-3.4.0.recipe index 91e9e78a1..ad9381cd5 100644 --- a/dev-lang/python/python3-3.4.0.recipe +++ b/dev-lang/python/python3-3.4.0.recipe @@ -35,9 +35,6 @@ PROVIDES=" cmd:python3.4m_config = $portVersion compat >= 3.4 cmd:pyvenv = $portVersion compat >= 3.4 cmd:pyvenv_3.4 = $portVersion compat >= 3.4 - cmd:easy_install_3.4 = $portVersion compat >= 3.4 - cmd:pip3 = $portVersion compat >= 3.4 - cmd:pip3.4 = $portVersion compat >= 3.4 devel:libpython3.4m = 1.0 lib:libpython3.4m = 1.0 lib:libpython3 = 3.4 @@ -46,6 +43,7 @@ REQUIRES=" haiku >= $haikuVersion cmd:nano lib:libbz2 + lib:libexpat lib:libncurses lib:libssl lib:libreadline @@ -54,6 +52,7 @@ REQUIRES=" " BUILD_REQUIRES=" devel:libbz2 + devel:libexpat devel:libncurses devel:libssl devel:libreadline @@ -82,6 +81,8 @@ GLOBAL_WRITABLE_FILES=" BUILD() { + rm -Rf Modules/zlib Modules/expat + cd Modules/_ctypes/libffi libtoolize --force --copy --install cd ../../.. @@ -90,7 +91,8 @@ BUILD() aclocal autoconf runConfigure ./configure \ - --enable-shared + --enable-shared --without-ensurepip \ + --with-system-expat # prevent make from rebuilding stuff that requires python touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h