From 4e5c9f5851b4f353f2ee03a314fc7fb1f2e47398 Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 13 Jan 2020 11:26:42 +0800 Subject: python-memcached: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-memcached.inc | 21 ++++++++++++++++++++ .../python/python-memcached_git.bb | 23 +--------------------- .../python/python3-memcached_git.bb | 2 ++ 3 files changed, 24 insertions(+), 22 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-memcached.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-memcached_git.bb (limited to 'meta-openstack') diff --git a/meta-openstack/recipes-devtools/python/python-memcached.inc b/meta-openstack/recipes-devtools/python/python-memcached.inc new file mode 100644 index 0000000..5acf43c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-memcached.inc @@ -0,0 +1,21 @@ +SUMMARY = "Pure python memcached client" +DESCRIPTION = "\ + This software is a 100% Python interface to the memcached memory cache daemon. \ + It is the client side software which allows storing values in one or more, possibly remote, \ + memcached servers. Search google for memcached for more information." +HOMEPAGE = "https://pypi.python.org/pypi/python-memcached/" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://PSF.LICENSE;md5=7dd786e8594f1e787da94a946557b40e" + +PV = "1.57+git${SRCPV}" +SRCREV = "664bd3e23fe500fbde4c70636e2d24c8fd2f35af" + +SRC_URI = "git://github.com/linsomniac/python-memcached.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-six \ + " + diff --git a/meta-openstack/recipes-devtools/python/python-memcached_git.bb b/meta-openstack/recipes-devtools/python/python-memcached_git.bb index 9237af3..f237d56 100644 --- a/meta-openstack/recipes-devtools/python/python-memcached_git.bb +++ b/meta-openstack/recipes-devtools/python/python-memcached_git.bb @@ -1,23 +1,2 @@ -SUMMARY = "Pure python memcached client" -DESCRIPTION = "\ - This software is a 100% Python interface to the memcached memory cache daemon. \ - It is the client side software which allows storing values in one or more, possibly remote, \ - memcached servers. Search google for memcached for more information." -HOMEPAGE = "https://pypi.python.org/pypi/python-memcached/" -SECTION = "devel/python" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://PSF.LICENSE;md5=7dd786e8594f1e787da94a946557b40e" - -PV = "1.57+git${SRCPV}" -SRCREV = "664bd3e23fe500fbde4c70636e2d24c8fd2f35af" - -SRC_URI = "git://github.com/linsomniac/${BPN}.git" - -S = "${WORKDIR}/git" - +require python-memcached.inc inherit setuptools - -RDEPENDS_${PN} += " \ - python-six \ - " - diff --git a/meta-openstack/recipes-devtools/python/python3-memcached_git.bb b/meta-openstack/recipes-devtools/python/python3-memcached_git.bb new file mode 100644 index 0000000..de96734 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-memcached_git.bb @@ -0,0 +1,2 @@ +require python-memcached.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf