[oe-commits] [meta-openembedded] 22/50: libencode-perl: add UPSTREAM_CHECK_REGEX

git at git.openembedded.org git at git.openembedded.org
Sat Jan 27 01:36:35 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.

commit b9d6b3df474a6e821e46fb72e4efce11b6f115bf
Author: Tim Orling <timothy.t.orling at linux.intel.com>
AuthorDate: Sun Jan 21 14:44:02 2018 -0800

    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 at linux.intel.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb | 7 +++++++
 1 file changed, 7 insertions(+)

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 ee8c67d..1189ff9 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list