diff --git a/slpkg/sbos/slackbuild.py b/slpkg/sbos/slackbuild.py index d0401b50..94168b96 100644 --- a/slpkg/sbos/slackbuild.py +++ b/slpkg/sbos/slackbuild.py @@ -70,7 +70,7 @@ class Slackbuilds(Configs): # pylint: disable=[R0902,R0904] self.tar_suffix: str = self.repos.repositories[repository]['tar_suffix'] def execute(self) -> None: - """Calls the methods in order.""" + """Call the methods in order.""" self.view_process.message('Resolving dependencies') self.creating_dependencies_list() self.choose_package_dependencies() @@ -94,7 +94,7 @@ class Slackbuilds(Configs): # pylint: disable=[R0902,R0904] self.utils.finished_time(elapsed_time) def creating_dependencies_list(self) -> None: - """Creates the package dependencies list.""" + """Create the package dependencies list.""" for slackbuild in self.slackbuilds: dependencies: tuple = Requires(self.data, slackbuild, self.flags).resolve() @@ -104,21 +104,21 @@ class Slackbuilds(Configs): # pylint: disable=[R0902,R0904] self.dependencies: list = list(OrderedDict.fromkeys(self.dependencies)) def add_dependencies_to_install_order(self) -> None: - """Adds the dependency list in order for install.""" + """Add the dependency list in order for install.""" self.install_order.extend(self.dependencies) def clean_the_main_slackbuilds(self) -> None: - """Removes main packages if they already added as dependency.""" + """Remove main packages if they already added as dependency.""" for dep in self.dependencies: if dep in self.slackbuilds: self.slackbuilds.remove(dep) def add_main_packages_to_install_order(self) -> None: - """Adds the main packages to order for install.""" + """Add the main packages to order for install.""" self.install_order.extend(self.slackbuilds) def check_for_skipped(self) -> None: - """Checks packages for skipped.""" + """Check packages for skipped.""" if self.option_for_skip_installed: for name in self.install_order: installed: str = self.utils.is_package_installed(name) @@ -191,7 +191,7 @@ class Slackbuilds(Configs): # pylint: disable=[R0902,R0904] self.check_md5.md5sum(path, source, checksum) def build_and_install_the_slackbuilds(self) -> None: - """Builds an install the slackbuilds.""" + """Build an install the slackbuilds.""" # Remove old slpkg.log file. if self.slpkg_log_file.is_file(): self.slpkg_log_file.unlink() @@ -241,7 +241,7 @@ class Slackbuilds(Configs): # pylint: disable=[R0902,R0904] self.write_deps_log(name) def write_deps_log(self, name: str) -> None: - """Creates a log file with Slackbuild dependencies. + """Create a log file with Slackbuild dependencies. Args: name (str): Slackbuild name. @@ -281,7 +281,7 @@ class Slackbuilds(Configs): # pylint: disable=[R0902,R0904] return None def build_the_script(self, path: Path, name: str) -> None: - """Builds the slackbuild script. + """Build the slackbuild script. Args: path (Path): Path to build the script.