Blame docker-builder-data/build/script/packet/python3pyaudio-master.sh

369e6c
DEPS="python-3.6.0 portaudio-19.6.0"
369e6c
369e6c
PK_DIRNAME="pyaudio"
369e6c
PK_URL="https://people.csail.mit.edu/hubert/git/$PK_DIRNAME.git"
369e6c
369e6c
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-git.sh
369e6c
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.sh
369e6c
369e6c
pkinstall() {
369e6c
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME" || return 1
369e6c
    mkdir -p $INSTALL_PACKET_DIR/lib/python3.6/site-packages
369e6c
    PYTHONHOME=$ENVDEPS_PACKET_DIR \
369e6c
        PYTHONPATH=$INSTALL_PACKET_DIR/lib/python3.6/site-packages:$PYTHONPATH \
369e6c
        python3 \
369e6c
        setup.py \
369e6c
        install \
369e6c
        --prefix=$INSTALL_PACKET_DIR \
369e6c
        || return 1
369e6c
}