1 |
On 2022-04-11 14:53, Thomas Bracht Laumann Jespersen wrote: |
2 |
> > case ${EAPI} in |
3 |
> > - 6|7|8) ;; |
4 |
> > + 6|7) ;; |
5 |
> > + 8) _DEFINE_VIM_PLUGIN_SRC_PREPARE=true ;; |
6 |
> > *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
7 |
> > esac |
8 |
> > |
9 |
> > if [[ ! ${_VIM_PLUGIN_ECLASS} ]]; then |
10 |
> > |
11 |
> > inherit vim-doc |
12 |
> > |
13 |
> > +fi |
14 |
> > + |
15 |
> > +EXPORT_FUNCTIONS src_install pkg_postinst pkg_postrm |
16 |
> |
17 |
> Not sure how to deal with this best, but EXPORT_FUNCTIONS should still go |
18 |
> _after_ the inherit guard, at the bottom of the file. |
19 |
|
20 |
Copycat from distutils-r1. Phase functions are exported after inherits |
21 |
outside of the guard, so it should be correct. |