aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/classes
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2016-12-06 14:01:40 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2016-12-13 11:19:34 +0100
commit3d383cce9a697a8854047a7af74e9d4e56738678 (patch)
tree58016e11b6161b14a95907c385d6bf6ce062af1c /meta-python/classes
parent684c76f0e360bd3190581576013c1b9c79cbcb67 (diff)
downloadmeta-openembedded-contrib-3d383cce9a697a8854047a7af74e9d4e56738678.tar.gz
meta-openembedded-contrib-3d383cce9a697a8854047a7af74e9d4e56738678.tar.bz2
meta-openembedded-contrib-3d383cce9a697a8854047a7af74e9d4e56738678.zip
pypi: add default values for UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/classes')
-rw-r--r--meta-python/classes/pypi.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-python/classes/pypi.bbclass b/meta-python/classes/pypi.bbclass
index 3d81ab3c2f..e5d7ab3ce1 100644
--- a/meta-python/classes/pypi.bbclass
+++ b/meta-python/classes/pypi.bbclass
@@ -21,3 +21,6 @@ HOMEPAGE ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/"
SECTION = "devel/python"
SRC_URI += "${PYPI_SRC_URI}"
S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}"
+
+UPSTREAM_CHECK_URI ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/"
+UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)"