mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 15:50:07 +02:00
python3: disable pip packaging.
* enable expat, remove in-tree expat and zlib.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user