diff options
Diffstat (limited to 'meta-python/recipes-extended/python-cson/python3-cson_git.bb')
-rw-r--r-- | meta-python/recipes-extended/python-cson/python3-cson_git.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta-python/recipes-extended/python-cson/python3-cson_git.bb b/meta-python/recipes-extended/python-cson/python3-cson_git.bb index c4fcc61ec0..f9b4b64a50 100644 --- a/meta-python/recipes-extended/python-cson/python3-cson_git.bb +++ b/meta-python/recipes-extended/python-cson/python3-cson_git.bb | |||
@@ -7,8 +7,10 @@ LICENSE = "MIT" | |||
7 | SECTION = "devel/python" | 7 | SECTION = "devel/python" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac" |
9 | 9 | ||
10 | SRCREV = "f3f2898c44bb16b951d3e9f2fbf6d1c4158edda2" | 10 | PV = "1.0.9+1.0.10" |
11 | SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https" | 11 | SRCREV = "69090778bccc5ed124342ba288597fbb2bfa9f39" |
12 | SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https \ | ||
13 | file://0001-setup.py-Do-not-poke-at-git-describe-to-find-version.patch" | ||
12 | 14 | ||
13 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
14 | 16 | ||
@@ -19,5 +21,9 @@ inherit setuptools3 | |||
19 | 21 | ||
20 | PIP_INSTALL_PACKAGE = "python_cson" | 22 | PIP_INSTALL_PACKAGE = "python_cson" |
21 | 23 | ||
24 | do_configure:prepend() { | ||
25 | echo "__version__=${PV}" > ${S}/version.py | ||
26 | } | ||
27 | |||
22 | BBCLASSEXTEND = "native" | 28 | BBCLASSEXTEND = "native" |
23 | 29 | ||