summaryrefslogtreecommitdiffstats
path: root/meta-python
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
parent684c76f0e360bd3190581576013c1b9c79cbcb67 (diff)
downloadmeta-openembedded-3d383cce9a697a8854047a7af74e9d4e56738678.tar.gz
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')
-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 3d81ab3c2..e5d7ab3ce 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}/"
21SECTION = "devel/python" 21SECTION = "devel/python"
22SRC_URI += "${PYPI_SRC_URI}" 22SRC_URI += "${PYPI_SRC_URI}"
23S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" 23S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}"
24
25UPSTREAM_CHECK_URI ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/"
26UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)"