From de0d5a1e8c83d3cf26d389f6a52244d183df110d Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 1 Nov 2023 16:32:40 +0200 Subject: python3-pymemcache: add recipe Add pymemcache, a comprehensive, fast, pure Python memcached client. Version 4.0.0 brings: - Drop python support for 2.7, 3.4 and 3.5 - Use default for get ignore_exc - Return default from hash client - Return default from hash client when using positional argument - Support noreply for hash flush_all - Drop support for Python 3.6 - Add official support for Python 3.10 - Handle a blank stat value - Small buffer pass optimization - Expand Client with a method for sending arbitrary commands - Add pluggable compression serde - Start to add type hints - Add py.typed file - Fix key_prefix issue with stats and cache_memlimit This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-pymemcache_4.0.0.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb b/meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb new file mode 100644 index 0000000000..2a09e96949 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "A comprehensive, fast, pure Python memcached client" +HOMEPAGE = "https://github.com/pinterest/pymemcache" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" + +PYPI_PACKAGE = "pymemcache" + +SRC_URI[sha256sum] = "27bf9bd1bbc1e20f83633208620d56de50f14185055e49504f4f5e94e94aff94" + +inherit pypi setuptools3 + +DEPENDS += " \ + ${PYTHON_PN}-setuptools-scm-native \ + ${PYTHON_PN}-six-native \ +" + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-logging \ +" -- cgit v1.2.3-54-g00ecf