utils/scanpypi: fix typos
Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [yann.morin.1998@free.fr: s/contents/content/] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit aa79ae24a8c3422cfe293ab1b3e315fad049bd6c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
99686acdd3
commit
e676174370
@ -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
|
||||
<package_name>.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
|
||||
<package_name>.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
|
||||
<package_name>.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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user