Parcourir la source

Fix: patterns for pypy2.*/pypy3.* versions (#2419)

Co-authored-by: native-api <vano@mail.mipt.ru>
pull/2420/head
brogon il y a 4 ans
committed by GitHub
Parent
révision
16f7ea03e8
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. +5
    -1
      plugins/python-build/bin/python-build

+ 5
- 1
plugins/python-build/bin/python-build Voir le fichier

@ -1637,10 +1637,13 @@ build_package_auto_tcltk() {
fi
}
# extglob must be set at parse time, not at runtime
# https://stackoverflow.com/questions/49283740/bash-script-throws-syntax-errors-when-the-extglob-option-is-set-inside-a-subsh
shopt -s extglob
apply_python_patch() {
local patchfile
case "$1" in
Python-* | jython-* | pypy-* | stackless-* )
Python-* | jython-* | pypy-* | pypy[:digit:].+([:digit:])-* | stackless-* )
patchfile="$(mktemp "${TMP}/python-patch.XXXXXX")"
cat "${2:--}" >"$patchfile"
@ -1650,6 +1653,7 @@ apply_python_patch() {
;;
esac
}
shopt -u extglob
build_package_symlink_version_suffix() {
if [[ "$CONFIGURE_OPTS $PYTHON_CONFIGURE_OPTS" == *"--enable-framework"* ]]; then

Chargement…
Annuler
Enregistrer