[oe] [meta-python][PATCH] Update UPSTREAM_CHECK variables to allow for version checking
Derek Straka
derek at asterius.io
Fri Feb 24 04:30:53 UTC 2017
Signed-off-by: Derek Straka <derek at asterius.io>
---
meta-python/recipes-devtools/python/python-cryptography-vectors.inc | 2 ++
meta-python/recipes-devtools/python/python-ndg-httpsclient.inc | 2 ++
meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb | 3 +++
3 files changed, 7 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python-cryptography-vectors.inc b/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
index aa35f74..122528b 100644
--- a/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
+++ b/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
@@ -13,3 +13,5 @@ SRC_URI[sha256sum] = "4be4eee8a11deee5c2f00e389b49de8ce2642130282d1cd0adffb2f7db
PYPI_PACKAGE = "cryptography_vectors"
BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = ""
diff --git a/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc b/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
index 1b77a3b..3c6253f 100644
--- a/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
+++ b/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
@@ -14,3 +14,5 @@ DEPENDS += " \
"
BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = ""
diff --git a/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb b/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb
index c8f7b5f..f63457e 100644
--- a/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb
+++ b/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb
@@ -20,3 +20,6 @@ do_install_append() {
chmod 644 "${f}"
done
}
+
+UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PrettyTable/"
+UPSTREAM_CHECK_REGEX = "/PrettyTable/(?P<pver>(\d+[\.\-_]*)+)"
--
2.7.4
More information about the Openembedded-devel
mailing list