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>
This commit is contained in:
Khem Raj
2023-02-08 23:23:46 -08:00
parent 32a0ff5516
commit 21f79077bf
2 changed files with 48 additions and 2 deletions
@@ -7,8 +7,10 @@ LICENSE = "MIT"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac"
SRCREV = "f3f2898c44bb16b951d3e9f2fbf6d1c4158edda2"
SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https"
PV = "1.0.9+1.0.10"
SRCREV = "69090778bccc5ed124342ba288597fbb2bfa9f39"
SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https \
file://0001-setup.py-Do-not-poke-at-git-describe-to-find-version.patch"
S = "${WORKDIR}/git"
@@ -19,5 +21,9 @@ inherit setuptools3
PIP_INSTALL_PACKAGE = "python_cson"
do_configure:prepend() {
echo "__version__=${PV}" > ${S}/version.py
}
BBCLASSEXTEND = "native"