python: satisfy setup.py 'setup_requires' for vcversioner
PATCH 1/1 python: satisfy setup.py 'setup_requires' for vcversioner
python-jsonschema has a 'setup_requires' for python vcversioner so we must have a -native version of python-vcversioner and DEPEND on it in order to avoid setup.py downloading the requires from PyPI.
Signed-off-by Mark Asselstine <[email protected]>
--- meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb | 5 +++++ .../recipes-devtools/python/python-vcversioner_2.14.0.0.bb | 8 ++++++++ 2 files changed, 13 insertions(+)
meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb +5 -0
@@ -17,3 +17,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools DEPENDS += "python-vcversioner" + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-vcversioner-native \ + "
meta-openstack/recipes-devtools/python/python-vcversioner_2.14.0.0.bb +8 -0
@@ -14,3 +14,11 @@ SRC_URI[sha256sum] = "acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + + +DEPENDS_class-native += " \ + python \ + python-setuptools \ + " + +BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
merged.
Bruce
Quoted 40 lines · Mark Asselstine
python-jsonschema has a '
setup_requires' for python vcversioner so we must have a -native version of python-vcversioner and DEPEND on it in order to avoidsetup.pydownloading the requires from PyPI.Signed-off-by Mark Asselstine <[email protected]>--- meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb | 5 +++++ .../recipes-devtools/python/python-vcversioner_2.14.0.0.bb | 8 ++++++++ 2 files changed, 13 insertions(+)meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb +5
-0@@ -17,3 +17,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools DEPENDS += "python-vcversioner" + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-vcversioner-native \ + "meta-openstack/recipes-devtools/python/python-vcversioner_2.14.0.0.bb +8
-0@@ -14,3 +14,11 @@ SRC_URI[sha256sum] = "acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + + +DEPENDS_class-native += " \ + python \ + python-setuptools \ + " + +BBCLASSEXTEND = "native"