From e588b0db07ccb6624e06720c182ab3aafbf51b1e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 20 Dec 2021 20:15:32 +0100 Subject: commit-package: learn how to properly commit python-* for aur --- commit-package | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'commit-package') 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 ' -- cgit v1.2.3-70-g09d2