From 919b60c0b5afd54a758c5a7ca5f9063daff83ec5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 27 Nov 2010 22:32:13 +0100 Subject: [PATCH] helpers/python-module: added a do_build() that runs setup.py build. --- xbps-src/helpers/python-module.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xbps-src/helpers/python-module.sh b/xbps-src/helpers/python-module.sh index 5e023d179b..f546463391 100644 --- a/xbps-src/helpers/python-module.sh +++ b/xbps-src/helpers/python-module.sh @@ -2,6 +2,11 @@ # This helper is for templates installing python modules. # +do_build() +{ + python setup.py build ${make_build_args} || return 1 +} + do_install() { if [ -z "$make_install_args" ]; then