summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.2.0.bb')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.2.0.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.2.0.bb
new file mode 100644
index 0000000000..aa274a46f8
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.2.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Use git repo data for building a version number according PEP-440"
+HOMEPAGE = "https://setuptools-git-versioning.readthedocs.io"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=92e79e3a844e66731724600f3ac9c0d8"
+
+SRC_URI[sha256sum] = "27aa1ad0409b632ee49947ea592cc27e16fbb2a1605cc22efeb7c353fd790b31"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-wheel-native"
+
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[python-version-smaller-3-dot-11] = ",,,python3-tomli"
+
+RDEPENDS:${PN} += "python3-core python3-datetime python3-logging \
+ python3-packaging python3-pprint python3-setuptools \
+ python3-tomllib"
+
+BBCLASSEXTEND += "native"