From ca7c4a6cf38b751414251e08e001e48af46dfa7f Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 11 May 2021 19:52:13 +0300 Subject: python3-serpent: Upgrade 1.30.2 -> 1.40 Upgrade to release 1.40: - dotnet: added optiononal bytes repr (de)serialization - java: added optional bytes-repr (de)serialization - added unittest for new bytes-repr form - add parameter to serialize bytes into byte literal representation instead of base-64 (which remains the default) License-Update: Use file LICENSE. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-serpent_1.40.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-serpent_1.40.bb (limited to 'meta-python/recipes-devtools/python/python3-serpent_1.40.bb') diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.40.bb b/meta-python/recipes-devtools/python/python3-serpent_1.40.bb new file mode 100644 index 0000000000..305222f764 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-serpent_1.40.bb @@ -0,0 +1,26 @@ +SUMMARY = "Serialization based on ast.literal_eval" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d7c28f460fafe7be454fcdcac0b60263" + +SRC_URI[sha256sum] = "10b34e7f8e3207ee6fb70dcdc9bce473851ee3daf0b47c58aec1b48032ac11ce" + +inherit pypi ptest setuptools3 + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytz \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ +" -- cgit v1.2.3-54-g00ecf