diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-31 23:31:13 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-31 23:49:54 -0400 |
| commit | 0cffcd09a44b2a58452a5bb13714bfc47d6546bf (patch) | |
| tree | b91584b573ce42431a35a9b8f064d8be57974e1e /meta-openstack/recipes-devtools/python/python-rally_git.bb | |
| parent | e887a996155f8b9f22d6aca0e31b5fbccd82751e (diff) | |
| download | meta-cloud-services-0cffcd09a44b2a58452a5bb13714bfc47d6546bf.tar.gz | |
global: overrides conversion
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-rally_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-rally_git.bb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-rally_git.bb b/meta-openstack/recipes-devtools/python/python-rally_git.bb index ef86418..063a2b9 100644 --- a/meta-openstack/recipes-devtools/python/python-rally_git.bb +++ b/meta-openstack/recipes-devtools/python/python-rally_git.bb | |||
| @@ -26,7 +26,7 @@ S = "${WORKDIR}/git" | |||
| 26 | 26 | ||
| 27 | inherit setuptools3 update-rc.d hosts identity default_configs | 27 | inherit setuptools3 update-rc.d hosts identity default_configs |
| 28 | 28 | ||
| 29 | do_install_append() { | 29 | do_install:append() { |
| 30 | RALLY_CONF_DIR=${D}${sysconfdir}/${SRCNAME} | 30 | RALLY_CONF_DIR=${D}${sysconfdir}/${SRCNAME} |
| 31 | RALLY_PYTHON_SITEPACKAGES_DIR=${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME} | 31 | RALLY_PYTHON_SITEPACKAGES_DIR=${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME} |
| 32 | 32 | ||
| @@ -62,7 +62,7 @@ do_install_append() { | |||
| 62 | cp -r ${S}/tools ${RALLY_CONF_DIR} | 62 | cp -r ${S}/tools ${RALLY_CONF_DIR} |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | pkg_postinst_${SRCNAME}-setup () { | 65 | pkg_postinst:${SRCNAME}-setup () { |
| 66 | if [ -z "$D" ]; then | 66 | if [ -z "$D" ]; then |
| 67 | # This is to make sure postgres is configured and running | 67 | # This is to make sure postgres is configured and running |
| 68 | if ! pidof postmaster > /dev/null; then | 68 | if ! pidof postmaster > /dev/null; then |
| @@ -80,18 +80,18 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | PACKAGES += "${SRCNAME}-tests ${SRCNAME}-api ${SRCNAME} ${SRCNAME}-setup" | 82 | PACKAGES += "${SRCNAME}-tests ${SRCNAME}-api ${SRCNAME} ${SRCNAME}-setup" |
| 83 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 83 | ALLOW_EMPTY:${SRCNAME}-setup = "1" |
| 84 | 84 | ||
| 85 | FILES_${PN} = "${libdir}/*" | 85 | FILES:${PN} = "${libdir}/*" |
| 86 | 86 | ||
| 87 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh \ | 87 | FILES:${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh \ |
| 88 | " | 88 | " |
| 89 | 89 | ||
| 90 | FILES_${SRCNAME} = "${bindir}/* \ | 90 | FILES:${SRCNAME} = "${bindir}/* \ |
| 91 | ${sysconfdir}/${SRCNAME}/* \ | 91 | ${sysconfdir}/${SRCNAME}/* \ |
| 92 | " | 92 | " |
| 93 | 93 | ||
| 94 | FILES_${SRCNAME}-api = "${bindir}/rally-api \ | 94 | FILES:${SRCNAME}-api = "${bindir}/rally-api \ |
| 95 | ${sysconfdir}/init.d/rally-api \ | 95 | ${sysconfdir}/init.d/rally-api \ |
| 96 | " | 96 | " |
| 97 | 97 | ||
| @@ -105,7 +105,7 @@ DEPENDS += " \ | |||
| 105 | python-pbr-native \ | 105 | python-pbr-native \ |
| 106 | " | 106 | " |
| 107 | 107 | ||
| 108 | RDEPENDS_${PN} += " python-babel \ | 108 | RDEPENDS:${PN} += " python-babel \ |
| 109 | python-decorator \ | 109 | python-decorator \ |
| 110 | python-fixtures \ | 110 | python-fixtures \ |
| 111 | python-iso8601 \ | 111 | python-iso8601 \ |
| @@ -131,7 +131,7 @@ RDEPENDS_${PN} += " python-babel \ | |||
| 131 | python-wsme \ | 131 | python-wsme \ |
| 132 | " | 132 | " |
| 133 | 133 | ||
| 134 | RDEPENDS_${SRCNAME}-tests = "${PN} \ | 134 | RDEPENDS:${SRCNAME}-tests = "${PN} \ |
| 135 | python-coverage \ | 135 | python-coverage \ |
| 136 | python-mock \ | 136 | python-mock \ |
| 137 | python-testrepository \ | 137 | python-testrepository \ |
| @@ -139,14 +139,14 @@ RDEPENDS_${SRCNAME}-tests = "${PN} \ | |||
| 139 | python-oslotest \ | 139 | python-oslotest \ |
| 140 | " | 140 | " |
| 141 | 141 | ||
| 142 | RDEPENDS_${SRCNAME} = "${PN} \ | 142 | RDEPENDS:${SRCNAME} = "${PN} \ |
| 143 | postgresql \ | 143 | postgresql \ |
| 144 | postgresql-client \ | 144 | postgresql-client \ |
| 145 | " | 145 | " |
| 146 | 146 | ||
| 147 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" | 147 | RDEPENDS:${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" |
| 148 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}" | 148 | RDEPENDS:${SRCNAME}-api = "${SRCNAME}" |
| 149 | 149 | ||
| 150 | INITSCRIPT_PACKAGES = "${SRCNAME}-api" | 150 | INITSCRIPT_PACKAGES = "${SRCNAME}-api" |
| 151 | INITSCRIPT_NAME_${SRCNAME}-api = "${SRCNAME}-api" | 151 | INITSCRIPT_NAME:${SRCNAME}-api = "${SRCNAME}-api" |
| 152 | INITSCRIPT_PARAMS_${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 152 | INITSCRIPT_PARAMS:${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
