diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-02-08 23:23:46 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-09 15:56:25 -0800 |
| commit | 21f79077bf68047d36ba4a9a560c8c57135cf545 (patch) | |
| tree | ef936cb201de9ce6955bc67be6c24ffa16fce803 /meta-python/recipes-extended/python-cson/python3-cson_git.bb | |
| parent | 32a0ff55166ae67931d48825e669893718663040 (diff) | |
| download | meta-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.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 | ||
