From 6e05f7c533f677b8931233d041ed4fd272c51e00 Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Mon, 28 Jul 2025 02:45:34 +0300
Subject: eclass: fix a typo and spacing

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 eclass/trinity-base-2.eclass | 32 ++++++++++++++++----------------
 eclass/trinity-meta-2.eclass | 12 ++++++------
 2 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/eclass/trinity-base-2.eclass b/eclass/trinity-base-2.eclass
index 486c20c9..fd9aef87 100644
--- a/eclass/trinity-base-2.eclass
+++ b/eclass/trinity-base-2.eclass
@@ -71,24 +71,24 @@ echo "${TRINITY_MODULE_NAME:=${PN}}" >/dev/null
 # Determines which version control system code is checking out live ebuilds from.
 
 # @ECLASS_VARIABLE: TMP_DOCDIR
-# @DESCRIPTION: 
+# @DESCRIPTION:
 # A temporary directory used to copy common documentation before installing it
-# 
+#
 # @ECLASS_VARIABLE: TRINTY_BASE_NO_INSTALL_DOC
-# @DESCRIPTION: 
+# @DESCRIPTION:
 # if set to anything except "no" this variable prevents
 # trinity-base_src_install() from installing documentation
-# 
+#
 
-# @ECLASS_VARIABLE: TRINTY_LANGS
-# @DESCRIPTION: 
+# @ECLASS_VARIABLE: TRINITY_LANGS
+# @DESCRIPTION:
 # This is a whitespace-separated list of translations this ebuild supports.
 # These translations are automatically added to IUSE. Therefore ebuilds must set
 # this variable before inheriting any eclasses. To enable only selected
 # translations, ebuilds must call enable_selected_linguas().
 
 # @ECLASS_VARIABLE: TRINTY_DOC_LANGS
-# @DESCRIPTION: 
+# @DESCRIPTION:
 # This is a whitespace-separated list of translations this ebuild supports.
 # These translations are automatically added to IUSE. Therefore ebuilds must set
 # this variable before inheriting any eclasses. To enable only selected
@@ -122,9 +122,9 @@ TRINITY_HANDBOOK="${TRINITY_HANDBOOK:-never}"
 # @DESCRIPTION:
 # Common doc names that were found in trinity project's dirs.
 TRINITY_COMMON_DOCS="AUTHORS BUGS CHANGELOG CHANGES COMMENTS COMPLIANCE COMPILING
-	CONFIG_FORMAT CONFIGURING COPYING COPYRIGHT CREDITS DEBUG DESIGN FAQ 
+	CONFIG_FORMAT CONFIGURING COPYING COPYRIGHT CREDITS DEBUG DESIGN FAQ
 	HACKING HISTORY HOWTO IDEAS INSTALL LICENSE MAINTAINERS NAMING NEWS
-	NOTES PLUGINS PORTING README SECURITY-HOLES TASKGROUPS TEMPLATE 
+	NOTES PLUGINS PORTING README SECURITY-HOLES TASKGROUPS TEMPLATE
 	TESTCASES THANKS THOUGHTS TODO VERSION"
 
 # @ECLASS_VARIABLE: TRINITY_TARBALL
@@ -173,7 +173,7 @@ elif [[ "${BUILD_TYPE}" == "release" ]]; then
 	# Full package name.
 	full_mod_name="${mod_name}-trinity-${mod_ver}"
 	TRINITY_TARBALL="${full_mod_name}.tar.xz"
-	
+
 	if [[ -n "${TRINITY_MODULE_TYPE}" ]] ; then
 		SRC_URI="${TRINITY_BASE_SRC_URI}/R${mod_ver}/main/${TRINITY_MODULE_TYPE}/$TRINITY_TARBALL"
 	else
