refactor for YP Compat for PV changes

Only include our versions of recipes if virtualiztions is in
DISTRO_FEATURE

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Armin Kuster 2018-04-20 07:34:56 -07:00 committed by Bruce Ashfield
parent d4182f50f1
commit 032ef53104
9 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,9 @@
# Meta-virtuailization PREFERED_VERSION
PREFERRED_VERSION_python-blinker = "1.3"
PREFERRED_VERSION_python-gevent = "1.0.1"
PREFERRED_VERSION_python-m2crypto = "0.22.3"
PREFERRED_VERSION_python-pyyaml = "3.11"
PREFERRED_VERSION_python-redis = "2.10.3"
PREFERRED_VERSION_python-sqlalchemy = "1.1.5"
PREFERRED_VERSION_python-werkzeug = "0.10.4"

View File

@ -26,3 +26,5 @@ PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers"
# Sanity check for meta-virtualization layer.
# Setting SKIP_META_VIRT_SANITY_CHECK to "1" would skip the bbappend files check.
INHERIT += "sanity-meta-virt"
require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', 'meta-virt-default-versions.inc', '', d)}

View File

@ -18,5 +18,7 @@ SRC_URI[sha256sum] = "6811010809262261e41ab7b92f3f6d23f35cf816fbec2bc05077992eeb
S = "${WORKDIR}/${SRCNAME}-${PV}"
DEFAULT_PREFERENCE = "-1"
inherit setuptools

View File

@ -25,4 +25,6 @@ SRC_URI += "file://gevent-allow-ssl-v2-or-v3-certificates.patch"
# so always force a cross compile
do_configure_append() {
sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/libev/configure
}
}
DEFAULT_PREFERENCE = "-1"

View File

@ -22,6 +22,8 @@ SRC_URI += " \
SRC_URI[md5sum] = "573f21aaac7d5c9549798e72ffcefedd"
SRC_URI[sha256sum] = "6071bfc817d94723e9b458a010d565365104f84aa73f7fe11919871f7562ff72"
DEFAULT_PREFERENCE = "-1"
inherit setuptools pypi
DEPENDS += "openssl swig-native"

View File

@ -25,6 +25,8 @@ SRC_URI[sha256sum] = "c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b
S = "${WORKDIR}/${SRCNAME}-${PV}"
DEFAULT_PREFERENCE = "-1"
inherit setuptools
DEPENDS += "libyaml python-cython-native"

View File

@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "a4fb37b02860f6b1617f6469487471fd086dd2d38bbce640c2055862b9
S = "${WORKDIR}/${SRCNAME}-${PV}"
DEFAULT_PREFERENCE = "-1"
inherit setuptools
RDEPENDS_${PN} = "redis"

View File

@ -13,4 +13,6 @@ SRC_URI[sha256sum] = "68fb40049690e567ebda7b270176f5abf0d53d9fbd515fec4e43326f60
S = "${WORKDIR}/${SRCNAME}-${PV}"
DEFAULT_PREFERENCE = "-1"
inherit setuptools

View File

@ -14,6 +14,8 @@ SRC_URI[sha256sum] = "9d2771e4c89be127bc4bac056ab7ceaf0e0064c723d6b6e195739c3af4
S = "${WORKDIR}/${SRCNAME}-${PV}"
DEFAULT_PREFERENCE = "-1"
inherit setuptools
RDEPENDS_${PN} += "python-io \