mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user