Skip to contentSkip to conversation

meta-openembedded: fix trailing whitespace

PATCH New Jaipaul Cheernam 1 participant 3 messages Aug 25

lore
Share & tools
lore
#0 lore raw

cover meta-openembedded: fix trailing whitespace

Bitbake now warns about trailing whitespace in parsed metadata lines. Fix the affected files to silence the warnings during parsing.

Reported on:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/4284/steps/15/logs/warnings

Jaipaul Cheernam (2):
meta-python: fix trailing whitespace
meta-networking: fix trailing whitespace

 meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb   | 2 +-
 .../recipes-core/images/meta-networking-image-ptest.bb        | 2 +-
 meta-networking/recipes-daemons/proftpd/proftpd_1.3.9c.bb     | 2 +-
 meta-networking/recipes-support/openvpn/openvpn_2.7.6.bb      | 4 ++--
 meta-networking/recipes-support/spice/spice_0.16.0.bb         | 4 ++--
 .../recipes-support/strongswan/strongswan_6.0.7.bb            | 2 +-
 .../recipes-devtools/python/python3-constantly_23.10.4.bb     | 2 +-
 meta-python/recipes-devtools/python/python3-glances_4.3.2.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-pint_0.25.3.bb    | 2 +-
 .../recipes-extended/python-pytesseract/pytesseract_0.3.13.bb | 2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)
#1 lore raw

PATCH 1/2 meta-python: fix trailing whitespace

Bitbake now warns about trailing whitespace in parsed metadata lines. Fix the affected files to silence the warnings during parsing.

Reported on:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/4284/steps/15/logs/warnings

---
 .../recipes-devtools/python/python3-constantly_23.10.4.bb       | 2 +-
 meta-python/recipes-devtools/python/python3-glances_4.3.2.bb    | 2 +-
 meta-python/recipes-devtools/python/python3-pint_0.25.3.bb      | 2 +-
 .../recipes-extended/python-pytesseract/pytesseract_0.3.13.bb   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python3-constantly_23.10.4.bb +1 -1
index 7645cdc132..7ea0a8616b 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e393e4ddd223e3a74982efa784f89fd7"
 
 SRC_URI[sha256sum] = "aa92b70a33e2ac0bb33cd745eb61776594dc48764b06c35e0efd050b7f1c7cbd"
 
-inherit pypi python_setuptools_build_meta 
+inherit pypi python_setuptools_build_meta
 
 DEPENDS += "python3-versioneer-native"
 
meta-python/recipes-devtools/python/python3-glances_4.3.2.bb +1 -1
index 9b8e529c87..e4cd7d59e7 100644
@@ -14,7 +14,7 @@ SRC_URI += " \
 "
 
 # psutil/jinja2/packaging are oe-core; fastapi/uvicorn/defusedxml are
-# meta-python. 
+# meta-python.
 RDEPENDS:${PN} += " \
     python3-psutil \
     python3-packaging \
meta-python/recipes-devtools/python/python3-pint_0.25.3.bb +1 -1
index dd2a782b0e..c04fc48f87 100644
@@ -20,7 +20,7 @@ RDEPENDS:${PN} += " \
 	python3-packaging \
 	python3-platformdirs \
 "
-# python3-misc for timeit.py 
+# python3-misc for timeit.py
 RDEPENDS:${PN}-ptest += " \
 	python3-appdirs \
 	python3-attrs \
meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb +1 -1
index 034568251b..ca41d1c66b 100644
@@ -11,6 +11,6 @@ RDEPENDS:${PN}:append = " python3-packaging tesseract"
 
 PYPI_PACKAGE = "pytesseract"
 
-inherit pypi setuptools3 
+inherit pypi setuptools3
 
 BBCLASSEXTEND = "native"
#2 lore raw

PATCH 2/2 meta-networking: fix trailing whitespace

In reply to Jaipaul Cheernam

Bitbake now warns about trailing whitespace in parsed metadata lines. Fix the affected files to silence the warnings during parsing.

Reported on:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/4284/steps/15/logs/warnings

---
 meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb   | 2 +-
 .../recipes-core/images/meta-networking-image-ptest.bb        | 2 +-
 meta-networking/recipes-daemons/proftpd/proftpd_1.3.9c.bb     | 2 +-
 meta-networking/recipes-support/openvpn/openvpn_2.7.6.bb      | 4 ++--
 meta-networking/recipes-support/spice/spice_0.16.0.bb         | 4 ++--
 .../recipes-support/strongswan/strongswan_6.0.7.bb            | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)
meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb +1 -1
index 17ef3c99cb..561edb48e7 100644
@@ -30,7 +30,7 @@ SRC_URI = "git://www.bearssl.org/git/BearSSL;protocol=https;branch=master \
            "
 
 SONAME = "libbearssl.so.6"
-# without compile errors like 
+# without compile errors like
 # <..>/ld: build/obj/ghash_pclmul.o: warning: relocation against `br_ghash_pclmul' in read-only section `.text'
 CFLAGS += "-fPIC"
 
meta-networking/recipes-core/images/meta-networking-image-ptest.bb +1 -1
index b6238d6100..0149cb69c6 100644
@@ -20,7 +20,7 @@ BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS_META_NETWO
 # box) and explicitly add up to 1500MB.
 IMAGE_OVERHEAD_FACTOR = "1.0"
 IMAGE_ROOTFS_EXTRA_SPACE = "324288"
-IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-wolfssl = "714288" 
+IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-wolfssl = "714288"
 # If a particular ptest needs more space, it can be customized:
 #IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-<pn> = "1024288"
 
meta-networking/recipes-daemons/proftpd/proftpd_1.3.9c.bb +1 -1
index 95c9f3919c..28cab7d47e 100644
@@ -128,7 +128,7 @@ do_install () {
         -e 's|-ffile-prefix-map=[^ ]*||g' \
         -e 's|-fdebug-prefix-map=[^ ]*||g' \
         -e 's|-fmacro-prefix-map=[^ ]*||g' \
-        -i ${D}/${bindir}/prxs ${D}${includedir}/proftpd/Make.rules ${D}${includedir}/proftpd/config.h 
+        -i ${D}/${bindir}/prxs ${D}${includedir}/proftpd/Make.rules ${D}${includedir}/proftpd/config.h
 
     # ftpmail perl script, which reads the proftpd log file and sends
     # automatic email notifications once an upload finishs,
meta-networking/recipes-support/openvpn/openvpn_2.7.6.bb +2 -2
index d6c8a0e34d..930193af7b 100644
@@ -74,10 +74,10 @@ do_compile_ptest () {
     for x in `find ${B}/tests/unit_tests -name Makefile -exec grep -l check_PROGRAMS {} \;`; do
         dir=`dirname ${x}`
         case $dir in
-            *example*)   
+            *example*)
                 echo "Skipping directory: $dir"
                 ;;
-            *)           
+            *)
                 oe_runmake -C ${dir} check-am
                 ;;
         esac
meta-networking/recipes-support/spice/spice_0.16.0.bb +2 -2
index 3d7788f749..b437008430 100644
@@ -5,7 +5,7 @@
 SUMMARY = "Simple Protocol for Independent Computing Environments"
 DESCRIPTION = "SPICE (the Simple Protocol for Independent Computing \
 Environments) is a remote-display system built for virtual \
-environments which allows users to view a computing 'desktop' \ 
+environments which allows users to view a computing 'desktop' \
 environment - not only on its computer-server machine, but also from \
 anywhere on the Internet and using a wide variety of machine \
 architectures."
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 SRCREV = "a6668fff651726e5d4cfd52cbf8669540970452c"
 
 SRC_URI = "gitsm://gitlab.freedesktop.org/spice/spice;branch=master;protocol=https;tag=v0.16.0 \
-           file://0001-test-gst-Fix-compilation-error.patch \  
+           file://0001-test-gst-Fix-compilation-error.patch \
            file://0002-test-display-base-fix.patch \
 "
 
meta-networking/recipes-support/strongswan/strongswan_6.0.7.bb +1 -1
index 9283815705..117c148865 100644
@@ -62,7 +62,7 @@ PACKAGECONFIG[tpm2] = "--enable-tpm,--disable-tpm,,${PN}-plugin-tpm"
 
 
 # integraty configuration needs meta-integraty
-#imc 
+#imc
 PACKAGECONFIG[tnc-imc] = "--enable-tnc-imc,--disable-tnc-imc,,  ${PN}-plugin-tnc-imc ${PN}-plugin-tnc-tnccs"
 PACKAGECONFIG[imc-test] = "--enable-imc-test,--disable-imc-test,,"
 PACKAGECONFIG[imc-scanner] = "--enable-imc-scanner,--disable-imc-scanner,,"