Signed-off-by: Zang Ruochen <[email protected]> --- .../python/python-cachetools.inc | 14 ++++++++++++++ .../python/python-cachetools_git.bb | 16 +--------------- .../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
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 -- 2.20.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4776): https://lists.yoctoproject.org/g/meta-virtualization/message/4776 Mute This Topic: https://lists.yoctoproject.org/mt/64313181/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
