summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommit-package6
1 files changed, 6 insertions, 0 deletions
diff --git a/commit-package b/commit-package
index b8cbf0acb..31aedccda 100755
--- a/commit-package
+++ b/commit-package
@@ -93,6 +93,12 @@ if [ -d '.git' ] || [ -f '.git' ]; then
tar -Ox \
| sed "
/^_pinned_dependencies=(/,/)/d
+ /^\(\s*'"'"'python\(>=\|<\)[0-9.]\+'"'"'\s*\)$/{
+ N
+ s/^\(\s*'"'"'python\)\(>=\|<\)[0-9.]\+'"'"'\s*\n\s*'"'"'python\(>=\|<\)[0-9.]\+\('"'"'\s*)\?\s*\)$/\1\4/
+ t
+ s/^\(\s*'"'"'python\)\(>=\|<\)[0-9.]\+\('"'"'\s*)\?\s*\)$/\1\3/
+ }
"
' -u \
| sed '