diff options
author | 2017-06-29 13:56:39 -0400 | |
---|---|---|
committer | 2017-06-29 15:01:17 -0400 | |
commit | 3bd48fe64c0459bb09d2b17c6606e020896ebeb5 (patch) | |
tree | 6a52874192e225d7b9b001ef193607dccac41aec | |
parent | bf6dc0176c734d824c1837408194e53cfd80f1f7 (diff) | |
download | meta-cloud-services-3bd48fe64c0459bb09d2b17c6606e020896ebeb5.tar.gz meta-cloud-services-3bd48fe64c0459bb09d2b17c6606e020896ebeb5.tar.bz2 meta-cloud-services-3bd48fe64c0459bb09d2b17c6606e020896ebeb5.zip |
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 <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb | 5 | ||||
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-vcversioner_2.14.0.0.bb | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb b/meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb index a3a7ec07..fef8d5fb 100644 --- a/meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb +++ b/meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb @@ -17,3 +17,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools DEPENDS += "python-vcversioner" + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-vcversioner-native \ + " diff --git a/meta-openstack/recipes-devtools/python/python-vcversioner_2.14.0.0.bb b/meta-openstack/recipes-devtools/python/python-vcversioner_2.14.0.0.bb index 2fe96ab8..bcff6f35 100644 --- a/meta-openstack/recipes-devtools/python/python-vcversioner_2.14.0.0.bb +++ b/meta-openstack/recipes-devtools/python/python-vcversioner_2.14.0.0.bb @@ -14,3 +14,11 @@ SRC_URI[sha256sum] = "acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + + +DEPENDS_class-native += " \ + python \ + python-setuptools \ + " + +BBCLASSEXTEND = "native" |