Programming/Python: added

This commit is contained in:
2016-05-19 15:31:28 +02:00
parent 9b74d840dd
commit 482d62e347
3 changed files with 19168 additions and 1 deletions

View File

@@ -0,0 +1 @@
2.7.11 Linux,Darwin unstable openssl/1.0.2h Tcl/8.6.4 Tk/8.6.4

View File

@@ -1,5 +1,8 @@
#!/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() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
@@ -10,10 +13,19 @@ pbuild::post_install() {
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${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::set_runtime_dependencies ""
pbuild::set_build_dependencies "${COMPILER}"
pbuild::make_all

19154
Programming/Python/get-pip.py Normal file

File diff suppressed because it is too large Load Diff