From 5a45aa504a37a45fa28daeb26b56c046f0419ade Mon Sep 17 00:00:00 2001 From: alperak Date: Thu, 8 Feb 2024 15:00:45 +0300 Subject: python3-strenum: add recipe StrEnum is a Python enum.Enum that inherits from str to complement enum.IntEnum in the standard library Signed-off-by: alperak Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-strenum_0.4.15.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb (limited to 'meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb') diff --git a/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb b/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb new file mode 100644 index 0000000000..aa85189ee5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb @@ -0,0 +1,14 @@ +SUMMARY = "An Enum that inherits from str" +HOMEPAGE = "https://github.com/irgeek/StrEnum" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ba0eb3de1df70bde0ed48488cfd81269" + +SRC_URI += "file://0001-patch-versioneer-for-python-3.12-compatibility.patch" + +DEPENDS = "${PYTHON_PN}-pytest-runner-native" + +SRC_URI[sha256sum] = "878fb5ab705442070e4dd1929bb5e2249511c0bcf2b0eeacf3bcd80875c82eff" + +PYPI_PACKAGE = "StrEnum" + +inherit pypi python_setuptools_build_meta -- cgit v1.2.3-54-g00ecf