Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 73634E00861; Wed, 12 Aug 2015 12:48:07 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.146.13 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D32C3E0071C for ; Wed, 12 Aug 2015 12:48:03 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.1/8.15.1) with ESMTPS id t7CJm3S8018075 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 12 Aug 2015 12:48:03 -0700 (PDT) Received: from yow-dellw-ma.wrs.com (128.224.56.18) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.235.1; Wed, 12 Aug 2015 12:48:01 -0700 From: Mark Asselstine To: Date: Wed, 12 Aug 2015 15:47:57 -0400 Message-ID: <1439408879-8203-2-git-send-email-mark.asselstine@windriver.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439408879-8203-1-git-send-email-mark.asselstine@windriver.com> References: <1439408879-8203-1-git-send-email-mark.asselstine@windriver.com> MIME-Version: 1.0 Cc: meta-virtualization@yoctoproject.org, mark.asselstine@windriver.com Subject: [m-c-s][PATCH 1/3] python-nova: add missing dependency on sqlparse X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 19:48:07 -0000 Content-Type: text/plain Attempting to use nova-manage, for example to perform 'service list', will result in a python trace indicating that the sqlparse module was not found. Add the python-sqlparse recipe and include it in the RDEPENDS list for nova. Signed-off-by: Mark Asselstine --- .../recipes-devtools/python/python-nova_git.bb | 1 + .../python/python-sqlparse_0.1.16.bb | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 423b0c3..13553f1 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb @@ -322,6 +322,7 @@ RDEPENDS_${PN} = " libvirt \ python-posix-ipc \ python-rfc3986 \ python-oslo.i18n \ + python-sqlparse \ " RDEPENDS_${SRCNAME}-common = "${PN} openssl openssl-misc libxml2 libxslt \ diff --git a/meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb b/meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb new file mode 100644 index 0000000..8ea99d7 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Non-validating SQL parser module" +HOMEPAGE = "http://pypi.python.org/pypi/sqlparse" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=13ec2f893997ca1f516b55496e019a81" + +SRCNAME = "sqlparse" +SRC_URI = "http://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" + +SRC_URI[md5sum] = "370962a307ebaaa70a28b6b0ccb53980" +SRC_URI[sha256sum] = "678c6c36ca4b01405177da8b84eecf92ec92c9f6c762396c965bb5d305f20f81" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +export BUILD_SYS +export HOST_SYS + +inherit setuptools + +# DEPENDS_default: python-pip + +DEPENDS += " \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + " -- 2.1.4