summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-10-22 13:34:09 -0700
committerKhem Raj <raj.khem@gmail.com>2025-10-24 09:06:24 -0700
commit5d06477ba3cb91980debe92009965742b637b8e6 (patch)
tree1c7acd94c695b40b6e0706d152a9ed7ee41fa033 /meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb
parenta59aa4b34d58355e41bc28fbe35eee601bc11c43 (diff)
downloadmeta-openembedded-5d06477ba3cb91980debe92009965742b637b8e6.tar.gz
python3-setuptools-git-versioning: Add recipe
Some packages e.g. python3-cytoolz are needing it now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb b/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb
new file mode 100644
index 0000000000..8206e8513d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb
@@ -0,0 +1,19 @@
1SUMMARY = "Use git repo data for building a version number according PEP-440"
2HOMEPAGE = "https://setuptools-git-versioning.readthedocs.io"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=92e79e3a844e66731724600f3ac9c0d8"
5
6SRC_URI[sha256sum] = "6aef5b8bb1cfb953b6b343d27cbfc561d96cf2a2ee23c2e0dd3591042a059921"
7
8inherit pypi setuptools3
9
10PACKAGECONFIG ?= ""
11PACKAGECONFIG[python-version-smaller-3-dot-11] = ",,,python3-tomli"
12
13RDEPENDS:${PN} += "python3-core python3-datetime python3-logging \
14 python3-packaging python3-pprint python3-setuptools \
15 python3-tomllib"
16
17PYPI_PACKAGE = "setuptools_git_versioning"
18
19BBCLASSEXTEND += "native"