diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2017-06-29 13:56:39 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-06-29 15:28:30 -0400 |
commit | 6535b4a3ec1f2c2c62dd394f17227a6fa18d03cb (patch) | |
tree | 9910165334e79448e36853130c9e92c473e88eb1 | |
parent | 1efe010daaf766cbc26965c6e00df798a207a480 (diff) | |
download | meta-cloud-services-6535b4a3ec1f2c2c62dd394f17227a6fa18d03cb.tar.gz |
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 a3a7ec0..fef8d5f 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}" | |||
17 | inherit setuptools | 17 | inherit setuptools |
18 | 18 | ||
19 | DEPENDS += "python-vcversioner" | 19 | DEPENDS += "python-vcversioner" |
20 | |||
21 | # Satisfy setup.py 'setup_requires' | ||
22 | DEPENDS += " \ | ||
23 | python-vcversioner-native \ | ||
24 | " | ||
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 2fe96ab..bcff6f3 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 | |||
14 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 14 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
15 | 15 | ||
16 | inherit setuptools | 16 | inherit setuptools |
17 | |||
18 | |||
19 | DEPENDS_class-native += " \ | ||
20 | python \ | ||
21 | python-setuptools \ | ||
22 | " | ||
23 | |||
24 | BBCLASSEXTEND = "native" | ||