diff options
author | Derek Straka <derek@asterius.io> | 2016-12-06 14:01:40 -0500 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-12-13 11:19:34 +0100 |
commit | 3d383cce9a697a8854047a7af74e9d4e56738678 (patch) | |
tree | 58016e11b6161b14a95907c385d6bf6ce062af1c /meta-python | |
parent | 684c76f0e360bd3190581576013c1b9c79cbcb67 (diff) | |
download | meta-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.bbclass | 3 |
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}/" | |||
21 | SECTION = "devel/python" | 21 | SECTION = "devel/python" |
22 | SRC_URI += "${PYPI_SRC_URI}" | 22 | SRC_URI += "${PYPI_SRC_URI}" |
23 | S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" | 23 | S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" |
24 | |||
25 | UPSTREAM_CHECK_URI ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/" | ||
26 | UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)" | ||