Run of fresh-releases for perl6-readline

Try this locally (using silver-platter):

debian-svp new-upstream perl6-readline 

Merge these changes:

git pull https://janitor.debian.net/git/perl6-readline fresh-releases/main

Summary

Merged new upstream version: 0.1.5 (was: 0.1.4).

Diff

diff --git a/Changes b/Changes
index b6ac3e6..56eda49 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,10 @@ Revision history for Readline
 
 {{$NEXT}}
 
+0.1.5  2019-02-25T09:49:54+09:00
+
+    - Pull request from the 'net
+
 0.1.4  2018-07-15T08:02:22-06:00
     - Fix for Darwin, refactor code, update documentation to reflect reality
 
diff --git a/META6.json b/META6.json
index c99a824..c822616 100644
--- a/META6.json
+++ b/META6.json
@@ -27,5 +27,5 @@
   "test-depends" : [
     "Test"
   ],
-  "version" : "0.1.4"
+  "version" : "0.1.5"
 }
diff --git a/debian/changelog b/debian/changelog
index d0187a4..4b6f2ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+perl6-readline (0.1.5-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 27 Sep 2019 06:05:57 +0000
+
 perl6-readline (0.1.4-3) unstable; urgency=medium
 
   * Switch to dh-perl6
diff --git a/lib/Readline.pm b/lib/Readline.pm
index 6001792..fdd5fb2 100644
--- a/lib/Readline.pm
+++ b/lib/Readline.pm
@@ -38,7 +38,7 @@ Any chapter references in the documentation refer to the GNU Readline or GNU His
 
 By default the Perl 6 module searches for libreadline.so.* and takes the most recent match it can find.
 
-If you're on OS X, it searches for libreadline.dynlib.*.
+If you're on OS X, it searches for libreadline.*.dylib.
 On OpenBSD it searches for libereadline.so.*.
 
 While I'd prefer to use L<LibraryCheck>'s technique of just attempting to link to a library, it doesn't seem to work inside of the C<is native(&func)> attribute. So instead, it defaults to v7 (the current version as of 2018-07-14) and searches for other versions along a fixed set of library paths, taken from bug reports.
@@ -666,7 +666,7 @@ These methods manipulate signal handling for L<Readline>.
 
 =end pod
 
-class Readline:ver<0.1.4> {
+class Readline:ver<0.1.5> {
 
   sub LIBREADLINE {
     my $library = 'readline';
@@ -693,14 +693,14 @@ class Readline:ver<0.1.4> {
         tgetnum('');
       }
       when 'darwin' {
-        $library-match = rx/:i libreadline\.dynlib\.\d+ $/;
+        $library-match = rx/:i libreadline\.(\d+)\.dylib $/;
       }
     }
 
     # Search each of the LIBRARY-PATHS paths for libreadline.
     #
     for @library-path -> $path {
-      # Filter out everything but libreadline.{so,dynlib}.*
+      # Filter out everything but libreadline.{so,dylib}
       # Sort it so the last entry is the latest
       #
       my @dir = sort dir( $path, :test( $library-match ) );
@@ -711,6 +711,15 @@ class Readline:ver<0.1.4> {
       last;
     }
 
+    given $*DISTRO.name {
+      when 'slackware' {
+        if $version ~~ v6 {
+          my sub tgetnum(Str --> int32) is native('ncurses') { * }
+          tgetnum('');
+        }
+      }
+    }
+
     ( $library, $version )
   }
 

Full worker log Full build log