aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-vcversioner_2.14.0.0.bb
blob: 40b3778f919e9cc5d1a1b984efe6de63c2e6c96a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SUMMARY = "Python vcversioner, automagically update the project's version"
HOMEPAGE = "https://github.com/habnabit/vcversioner"

LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=260625d695c5e0c9dd2c2ef898833c7d"

SRC_URI[md5sum] = "7848a365ced9941053bc25d9a9f8f4b4"
SRC_URI[sha256sum] = "acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357c03b86"

inherit pypi setuptools

do_compile_append() {
    export BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS}
    ${PYTHON} setup.py -q bdist_egg --dist-dir ./
}

do_install_append() {
    install -m 0644 ${S}/vcversioner*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/
}