Skip to contentSkip to conversation

python3-flask-cors: inherit pypi

PATCH New Ming Liu 1 participant 1 message Jun 23, 2020

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/1 python3-flask-cors: inherit pypi

From: Ming Liu <[email protected]>

Drop SRCNAME/SRC_URI/S, change to inherit pypi.

---
 recipes-devtools/python/python3-flask-cors_3.0.8.bb | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
recipes-devtools/python/python3-flask-cors_3.0.8.bb +2 -6
index 5d3c41f..aac7152 100644
@@ -9,13 +9,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=118fecaa576ab51c1520f95e98db61ce"
 
 DEPENDS += "python3-six python3-flask"
 
-SRCNAME = "Flask-Cors"
-
-SRC_URI = "https://pypi.python.org/packages/source/F/Flask-Cors/${SRCNAME}-${PV}.tar.gz"
+PYPI_PACKAGE = "Flask-Cors"
 
 SRC_URI[md5sum] = "551cc4c0305a171d28caa2b3bc838867"
 SRC_URI[sha256sum] = "72170423eb4612f0847318afff8c247b38bd516b7737adfc10d1c2cdbb382d16"
 
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools3
+inherit pypi setuptools3
Signature · 1 line
2.27.0