diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb new file mode 100644 index 000000000..cd6fa8dff --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "Python vcversioner, automagically update the project's version" +HOMEPAGE = "https://github.com/habnabit/vcversioner" + +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=827a7a91a8d20d3c666b665cd96db8e3" + +SRC_URI[md5sum] = "aab6ef5e0cf8614a1b1140ed5b7f107d" +SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa06e19b" + +inherit pypi setuptools + +do_compile_append() { + ${PYTHON} setup.py -q bdist_egg --dist-dir ./ +} + +do_install_append() { + install -m 0644 ${S}/vcversioner*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/ +} + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-subprocess \ + " +RDEPENDS_${PN}_class-native = "" + +BBCLASSEXTEND = "native" |