Skip to contentSkip to conversation

python3-backports-functools-lru-cache: consolidate inc and bb files into a single bb file

PATCH New Derek Straka 1 participant 2 messages Feb 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-backports-functools-lru-cache: consolidate inc and bb files into a single bb file

---
 .../python-backports-functools-lru-cache.inc  | 19 -----------------
 ...thon3-backports-functools-lru-cache_1.5.bb | 21 +++++++++++++++++--
 2 files changed, 19 insertions(+), 21 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc
meta-python/recipes-devtools/python/python-backports-functools-lru-cache.inc deleted +0 -19
deleted file mode 100644
index bce44a28b4..0000000000
@@ -1,19 +0,0 @@
-SUMMARY = "Backport of functools.lru_cache from Python 3.3"
-HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be"
-
-PYPI_PACKAGE = "backports.functools_lru_cache"
-
-SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
-SRC_URI[sha256sum] = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
-
-DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
-
-inherit pypi
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-pickle \
-    ${PYTHON_PN}-threading \
-    "
meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb +19 -2
index 91fcc41fc7..9182792baf 100644
@@ -1,2 +1,19 @@
-require python-backports-functools-lru-cache.inc
-inherit setuptools3
+SUMMARY = "Backport of functools.lru_cache from Python 3.3"
+HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be"
+
+PYPI_PACKAGE = "backports.functools_lru_cache"
+
+SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
+SRC_URI[sha256sum] = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-pickle \
+    ${PYTHON_PN}-threading \
+    "
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 python3-backports-functools-lru-cache: update to version 1.6.1

License-Checksum updated to use the actual license file

---
 ....5.bb => python3-backports-functools-lru-cache_1.6.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-backports-functools-lru-cache_1.5.bb => python3-backports-functools-lru-cache_1.6.1.bb} (61%)
meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.1.bb renamed from meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb +3 -3
similarity index 61%
rename from meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.5.bb
rename to meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.1.bb
index 9182792baf..c95a759abf 100644
@@ -2,12 +2,12 @@ SUMMARY = "Backport of functools.lru_cache from Python 3.3"
 HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache"
 SECTION = "devel/python"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e"
 
 PYPI_PACKAGE = "backports.functools_lru_cache"
 
-SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
-SRC_URI[sha256sum] = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
+SRC_URI[md5sum] = "103000b21a8e683647e2ce41929f2a9d"
+SRC_URI[sha256sum] = "8fde5f188da2d593bd5bc0be98d9abc46c95bb8a9dde93429570192ee6cc2d4a"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
Signature · 1 line
2.17.1