From e67617437009574971980b1e6da10664a9729044 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 20 Sep 2024 17:59:53 +0200 Subject: [PATCH] utils/scanpypi: fix typos Signed-off-by: Peter Korsgaard [yann.morin.1998@free.fr: s/contents/content/] Signed-off-by: Yann E. MORIN (cherry picked from commit aa79ae24a8c3422cfe293ab1b3e315fad049bd6c) Signed-off-by: Peter Korsgaard --- utils/scanpypi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/scanpypi b/utils/scanpypi index 5a58550145..8765a98323 100755 --- a/utils/scanpypi +++ b/utils/scanpypi @@ -292,7 +292,7 @@ class BuildrootPackage(): def extract_package(self, tmp_path): """ - Extract the package contents into a directrory + Extract the package content into a directory Keyword arguments: tmp_path -- directory where you want the package to be extracted @@ -440,7 +440,7 @@ class BuildrootPackage(): def __create_mk_download_info(self): """ - Create the lines refering to the download information of the + Create the lines referring to the download information of the .mk file """ lines = [] @@ -471,7 +471,7 @@ class BuildrootPackage(): def __create_mk_setup(self): """ - Create the line refering to the setup method of the package of the + Create the line referring to the setup method of the package of the .mk file There are two things you can use to make an installer @@ -556,7 +556,7 @@ class BuildrootPackage(): def __create_mk_license(self): """ - Create the lines referring to the package's license informations of the + Create the lines referring to the package's license information of the .mk file The license's files are found by searching the package (case insensitive) @@ -755,7 +755,7 @@ def main(): continue if package.metadata_name.lower() == 'setuptools': # setuptools imports itself, that does not work very well - # with the monkey path at the begining + # with the monkey path at the beginning print('Error: setuptools cannot be built using scanPyPI') continue @@ -827,7 +827,7 @@ def main(): print("NOTE: Remember to also make an update to the DEVELOPERS file") print(" and include an entry for the pkg in packages/Config.in") print() - # printing an empty line for visual confort + # printing an empty line for visual comfort finally: shutil.rmtree(tmp_path)