Cleanup: spelling in build-files & docs

This commit is contained in:
Campbell Barton
2025-01-31 15:11:29 +11:00
parent cb83a41dc4
commit 9d4b48b107
10 changed files with 26 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ import subprocess
import sys
# Strip version numbers from dependenciesm macOS notarizatiom fails
# Strip version numbers from dependencies macOS notarizatiom fails
# with version symlinks.
def strip_lib_version(name):
name = re.sub(r'(\.[0-9]+)+.dylib', '.dylib', name)
@@ -41,10 +41,10 @@ def main():
file = pathlib.Path(file)
new_file = pathlib.Path(new_file)
# Update cmake config files.
# Update CMake configuration files.
update_cmake_config(file, new_file)
# Remove if symlink.
# Remove if symbolic-link.
if file.is_symlink():
os.remove(file)
sys.exit(0)

View File

@@ -535,8 +535,8 @@ DEPS_OPTIONAL_SUBPACKAGES = (
)
# Python packages that should be available for Blender pyscripts.
# Suse uses names like `python310-Cython` for its python module packages...
# Python packages that should be available for Blender Pythons-scripts.
# SUSE uses names like `python310-Cython` for its python module packages...
def suse_pypackages_name_gen(name):
def _gen(package, parent_packages):
pp = parent_packages[-1]
@@ -871,9 +871,9 @@ PACKAGES_ALL = (
),
Package(name="NanoVDB Library", is_mandatory=False,
distro_package_names={DISTRO_ID_DEBIAN: "libnanovdb-dev",
DISTRO_ID_FEDORA: ..., # Part of openvdb package.
DISTRO_ID_FEDORA: ..., # Part of OpenVDB package.
DISTRO_ID_SUSE: None,
DISTRO_ID_ARCH: ..., # Part of openvdb package.
DISTRO_ID_ARCH: ..., # Part of OpenVDB package.
},
),
),

View File

@@ -242,7 +242,7 @@ def git_update_submodule(git_command: str, submodule_dir: Path) -> bool:
#
# https://github.com/git/git/commit/7a132c628e57b9bceeb88832ea051395c0637b16
#
# Doing "git lfs pull" after checkout with GIT_LFS_SKIP_SMUDGE=true seems to be the
# Doing `git lfs pull` after checkout with `GIT_LFS_SKIP_SMUDGE=true` seems to be the
# valid process. For example, https://www.mankier.com/7/git-lfs-faq
env = {"GIT_LFS_SKIP_SMUDGE": "1"}