On Sun, Aug 18, 2019 at 7:13 PM Yuan Chao <[email protected]> wrote:
> Add depends of python-vcversioner and python3-vcversioner. > > Signed-off-by: Yuan Chao <[email protected]> > --- > meta-python/recipes-devtools/python/python-flask-pymongo.inc | 6 > ++++-- > ...{python-flask-pymongo_0.5.1.bb => python-flask-pymongo_2.3.0.bb} | 0 > ...ython3-flask-pymongo_0.5.1.bb => python3-flask-pymongo_2.3.0.bb} | 0 > 3 files changed, 4 insertions(+), 2 deletions(-) > rename meta-python/recipes-devtools/python/{python-flask-pymongo_0.5.1.bb > => python-flask-pymongo_2.3.0.bb} (100%) > rename meta-python/recipes-devtools/python/{ > python3-flask-pymongo_0.5.1.bb => python3-flask-pymongo_2.3.0.bb} (100%) > > diff --git a/meta-python/recipes-devtools/python/python-flask-pymongo.inc > b/meta-python/recipes-devtools/python/python-flask-pymongo.inc > index fb2d6ed..bc41fd2 100644 > --- a/meta-python/recipes-devtools/python/python-flask-pymongo.inc > +++ b/meta-python/recipes-devtools/python/python-flask-pymongo.inc > @@ -5,9 +5,11 @@ SECTION = "devel/python" > LICENSE = "BSD" > LIC_FILES_CHKSUM = > "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5=424c4e1047d28e01b4e4634a069c019d" > > -SRC_URI[md5sum] = "d7a1b717f27154e1f3a355f8ec2467d6" > -SRC_URI[sha256sum] = > "2baaa2ba5107d72b3a8bd4b5c0c8881316e35340ad1ae979cc13f1f3c8843b3d" > +SRC_URI[md5sum] = "94df71e6800b1d7915cc91a74b70f959" > +SRC_URI[sha256sum] = > "620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314" > > PYPI_PACKAGE = "Flask-PyMongo" > > +DEPENDS = "python-vcversioner python-vcversioner-native > python3-vcversioner python3-vcversioner-native" > + Nacked-by: Tim Orling <[email protected]> This is not the right way to do this. Use ${PYTHON_PN} otherwise you are forcing build of both python 2 and python 3 packages every time. We will be moving python 2 support out of meta-python in preparation for Python 2 EOL next year. Also, does it DEPEND (build time dependency) on both the native and target vcversioner? That doesn’t feel right. > > RDEPENDS_${PN} = "${PYTHON_PN}-pymongo ${PYTHON_PN}-flask" > diff --git a/meta-python/recipes-devtools/python/ > python-flask-pymongo_0.5.1.bb b/meta-python/recipes-devtools/python/ > python-flask-pymongo_2.3.0.bb > similarity index 100% > rename from meta-python/recipes-devtools/python/ > python-flask-pymongo_0.5.1.bb > rename to meta-python/recipes-devtools/python/ > python-flask-pymongo_2.3.0.bb > diff --git a/meta-python/recipes-devtools/python/ > python3-flask-pymongo_0.5.1.bb b/meta-python/recipes-devtools/python/ > python3-flask-pymongo_2.3.0.bb > similarity index 100% > rename from meta-python/recipes-devtools/python/ > python3-flask-pymongo_0.5.1.bb > rename to meta-python/recipes-devtools/python/ > python3-flask-pymongo_2.3.0.bb > -- > 2.7.4 > > > > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
