[oe] [meta-python][PATCH 3/4] python-protobuf: add UPSTREAM_CHECK_REGEX

Yi Zhao yi.zhao at windriver.com
Wed May 30 06:38:09 UTC 2018


Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
 meta-python/recipes-devtools/python/python-protobuf.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc b/meta-python/recipes-devtools/python/python-protobuf.inc
index b84983d..5802fea 100644
--- a/meta-python/recipes-devtools/python/python-protobuf.inc
+++ b/meta-python/recipes-devtools/python/python-protobuf.inc
@@ -10,6 +10,8 @@ inherit pypi
 SRC_URI[md5sum] = "393a53483224cb338df5c643646c0300"
 SRC_URI[sha256sum] = "09879a295fd7234e523b62066223b128c5a8a88f682e3aff62fb115e4a0d8be0"
 
+UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/"
+
 RDEPENDS_${PN} += " \
     ${PYTHON_PN}-datetime \
     ${PYTHON_PN}-json \
-- 
2.7.4




More information about the Openembedded-devel mailing list