Re: [PATCH] python3: setuptools-git-versioning: new package


Clément Péron
 

Hi,

On Thu, 8 Sept 2022 at 15:29, Clément Péron <peron.clem@...> wrote:

Add a recipe for python3-setuptools-git-versioning.

Signed-off-by: Clément Péron <peron.clem@...>
Sorry I forgot to add Khem in this patch, is it ok to upstream it or
should I resend ?

Thanks,

---
.../python3-setuptools-git-versioning_1.10.1.bb | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-setuptools-git-versioning_1.10.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_1.10.1.bb b/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_1.10.1.bb
new file mode 100644
index 0000000000..9e480ae808
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_1.10.1.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Use git repo data for building a version number according PEP-440"
+HOMEPAGE = "https://github.com/dolfinus/setuptools-git-versioning"
+AUTHOR = "dolfinus <martinov.m.s.8@...>"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=92e79e3a844e66731724600f3ac9c0d8"
+
+SRC_URI[sha256sum] = "a68f2cd6d261503750fe600ba3c533440c57c1801ed743175c387e9b3e80f44e"
+
+DEPENDS += "${PYTHON_PN}-toml ${PYTHON_PN}-packaging"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
--
2.34.1

Join {openembedded-devel@lists.openembedded.org to automatically receive all group messages.