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 <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
alperak
2024-02-08 15:00:45 +03:00
committed by Khem Raj
parent ae8d977076
commit 5a45aa504a
2 changed files with 51 additions and 0 deletions

View File

@@ -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