diff options
author | Erich Eckner <git@eckner.net> | 2021-12-20 20:15:32 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-12-20 20:15:32 +0100 |
commit | e588b0db07ccb6624e06720c182ab3aafbf51b1e (patch) | |
tree | c5114388ce7b6c463a796ad7e94778f4e8d64c3a | |
parent | 8caa9821d241564b5ce1273532b69450e2f4207f (diff) | |
download | archlinuxewe-e588b0db07ccb6624e06720c182ab3aafbf51b1e.tar.xz |
commit-package: learn how to properly commit python-* for aur
-rwxr-xr-x | commit-package | 6 |
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 ' |