From ec16a992e6589fc5ddcd80510120f0d960794f65 Mon Sep 17 00:00:00 2001 From: zangrc Date: Fri, 29 Nov 2019 10:18:52 +0800 Subject: python-cachetools: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-cachetools.inc | 14 ++++++++++++++ .../recipes-devtools/python/python-cachetools_git.bb | 16 +--------------- .../recipes-devtools/python/python3-cachetools_git.bb | 2 ++ 3 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-cachetools.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-cachetools_git.bb (limited to 'meta-openstack') diff --git a/meta-openstack/recipes-devtools/python/python-cachetools.inc b/meta-openstack/recipes-devtools/python/python-cachetools.inc new file mode 100644 index 0000000..a67794f --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cachetools.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Extensible memoizing collections and decorators" +HOMEPAGE = "https://github.com/tkem/cachetools" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=96c958336b659af4dad628356c5e43b6" + +SRCNAME = "cachetools" + +PV = "1.1.5+git${SRCPV}" +SRCREV = "42853733d0caf68ef5bf5933a377572b05437e2c" + +SRC_URI = "git://github.com/tkem/${SRCNAME}.git" + +S = "${WORKDIR}/git" diff --git a/meta-openstack/recipes-devtools/python/python-cachetools_git.bb b/meta-openstack/recipes-devtools/python/python-cachetools_git.bb index f3d89b3..ff0049f 100644 --- a/meta-openstack/recipes-devtools/python/python-cachetools_git.bb +++ b/meta-openstack/recipes-devtools/python/python-cachetools_git.bb @@ -1,16 +1,2 @@ -DESCRIPTION = "Extensible memoizing collections and decorators" -HOMEPAGE = "https://github.com/tkem/cachetools" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=96c958336b659af4dad628356c5e43b6" - -SRCNAME = "cachetools" - -PV = "1.1.5+git${SRCPV}" -SRCREV = "42853733d0caf68ef5bf5933a377572b05437e2c" - -SRC_URI = "git://github.com/tkem/${SRCNAME}.git" - -S = "${WORKDIR}/git" - +require python-cachetools.inc inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-cachetools_git.bb b/meta-openstack/recipes-devtools/python/python3-cachetools_git.bb new file mode 100644 index 0000000..14e8b8c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-cachetools_git.bb @@ -0,0 +1,2 @@ +require python-cachetools.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf