diff options
Diffstat (limited to 'meta/classes/cpan-base.bbclass')
-rw-r--r-- | meta/classes/cpan-base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass index 9758065bfc..93d11e1bee 100644 --- a/meta/classes/cpan-base.bbclass +++ b/meta/classes/cpan-base.bbclass | |||
@@ -20,7 +20,7 @@ PERLLIBDIRS:class-native = "${libdir}/perl5" | |||
20 | def cpan_upstream_check_pattern(d): | 20 | def cpan_upstream_check_pattern(d): |
21 | for x in (d.getVar('SRC_URI') or '').split(' '): | 21 | for x in (d.getVar('SRC_URI') or '').split(' '): |
22 | if x.startswith("https://cpan.metacpan.org"): | 22 | if x.startswith("https://cpan.metacpan.org"): |
23 | _pattern = x.split('/')[-1].replace(d.getVar('PV'), '(?P<pver>\d+.\d+)') | 23 | _pattern = x.split('/')[-1].replace(d.getVar('PV'), r'(?P<pver>\d+.\d+)') |
24 | return _pattern | 24 | return _pattern |
25 | return '' | 25 | return '' |
26 | 26 | ||