diff mbox series

[meta-python,2/2] python3-txws: Switch to pypi for fetching

Message ID 20250908063544.2864968-2-raj.khem@gmail.com
State New
Headers show
Series [meta-networking,1/2] kronosnet: Upgrade to 1.31 | expand

Commit Message

Khem Raj Sept. 8, 2025, 6:35 a.m. UTC
This helps build when using shallow clones for git repos by default

e.g.

| vcversioner: no VCS could be detected in '/srv/build/yoe/build/tmp/work/cortexa57-yoe-linux/python3-txws/0.9.1/sources/python3-txws-0.9.1' and '/srv/build/yoe/build/tmp/work/cortexa57-yoe-linux/python3-txws/0.9.1/sources/python3-txws-0.9.1/version.txt' isn't present.
| vcversioner: are you installing from a github tarball?

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../recipes-connectivity/python-txws/python3-txws_0.9.1.bb  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb b/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb
index 205775ef63..9299539cef 100644
--- a/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb
+++ b/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb
@@ -11,8 +11,8 @@  RDEPENDS:${PN} += " \
     python3-twisted \
 "
 
-SRC_URI = "git://github.com/MostAwesomeDude/txWS.git;branch=master;protocol=https"
-SRCREV = "88cf6d9b9b685ffa1720644bd53c742afb10a414"
+inherit setuptools3 pypi
 
+PYPI_PACKAGE = "txWS"
 
-inherit setuptools3
+SRC_URI[sha256sum] = "cb93086095d04a5d70f53a75053f7df478ff37e972c3637fb55ca4a9e6b94679"