aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-01-20 21:28:58 -0800
committerTim Orling <timothy.t.orling@linux.intel.com>2018-01-21 12:59:29 -0800
commit69c42f8ec447d5955f6cc91e324fb8e1461c1f7b (patch)
tree625fe5afc8e23c0bb17549d2555379af19878e66
parent487b0bda27a8d1cfadc7e9088f33feae48650068 (diff)
downloadmeta-openembedded-contrib-69c42f8ec447d5955f6cc91e324fb8e1461c1f7b.tar.gz
meta-openembedded-contrib-69c42f8ec447d5955f6cc91e324fb8e1461c1f7b.tar.bz2
meta-openembedded-contrib-69c42f8ec447d5955f6cc91e324fb8e1461c1f7b.zip
libencode-perl: add UPSTREAM_CHECK_REGEX
The default does not work for this recipe. * Add a note that perl-module-encode should be preferred over this package unless a newer version than what is provided by perl is needed. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
-rw-r--r--meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb b/meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb
index ee8c67d686..1189ff941e 100644
--- a/meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb
+++ b/meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb
@@ -1,3 +1,8 @@
+# NOTE:
+# You should use perl-module-encode rather than this package
+# unless you specifically need a version newer than what is
+# provided by perl.
+
SUMMARY = "Encode - character encodings"
DESCRIPTION = "The \"Encode\" module provides the interfaces between \
Perl's strings and the rest of the system. Perl strings are sequences \
@@ -13,6 +18,8 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/DANKOGAI/Encode-${PV}.tar.gz"
SRC_URI[md5sum] = "0d3f59e8ea704497647eded665919053"
SRC_URI[sha256sum] = "5d3a90e30aabe78dfcf5e816ffb1da1e33475892dbd0075320315cdce5682988"
+UPSTREAM_CHECK_REGEX = "Encode\-(?P<pver>(\d+\.\d+))(?!_\d+).tar"
+
S = "${WORKDIR}/Encode-${PV}"
inherit cpan