[oe-commits] [meta-openembedded] 72/80: python3-vcversioner: add recipe

git at git.openembedded.org git at git.openembedded.org
Wed Aug 31 17:09:31 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit ec08c32dfba69c2def8949e4985ea49bc5fbc1a3
Author: Mikko Ylinen <mikko.ylinen at linux.intel.com>
AuthorDate: Tue Aug 30 09:55:44 2016 +0300

    python3-vcversioner: add recipe
    
    python3-vcversioner is needed by other python3 modules so it's good to have
    a recipe for it.
    
    Signed-off-by: Mikko Ylinen <mikko.ylinen at linux.intel.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../python/python3-vcversioner_2.16.0.0.bb         | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb b/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
new file mode 100644
index 0000000..189a65a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
@@ -0,0 +1,24 @@
+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 setuptools3
+
+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 \
+    "
+
+BBCLASSEXTEND = "native"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list