Commit 482d62e3 authored by gsell's avatar gsell
Browse files

Programming/Python: added

parent 9b74d840
2.7.11 Linux,Darwin unstable openssl/1.0.2h Tcl/8.6.4 Tk/8.6.4
#!/usr/bin/env modbuild #!/usr/bin/env modbuild
declare -x LDFLAGS="-L${OPENSSL_LIBRARY_DIR}"
declare -x CPPFLAGS="-I${OPENSSL_INCLUDE_DIR} -I${OPENSSL_INCLUDE_DIR}/openssl"
pbuild::configure() { pbuild::configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \ --prefix="${PREFIX}" \
...@@ -10,10 +13,19 @@ pbuild::post_install() { ...@@ -10,10 +13,19 @@ pbuild::post_install() {
ln -fs "${PREFIX}/bin/python${V%%.*}" "${PREFIX}/bin/python" ln -fs "${PREFIX}/bin/python${V%%.*}" "${PREFIX}/bin/python"
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python" ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python"
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python${V%.*}" ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python${V%.*}"
PATH+=":${PREFIX}/bin"
cd "${BUILD_BLOCK_DIR}"
"${PREFIX}/bin/python" 'get-pip.py'
pip install numpy
pip install scipy
pip install matplotlib
pip install ipython
pip install pandas
pip install sympy
pip install nose
} }
pbuild::add_to_group 'Programming' pbuild::add_to_group 'Programming'
pbuild::set_runtime_dependencies "" pbuild::set_runtime_dependencies ""
pbuild::set_build_dependencies "${COMPILER}"
pbuild::make_all pbuild::make_all
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment