aboutsummaryrefslogtreecommitdiffstats
path: root/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
commita287d4a531b4986564fcce7beceeb2865636231c (patch)
tree9dc8da24595d502298d2caaf42b5d141f562fdc0 /classes
parent84cb11a3a7a669665c3f31ee893748dda733a7f6 (diff)
downloadmeta-python2-a287d4a531b4986564fcce7beceeb2865636231c.tar.gz
meta-python2-a287d4a531b4986564fcce7beceeb2865636231c.tar.bz2
meta-python2-a287d4a531b4986564fcce7beceeb2865636231c.zip
pypi: add default values for UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX
(From meta-openembedded commit: 3d383cce9a697a8854047a7af74e9d4e56738678) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/pypi.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/pypi.bbclass b/classes/pypi.bbclass
index 3d81ab3c..e5d7ab3c 100644
--- a/classes/pypi.bbclass
+++ b/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+[\.\-_]*)+)"