diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2017-10-12 11:35:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:33:21 +0000 |
commit | ae2a0017109581f8ceb03c97a84a831634f77b06 (patch) | |
tree | 353d21384d2a7eedf93ff2f8af9431bec5ec9694 /meta/recipes-extended/perl | |
parent | 73fad35fa07e4ddb8d87b7b49a5da6a2d3f60fe7 (diff) | |
download | poky-ae2a0017109581f8ceb03c97a84a831634f77b06.tar.gz |
libxml-namespacesupport-perl: upgrade to 1.12.9
(From OE-Core rev: 721159db811e0cf1b8dee21740abdb2e27e7ddde)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/perl')
-rw-r--r-- | meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.9.bb | 35 | ||||
-rw-r--r-- | meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb | 23 |
2 files changed, 35 insertions, 23 deletions
diff --git a/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.9.bb b/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.9.bb new file mode 100644 index 0000000000..a7d26ea38c --- /dev/null +++ b/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.9.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Perl module for supporting simple generic namespaces" | ||
2 | HOMEPAGE = "http://veillard.com/XML/" | ||
3 | DESCRIPTION = "XML::NamespaceSupport offers a simple way to process namespace-based XML names. \ | ||
4 | It also helps maintain a prefix-to-namespace URI map, and provides a number of \ | ||
5 | basic checks. " | ||
6 | |||
7 | SECTION = "libs" | ||
8 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
9 | PR = "r3" | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://META.yml;beginline=22;endline=22;md5=9ca1a4a941496e7feedac72c4fb8b137" | ||
12 | |||
13 | # the upstream project complicate a bit url generartion on point release, using a underscore | ||
14 | # instead of a point on URL, i.e 1.12_9 instead of 1.12.9 | ||
15 | python () { | ||
16 | baseurl = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport" | ||
17 | pv = d.getVar('PV') | ||
18 | pvsplit = pv.split('.') | ||
19 | |||
20 | if len(pvsplit) != 3: | ||
21 | d.setVar('SRC_URI', "%s-%s.tar.gz" % (baseurl, pv)) | ||
22 | d.setVar('S', "${WORKDIR}/XML-NamespaceSupport-${PV}") | ||
23 | else: | ||
24 | pvx, pvy, pvz = pvsplit | ||
25 | d.setVar('SRC_URI', "%s-%s.%s_%s.tar.gz" % (baseurl, pvx, pvy, pvz)) | ||
26 | d.setVar('S', "${WORKDIR}/XML-NamespaceSupport-%s.%s_%s" % (pvx, pvy, pvz)) | ||
27 | } | ||
28 | |||
29 | SRC_URI[md5sum] = "165927a311fb640961b28607035beab8" | ||
30 | SRC_URI[sha256sum] = "2e84a057f0a8c845a612d212742cb94fca4fc8a433150b5721bd448f77d1e4a9" | ||
31 | |||
32 | inherit cpan | ||
33 | |||
34 | BBCLASSEXTEND="native" | ||
35 | |||
diff --git a/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb b/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb deleted file mode 100644 index 3498a286d4..0000000000 --- a/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | SUMMARY = "Perl module for supporting simple generic namespaces" | ||
2 | HOMEPAGE = "http://veillard.com/XML/" | ||
3 | DESCRIPTION = "XML::NamespaceSupport offers a simple way to process namespace-based XML names. \ | ||
4 | It also helps maintain a prefix-to-namespace URI map, and provides a number of \ | ||
5 | basic checks. " | ||
6 | |||
7 | SECTION = "libs" | ||
8 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
9 | PR = "r3" | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://META.yml;beginline=22;endline=22;md5=9ca1a4a941496e7feedac72c4fb8b137" | ||
12 | |||
13 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${PV}.tar.gz" | ||
14 | SRC_URI[md5sum] = "a8916c6d095bcf073e1108af02e78c97" | ||
15 | SRC_URI[sha256sum] = "47e995859f8dd0413aa3f22d350c4a62da652e854267aa0586ae544ae2bae5ef" | ||
16 | |||
17 | |||
18 | S = "${WORKDIR}/XML-NamespaceSupport-${PV}" | ||
19 | |||
20 | inherit cpan | ||
21 | |||
22 | BBCLASSEXTEND="native" | ||
23 | |||