Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=13d7eba784c4bc9990f91d15adc57120ac4aa8f8
commit 13d7eba784c4bc9990f91d15adc57120ac4aa8f8 Author: Marius Cirsta <mcir...@frugalware.org> Date: Fri Aug 12 02:03:45 2016 +0300 * add install-data param for python diff --git a/source/include/util.sh b/source/include/util.sh index 67bd9f1..0855d98 100644 --- a/source/include/util.sh +++ b/source/include/util.sh @@ -983,6 +983,11 @@ Fbuildsystem_python_setup() { _python="$_F_python_version" fi + if [ -z "$_F_python_install_data_dir" ]; then + _F_python_install_data_dir="usr/share/" + fi + + case "$command" in 'probe') test -f setup.py @@ -994,7 +999,7 @@ Fbuildsystem_python_setup() { return $? ;; 'install') - Fexec "$_python" setup.py install --prefix "$Fprefix" --root "$Fdestdir" --install-data usr/share/ "$@" + Fexec "$_python" setup.py install --prefix "$Fprefix" --root "$Fdestdir" --install-data $_F_python_install_data_dir "$@" return $? ;; *) _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git