|
|
|
@ -139,8 +139,8 @@ install_package_using() { |
|
|
|
|
|
|
|
apply_patches() { |
|
|
|
local package_name="$1" |
|
|
|
local patches_path="${PYTHON_BUILD_ROOT}/patches/${DEFINITION_PATH##*/}/${package_name}" |
|
|
|
for patch in "${patches_path}"/*; do |
|
|
|
local patches_path="${PYTHON_BUILD_ROOT}/share/python-build/patches/${DEFINITION_PATH##*/}" |
|
|
|
for patch in "${patches_path}/${package_name}/"*; do |
|
|
|
if [ -f "$patch" ]; then |
|
|
|
echo "Applying ${patch##*/} to ${package_name}..." >&2 |
|
|
|
patch -p0 < "$patch" |
|
|
|
@ -666,7 +666,7 @@ usage() { |
|
|
|
|
|
|
|
list_definitions() { |
|
|
|
{ for definition in "${PYTHON_BUILD_ROOT}/share/python-build/"*; do |
|
|
|
echo "${definition##*/}" |
|
|
|
[ -f "${definition}" ] && echo "${definition##*/}" |
|
|
|
done |
|
|
|
} | sort |
|
|
|
} |
|
|
|
|