workaround bizarre distro vs module confusion
[dbsrgits/DBIx-Class-Schema-Loader.git] / maint / travis-ci_scripts / common.bash
index 6986c6a..e633705 100755 (executable)
@@ -115,7 +115,10 @@ extract_prereqs() {
     s/^\!.*//;
     s/^[^a-z]+//i;
     s/\-[^\-]+$/ /; # strip version part
-    s/\-/::/g
+    s/\-/::/g;
+    s/^\s*Snowball::Swedish\s*$/ Lingua::Stem::Snowball::Se /m; # distro->module
+    s/^\s*Snowball::Norwegian\s*$/ Lingua::Stem::Snowball::No /m;
+    s/^\s*Scalar::List::Utils\s*$/ List::Util /m;
   ' <<< "$OUT")
 
   # throw away what was in $@