@@ -331,7 +331,7 @@ trinity-base-2_src_prepare() {
 
 	# Apply patches
 	eapply_user
-	
+
 	# Handle documentation and translations for extragear packages
 	if [[ -n "${TRINITY_EXTRAGEAR_PACKAGING}" ]]; then
 		# remove languages that have not been selected
@@ -351,7 +351,7 @@ trinity-base-2_src_prepare() {
 		#if [[ -z $(find ${TEG_PO_DIR} -mindepth 1 -maxdepth 1 -type d) ]]; then
 		#	TRINITY_NO_TRANSLATIONS="yes"
 		#fi
-		
+
 		# Remove not selected documentation
 		if [[ -n "${TRINITY_DOC_LANGS}" ]]; then
 			einfo "Removing unselected documentation from ${TEG_DOC_DIR}"
@@ -387,8 +387,8 @@ trinity-base-2_src_prepare() {
 # Call standard cmake_src_onfigure and add some common arguments.
 trinity-base-2_src_configure() {
 	debug-print-function ${FUNCNAME} "${@}"
-	local eg_cmakeargs	
-	
+	local eg_cmakeargs
+
 	[[ -n "${PREFIX}" ]] && export PREFIX="${TDEDIR}"
 
 	if [[ -n "${TRINITY_EXTRAGEAR_PACKAGING}" ]]; then
@@ -438,7 +438,7 @@ trinity-base-2_src_configure() {
 # Just call cmake_src_compile.
 trinity-base-2_src_compile() {
 	debug-print-function ${FUNCNAME} "${@}"
-	
+
 	if [[ ${TRINITY_BUILD_ADMIN} == "yes" ]] ; then
 		emake
 	elif [[ ${TRINITY_BUILD_ADMIN} == "no" ]] ; then
@@ -448,7 +448,7 @@ trinity-base-2_src_compile() {
 
 # @FUNCTION: trinity-base-2_src_install
 # @DESCRIPTION:
-# Call standard cmake_src_install and installs common documentation. 
+# Call standard cmake_src_install and installs common documentation.
 trinity-base-2_src_install() {
 	debug-print-function ${FUNCNAME} "${@}"
 
diff --git a/eclass/trinity-meta-2.eclass b/eclass/trinity-meta-2.eclass
index fb614308..e6bf24ec 100644
--- a/eclass/trinity-meta-2.eclass
+++ b/eclass/trinity-meta-2.eclass
@@ -121,7 +121,7 @@ trinity-meta-2_src_extract() {
 	fi
 }
 
-# @FUNCTION: trinity-meta-2_rsync_copy 
+# @FUNCTION: trinity-meta-2_rsync_copy
 # @DESCRIPTION:
 # Copies files from git repository to ${S}.
 trinity-meta-2_rsync_copy() {
@@ -158,7 +158,7 @@ trinity-meta-2_rsync_copy() {
 trinity-meta-2_create_extractlists() {
 	debug-print-function ${FUNCNAME} "${@}"
 	local submod
-	
+
 	# If ${TSM_EXTRACT} is not set assign it to dirs named in TRINITY_SUBMODULE
 	if [[ -z "${TSM_EXTRACT}" ]]; then
 		for submod in ${TRINITY_SUBMODULE}; do
@@ -208,7 +208,7 @@ trinity-meta-2_src_prepare() {
 			esac
 		done;
 	fi
-	
+
 	trinity-base-2_src_prepare
 }
 
@@ -244,7 +244,7 @@ trinity-meta-2_src_configure() {
 # Just calls trinity-base_src_compile.
 trinity-meta-2_src_compile() {
 	debug-print-function ${FUNCNAME} "${@}"
-	
+
 	trinity-base-2_src_compile
 }
 
@@ -253,7 +253,7 @@ trinity-meta-2_src_compile() {
 # Calls default cmake install function and installs documentation.
 trinity-meta-2_src_install() {
 	debug-print-function ${FUNCNAME} "${@}"
-	
+
 	if [[ ${TRINITY_BUILD_ADMIN} == "yes" ]] ; then
 		for dir in ${TRINITY_SUBMODULE} ${TSM_EXTRACT}; do
 				if [[ -d "${S}"/$dir ]]; then
@@ -276,7 +276,7 @@ trinity-meta-2_src_install() {
 # Removes unnecessary files.
 trinity-meta-2_src_delete() {
 	debug-print-function ${FUNCNAME} "${@}"
-	
+
 	local x i dir newdir array num mod_dir
 	# Directories that do not need to be deleted
 	mod_dir="cmake admin libltdl libtdevnc"
-- 
cgit v1.2.3

