From: leonardo.sandoval.gonzalez@linux.intel.com
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v3 4/5] libxml-namespacesupport-perl: upgrade to 1.12.9
Date: Tue, 17 Oct 2017 12:11:29 -0700 [thread overview]
Message-ID: <20171017191130.41996-4-leonardo.sandoval.gonzalez@linux.intel.com> (raw)
In-Reply-To: <20171017191130.41996-1-leonardo.sandoval.gonzalez@linux.intel.com>
From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
---
.../perl/libxml-namespacesupport-perl_1.12.9.bb | 35 ++++++++++++++++++++++
.../perl/libxml-namespacesupport-perl_1.12.bb | 23 --------------
2 files changed, 35 insertions(+), 23 deletions(-)
create mode 100644 meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.9.bb
delete mode 100644 meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb
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 @@
+SUMMARY = "Perl module for supporting simple generic namespaces"
+HOMEPAGE = "http://veillard.com/XML/"
+DESCRIPTION = "XML::NamespaceSupport offers a simple way to process namespace-based XML names. \
+ It also helps maintain a prefix-to-namespace URI map, and provides a number of \
+ basic checks. "
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r3"
+
+LIC_FILES_CHKSUM = "file://META.yml;beginline=22;endline=22;md5=9ca1a4a941496e7feedac72c4fb8b137"
+
+# the upstream project complicate a bit url generartion on point release, using a underscore
+# instead of a point on URL, i.e 1.12_9 instead of 1.12.9
+python () {
+ baseurl = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport"
+ pv = d.getVar('PV')
+ pvsplit = pv.split('.')
+
+ if len(pvsplit) != 3:
+ d.setVar('SRC_URI', "%s-%s.tar.gz" % (baseurl, pv))
+ d.setVar('S', "${WORKDIR}/XML-NamespaceSupport-${PV}")
+ else:
+ pvx, pvy, pvz = pvsplit
+ d.setVar('SRC_URI', "%s-%s.%s_%s.tar.gz" % (baseurl, pvx, pvy, pvz))
+ d.setVar('S', "${WORKDIR}/XML-NamespaceSupport-%s.%s_%s" % (pvx, pvy, pvz))
+}
+
+SRC_URI[md5sum] = "165927a311fb640961b28607035beab8"
+SRC_URI[sha256sum] = "2e84a057f0a8c845a612d212742cb94fca4fc8a433150b5721bd448f77d1e4a9"
+
+inherit cpan
+
+BBCLASSEXTEND="native"
+
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 @@
-SUMMARY = "Perl module for supporting simple generic namespaces"
-HOMEPAGE = "http://veillard.com/XML/"
-DESCRIPTION = "XML::NamespaceSupport offers a simple way to process namespace-based XML names. \
- It also helps maintain a prefix-to-namespace URI map, and provides a number of \
- basic checks. "
-
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-PR = "r3"
-
-LIC_FILES_CHKSUM = "file://META.yml;beginline=22;endline=22;md5=9ca1a4a941496e7feedac72c4fb8b137"
-
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${PV}.tar.gz"
-SRC_URI[md5sum] = "a8916c6d095bcf073e1108af02e78c97"
-SRC_URI[sha256sum] = "47e995859f8dd0413aa3f22d350c4a62da652e854267aa0586ae544ae2bae5ef"
-
-
-S = "${WORKDIR}/XML-NamespaceSupport-${PV}"
-
-inherit cpan
-
-BBCLASSEXTEND="native"
-
--
2.12.3
next prev parent reply other threads:[~2017-10-17 19:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 19:11 [PATCH v3 1/5] perl-native: upgrade from 5.24.1 to 5.26.1 leonardo.sandoval.gonzalez
2017-10-17 19:11 ` [PATCH v3 2/5] perl: upgrade " leonardo.sandoval.gonzalez
2017-10-17 19:11 ` [PATCH v3 3/5] git.inc: remove sed statement removing SVN lines from .packlist leonardo.sandoval.gonzalez
2017-10-17 19:11 ` leonardo.sandoval.gonzalez [this message]
2017-10-17 19:11 ` [PATCH v3 5/5] ruby: upgrade to 2.4.2 leonardo.sandoval.gonzalez
2017-10-18 10:38 ` [PATCH v3 1/5] perl-native: upgrade from 5.24.1 to 5.26.1 Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171017191130.41996-4-leonardo.sandoval.gonzalez@linux.intel.com \
--to=leonardo.sandoval.gonzalez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.