Gentoo Archives: gentoo-dev

From: Thomas Bracht Laumann Jespersen <t@×××××××.xyz>
To: gentoo-dev@l.g.o
Cc: vim@g.o
Subject: Re: [gentoo-dev] [PATCH v5 4/9] vim-plugin.eclass: EAPI 8: add src_prepare
Date: Mon, 11 Apr 2022 12:53:50
Message-Id: 20220411125341.4bxvlcnw4oh7qn2g@sofaking
In Reply to: [gentoo-dev] [PATCH v5 4/9] vim-plugin.eclass: EAPI 8: add src_prepare by Anna Vyalkova
1 > case ${EAPI} in
2 > - 6|7|8) ;;
3 > + 6|7) ;;
4 > + 8) _DEFINE_VIM_PLUGIN_SRC_PREPARE=true ;;
5 > *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
6 > esac
7 >
8 > if [[ ! ${_VIM_PLUGIN_ECLASS} ]]; then
9 >
10 > inherit vim-doc
11 >
12 > +fi
13 > +
14 > +EXPORT_FUNCTIONS src_install pkg_postinst pkg_postrm
15
16 Not sure how to deal with this best, but EXPORT_FUNCTIONS should still go
17 _after_ the inherit guard, at the bottom of the file.

Replies

Subject Author
Re: [gentoo-dev] [PATCH v5 4/9] vim-plugin.eclass: EAPI 8: add src_prepare Anna Vyalkova <cyber+gentoo@×××××.in>