From d2a5afc73f39786877d7a3353be94f4cbcb5a2a2 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Mon, 9 Jan 2023 20:25:52 +0200 Subject: MissingInherits: don't show for functions defined in ebuild Resolves: https://github.com/pkgcore/pkgcheck/issues/513 Signed-off-by: Arthur Zamarin --- .../MissingInherits/MissingInherits-2.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild (limited to 'testdata/repos') diff --git a/testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild b/testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild new file mode 100644 index 00000000..9aa0432e --- /dev/null +++ b/testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild @@ -0,0 +1,15 @@ +EAPI=7 + +DESCRIPTION="Ebuild missing an eclass inherit" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" +SLOT="0" +LICENSE="BSD" + +src_prepare() { + inherit_public_func + unset EBUILD_TEST +} + +inherit_public_func() { + echo "inherit_public_func" +} -- cgit v1.2.3-65-gdbad