Skip to content

Commit

Permalink
aws-crt-python, aws-iot-device-sdk-python-v2: add proper versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-roos authored and web-flow committed May 17, 2024
1 parent c109c14 commit bfcfc88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes-sdk/aws-crt-python/aws-crt-python_0.20.9.bb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ RDEPENDS:${PN} += "python3-asyncio"

CFLAGS:append = " -Wl,-Bsymbolic"

do_configure:prepend(){
sed -i "s/__version__ = '1.0.0.dev0'/__version__ = '${PV}'/" ${S}/awscrt/__init__.py
}

RDEPENDS:${PN}-ptest += "\
${PYTHON_PN} \
${PYTHON_PN}-websockets \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ BRANCH ?= "main"

RDEPENDS:${PN} += "aws-crt-python python3-json"

do_configure:prepend(){
sed -i "s/__version__ = '1.0.0-dev'/__version__ = '${PV}'/" ${S}/awsiot/__init__.py
}

RDEPENDS:${PN}-ptest += "\
${PYTHON_PN} \
bash \
Expand Down

0 comments on commit bfcfc88

Please sign in to comment.