aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-11-16 16:34:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-08 10:20:09 +0000
commit1eb9e190ef3bb1170b3eaabd9f7900e7ce176624 (patch)
tree26a02e4147f6dad936ea992325206e94c534e9d2 /meta/recipes-devtools/python/python.inc
parent4c5899fa0b8258f2754e3080dae5535e3b248e91 (diff)
downloadopenembedded-core-1eb9e190ef3bb1170b3eaabd9f7900e7ce176624.tar.gz
package_regex.inc: split entries which blacklist specific versions to their recipes
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python.inc')
-rw-r--r--meta/recipes-devtools/python/python.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index 4d428f3d07..878f5826be 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -12,6 +12,10 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz"
SRC_URI[md5sum] = "38d530f7efc373d64a8fb1637e3baaa7"
SRC_URI[sha256sum] = "90d27e14ea7e03570026850e2e50ba71ad20b7eb31035aada1cf3def8f8d4916"
+# python recipe is actually python 2.x
+# also, exclude pre-releases for both python 2.x and 3.x
+UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>2(\.\d+)+).tar"
+
PYTHON_MAJMIN = "2.7"
inherit autotools