From 4f3600624565bc55564cab813c952894f19e3507 Mon Sep 17 00:00:00 2001
From: Stefano Zacchiroli <zack@upsilon.cc>
Date: Fri, 26 Feb 2021 14:25:55 +0100
Subject: [PATCH] bin/pip-swh-packages: remove [extras] markers before
 topo-sorting

---
 bin/pip-swh-packages | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/pip-swh-packages b/bin/pip-swh-packages
index 73506d7..4367152 100755
--- a/bin/pip-swh-packages
+++ b/bin/pip-swh-packages
@@ -9,11 +9,11 @@ fi
 
 ./bin/py-depgraph |
     grep -- '->' |
-    sed -e 's/[";]//g' -e 's/->//g' |
+    sed -e 's/[";]//g' -e 's/->//g' -e 's/\[.*$//g' |
     tsort |
     tac |
     grep '^swh\.' |
     sed 's:\.:-:g' |
     sed 's:^:-e :' |
     sed "s/$/$suffix/" |
-    sed -e 's/\]\[/,/g'
+    sed 's/\]\[/,/g'
-- 
GitLab