Numpy build fix, patch section cannot create new file (#1619)

This commit is contained in:
miqlas
2017-09-02 17:00:55 +02:00
committed by diversys
parent b70acc2b6a
commit d0cd2fbd7e
2 changed files with 17 additions and 16 deletions

View File

@@ -38,18 +38,17 @@ BUILD_PREREQUIRES="
cmd:gfortran
"
PATCH()
{
# Check at every update in site.cfg.example!
echo "[openblas]" >> site.cfg
echo "libraries = openblas" >> site.cfg
echo "library_dirs = /system/`echo ${relativeDevelopLibDir}`" >> site.cfg
echo "include_dirs = /system/`echo ${relativeIncludeDir}`" >> site.cfg
echo "runtime_library_dirs = /system/`echo ${relativeLibDir}`" >> site.cfg
}
BUILD()
{
# Check at every update in site.cfg.example!
cat > site.cfg << EOF
[openblas]
libraries = openblas
library_dirs = /system/`echo ${relativeDevelopLibDir}`
include_dirs = /system/`echo ${relativeIncludeDir}`
runtime_library_dirs = /system/`echo ${relativeLibDir}`
EOF
rm -rf doc/sphinxext/.git
$portPackageLinksDir/cmd~python2/bin/python2 setup.py build $jobArgs
}