Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 32ABAE00AB6; Sat, 9 Jan 2016 11:27:27 -0800 (PST) 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 7A5F6E00AAA for ; Sat, 9 Jan 2016 11:27:23 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id u09JRNEd014501 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sat, 9 Jan 2016 11:27:23 -0800 (PST) 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.248.2; Sat, 9 Jan 2016 11:27:22 -0800 From: Mark Asselstine To: Date: Sat, 9 Jan 2016 14:27:21 -0500 Message-ID: <1452367642-26161-1-git-send-email-mark.asselstine@windriver.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: meta-virtualization@yoctoproject.org Subject: [m-c-s][PATCH 1/2] python-monotonic: add new recipe to fulfil dependencies 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: Sat, 09 Jan 2016 19:27:27 -0000 Content-Type: text/plain This package is required by uprevs of trove, nova, several oslo packages, to name a few. Adding this package so that it is available for these uprevs as we move to openstack liberty. This python module provides access to the value, in fractions of a second, of a clock. Signed-off-by: Mark Asselstine --- .../python/python-monotonic_git.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-monotonic_git.bb diff --git a/meta-openstack/recipes-devtools/python/python-monotonic_git.bb b/meta-openstack/recipes-devtools/python/python-monotonic_git.bb new file mode 100644 index 0000000..2552409 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-monotonic_git.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "An implementation of time.monotonic()" +HOMEPAGE = "https://github.com/atdt/monotonic" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" + +PV = "0.4" +SRCREV = "93b3d3ba63597e57b20333db4e33ca0f48debf2a" + +SRCNAME = "monotonic" +SRC_URI = "git://github.com/atdt/${SRCNAME}.git" + +S = "${WORKDIR}/git" + +inherit distutils + +DEPENDS += " \ + python-pbr \ + " + +RDEPENDS_${PN} += " \ + python-pbr \ + " + +do_install_append() { + # Using these "longest" paths will ensure needed shorter paths will be created + install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info + + install -m 644 ${S}/${SRCNAME}.py ${D}/${libdir}/python2.7/site-packages/ + install -m 644 ${S}/${SRCNAME}.egg-info/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info/ +} -- 2.1.4