summaryrefslogtreecommitdiff
path: root/metadata/install-qa-check.d
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /metadata/install-qa-check.d
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'metadata/install-qa-check.d')
-rw-r--r--metadata/install-qa-check.d/60gtk-doc-paths10
-rw-r--r--metadata/install-qa-check.d/60python-pyc4
2 files changed, 7 insertions, 7 deletions
diff --git a/metadata/install-qa-check.d/60gtk-doc-paths b/metadata/install-qa-check.d/60gtk-doc-paths
index 8c12c2604337..9f927cce8406 100644
--- a/metadata/install-qa-check.d/60gtk-doc-paths
+++ b/metadata/install-qa-check.d/60gtk-doc-paths
@@ -1,16 +1,16 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# QA check: ensure that gtk-doc files are installed in /usr/share/gtk-doc
# Maintainer: GNOME team <gnome@gentoo.org>
gtk_doc_path_check() {
- [[ -d ${ED}usr/share/doc ]] || return
+ [[ -d ${ED%/}/usr/share/doc ]] || return
local found=() f
while read -d '' -r f; do
found+=( "${f%/*}" )
- done < <(find "${ED}"usr/share/doc -name '*.devhelp*' -print0 || die)
+ done < <(find "${ED%/}"/usr/share/doc -name '*.devhelp*' -print0 || die)
if [[ ${found[@]} ]]; then
eqawarn
@@ -19,9 +19,9 @@ gtk_doc_path_check() {
eqawarn
eqatag -v gtk-doc-paths.invalid-path "${found[@]#${D%/}}"
eqawarn
- eqawarn "gtk-doc documentation must always be installed into /usr/share/gtk-doc."
+ eqawarn "gtk-doc documentation must always be installed into ${EPREFIX}/usr/share/gtk-doc."
eqawarn "For more details, please see the GNOME team policy page:"
- eqawarn "https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#gtk-doc"
+ eqawarn "https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#Handling_gtk-doc_documentation"
eqawarn
fi
}
diff --git a/metadata/install-qa-check.d/60python-pyc b/metadata/install-qa-check.d/60python-pyc
index e112cdce348b..fee033042a3a 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# QA check: ensure that Python modules are compiled after installing
@@ -75,7 +75,7 @@ if [[ ${EAPI} == [6-7] ]]; then
eqawarn "Please either fix the upstream build system to byte-compile Python modules"
eqawarn "correctly, or call python_optimize after installing them. For more"
eqawarn "information, see:"
- eqawarn "https://wiki.gentoo.org/wiki/Project:Python/Byte_compiling"
+ eqawarn "https://projects.gentoo.org/python/guide/helper.html#byte-compiling-python-modules"
eqawarn
fi
}