[OE-core] [PATCH 03/27] python-scons: fix upstream version check

Alexander Kanavin alexander.kanavin at linux.intel.com
Tue Nov 14 14:57:30 UTC 2017


Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
---
 meta/recipes-devtools/python/python-scons_3.0.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 33bfb45e2e4..8fe74f4b3c1 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}"
 
-- 
2.15.0




More information about the Openembedded-core mailing list