aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-11-14 16:57:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-29 23:41:37 +0000
commitf7593743ebb9ecb321c436659a0a1b12907282b7 (patch)
tree2788e1286e80cd0be4c9044ea1767355eb0681a7
parentbb9066670a6096aa4134bebc84132b4eb3964b6d (diff)
downloadopenembedded-core-f7593743ebb9ecb321c436659a0a1b12907282b7.zip
openembedded-core-f7593743ebb9ecb321c436659a0a1b12907282b7.tar.gz
openembedded-core-f7593743ebb9ecb321c436659a0a1b12907282b7.tar.bz2
python-scons: fix upstream version check
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/python/python-scons_3.0.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-scons_3.0.0.bb b/meta/recipes-devtools/python/python-scons_3.0.0.bb
index 33bfb45..8fe74f4 100644
--- a/meta/recipes-devtools/python/python-scons_3.0.0.bb
+++ b/meta/recipes-devtools/python/python-scons_3.0.0.bb
@@ -10,7 +10,8 @@ SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME
SRC_URI[md5sum] = "7ca558edaaa1942fe38f3105ca2400fb"
SRC_URI[sha256sum] = "aa5afb33c2bbd33c311e47e912412195739e9ffb2e933534a31f85fba8f3470e"
-UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/SCons/"
+UPSTREAM_CHECK_URI = "http://scons.org/pages/download.html"
+UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
S = "${WORKDIR}/${SRCNAME}-${PV}"