Skip to contentSkip to conversation

python3-smbus2: remove duplicate RDEPENDS settings

PATCH New Konrad Weihmann 1 participant 2 messages May 30, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 2/3 python3-smbus2: remove duplicate RDEPENDS settings

---
 meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb | 2 --
 1 file changed, 2 deletions(-)
meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb +0 -2
index dee70a03f..7a6192720 100644
@@ -13,8 +13,6 @@ CLEANBROKEN = "1"
 
 PYPI_PACKAGE = "smbus2"
 
-RDEPENDS_${PN} = "${PYTHON_PN}-ctypes ${PYTHON_PN}-fcntl"
-
 RDEPENDS_${PN} += "\
         ${PYTHON_PN}-ctypes \
         ${PYTHON_PN}-fcntl \
Signature · 1 line
2.20.1
#2 lore raw

PATCH 3/3 python3-twisted: remove double var modification

In reply to a message not in the archive

It is either append or +=, but not both.
Pick append to be the correct one

---
 .../recipes-devtools/python/python3-twisted_19.10.0.bb        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-twisted_19.10.0.bb +2 -2
index dfb9d4a4c..c12d1cc04 100644
@@ -1,7 +1,7 @@
 inherit pypi setuptools3
 require python-twisted.inc
 
-FILES_${PN}-core_append += " \
+FILES_${PN}-core_append = " \
   ${libdir}/${PYTHON_DIR}/site-packages/twisted/__pycache__ \
   ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__pycache__/*pyc \
   ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__pycache__/__init__*.pyc \
@@ -29,7 +29,7 @@ FILES_${PN}-news_append = " \
   ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__pycache__/twisted_news*.pyc \
 "
 
-FILES_${PN}-protocols_append += " \
+FILES_${PN}-protocols_append = " \
   ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/__pycache__/*pyc \
 "
 
Signature · 1 line
2.20.1