Run of fresh-snapshots for librivescript-perl

Merge these changes:

git pull https://janitor.debian.net/git/librivescript-perl fresh-snapshots/main
git pull https://janitor.debian.net/git/librivescript-perl fresh-snapshots/pristine-tar
git pull https://janitor.debian.net/git/librivescript-perl fresh-snapshots/upstream

Summary

Merged new upstream version: 2.0.3+git20210820.1.2b43e04 (was: 2.0.3).

Diff

Branch: main

Diff is too long (more than 200 lines). Download the raw diff.

Branch: pristine-tar

diff --git a/librivescript-perl_2.0.3+git20210820.1.2b43e04.orig.tar.gz.delta b/librivescript-perl_2.0.3+git20210820.1.2b43e04.orig.tar.gz.delta
new file mode 100644
index 0000000..d99d4f3
Binary files /dev/null and b/librivescript-perl_2.0.3+git20210820.1.2b43e04.orig.tar.gz.delta differ
diff --git a/librivescript-perl_2.0.3+git20210820.1.2b43e04.orig.tar.gz.id b/librivescript-perl_2.0.3+git20210820.1.2b43e04.orig.tar.gz.id
new file mode 100644
index 0000000..33c43d2
--- /dev/null
+++ b/librivescript-perl_2.0.3+git20210820.1.2b43e04.orig.tar.gz.id
@@ -0,0 +1 @@
+eca3fa1d5835c8d5dc246888c8107092b0f2492f

Branch: upstream

Tag: upstream/2.0.3+git20210820.1.2b43e04
diff --git a/META.json b/META.json
index 5f1c7d8..38c8d1a 100644
--- a/META.json
+++ b/META.json
@@ -4,13 +4,13 @@
       "Noah Petherbridge <kirsle@cpan.org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150005",
+   "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010",
    "license" : [
       "mit"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
-      "version" : "2"
+      "version" : 2
    },
    "name" : "RiveScript",
    "no_index" : {
@@ -40,5 +40,5 @@
    },
    "release_status" : "stable",
    "version" : "v2.0.3",
-   "x_serialization_backend" : "JSON::PP version 2.27400"
+   "x_serialization_backend" : "JSON::PP version 4.06"
 }
diff --git a/META.yml b/META.yml
index 64c3bfc..6aff194 100644
--- a/META.yml
+++ b/META.yml
@@ -7,7 +7,7 @@ build_requires:
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'
 license: mit
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
diff --git a/lib/RiveScript.pm b/lib/RiveScript.pm
index 7a9cf7b..1c8f899 100644
--- a/lib/RiveScript.pm
+++ b/lib/RiveScript.pm
@@ -2867,7 +2867,7 @@ sub _reply_regexp {
 	$regexp =~ s/\*/(.+?)/ig;        # Convert * into (.+?)
 	$regexp =~ s/\#/(\\d+)/ig;    # Convert # into ([0-9]+?)
 	$regexp =~ s/\_/(\\w+)/ig; # Convert _ into ([A-Za-z]+?)
-	$regexp =~ s/\{weight=\d+\}//ig; # Remove {weight} tags.
+	$regexp =~ s/\s*\{weight=\d+\}\s*//ig; # Remove {weight} tags.
 	$regexp =~ s/<zerowidthstar>/(.*?)/i;
 	while ($regexp =~ /\[(.+?)\]/i) { # Optionals
 		my @parts = split(/\|/, $1);
@@ -3146,7 +3146,7 @@ sub processTags {
 				$insert = "\x00$match\x01";
 			}
 
-			$reply =~ s/<$match>/$insert/i;
+			$reply =~ s/<\Q$match\E>/$insert/i;
 		}
 		else {
 			last; # No more tags remaining.

Publish Blockers

  • ☑ run was successful
  • ☑ package has not been removed from the archive
  • ☒ command changed from DEB_UPDATE_CHANGELOG=update deb-new-upstream --snapshot --refresh-patches to DEB_UPDATE_CHANGELOG=auto deb-new-upstream --snapshot --refresh-patches
  • ☒ not yet reviewed, but review needed
  • ☑ 0 publish attempts so far.not currently attempting to back off
  • ☑ proposals not currently being rate-limited for maintainer pkg-perl-maintainers@lists.alioth.debian.org
  • ☑ change set 4d6b7c5d-0f41-4d72-b47a-d6b0279ff421 is ready

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots librivescript-perl

Lintian Result

Full worker log Full build log