summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-cson/python3-cson_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-02-08 23:23:46 -0800
committerKhem Raj <raj.khem@gmail.com>2023-02-09 15:56:25 -0800
commit21f79077bf68047d36ba4a9a560c8c57135cf545 (patch)
treeef936cb201de9ce6955bc67be6c24ffa16fce803 /meta-python/recipes-extended/python-cson/python3-cson_git.bb
parent32a0ff55166ae67931d48825e669893718663040 (diff)
downloadmeta-openembedded-21f79077bf68047d36ba4a9a560c8c57135cf545.tar.gz
python3-cson: Make PEP440 compatible version scheme
- Update to latest tip of trunk - Fix build with latest setuptools Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.bb10
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"
7SECTION = "devel/python" 7SECTION = "devel/python"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac"
9 9
10SRCREV = "f3f2898c44bb16b951d3e9f2fbf6d1c4158edda2" 10PV = "1.0.9+1.0.10"
11SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https" 11SRCREV = "69090778bccc5ed124342ba288597fbb2bfa9f39"
12SRC_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
13S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
14 16
@@ -19,5 +21,9 @@ inherit setuptools3
19 21
20PIP_INSTALL_PACKAGE = "python_cson" 22PIP_INSTALL_PACKAGE = "python_cson"
21 23
24do_configure:prepend() {
25 echo "__version__=${PV}" > ${S}/version.py
26}
27
22BBCLASSEXTEND = "native" 28BBCLASSEXTEND = "native"
23 29