1 |
> On 21 Jul 2021, at 17:47, Patrice Clement <monsieurp@g.o> wrote: |
2 |
> |
3 |
> ... and replace it with a test against the REPLACING_VERSIONS variable. |
4 |
> |
5 |
> See https://projects.gentoo.org/pms/8/pms.html#x1-10900011.1. |
6 |
> |
7 |
> Patch courtesy of Arfrever. |
8 |
> |
9 |
|
10 |
Ideally, we'd use Arfrever's sign off, but this is kind of a grey |
11 |
area, so it's not a blocker at all right now. |
12 |
|
13 |
> Closes: https://github.com/gentoo/gentoo/pull/21733 |
14 |
> Signed-off-by: Patrice Clement <monsieurp@g.o> |
15 |
> --- |
16 |
> eclass/vim-plugin.eclass | 12 ++++++------ |
17 |
> 1 file changed, 6 insertions(+), 6 deletions(-) |
18 |
> |
19 |
> diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass |
20 |
> index 6b72d66111d..460edcce3eb 100644 |
21 |
> --- a/eclass/vim-plugin.eclass |
22 |
> +++ b/eclass/vim-plugin.eclass |
23 |
> [snip] |
24 |
|
25 |
The patch itself seems fine, but I have some suggestions while we're |
26 |
working on the eclass: |
27 |
|
28 |
- Add EAPI 8 support |
29 |
|
30 |
- Please drop obsolete EAPI compatibility hacks like: |
31 |
>has "${EAPI:-0}" 0 1 2 && ! use prefix && ED="${D}" |
32 |
|
33 |
This is unnecessary because we're only declaring support for EAPI 6 and 7 right now. |
34 |
|
35 |
- Could you please convert POSIX tests to Bash tests? [0] |
36 |
|
37 |
- In update_vim_afterscripts, the einfo seems (at first glance) to be misleading. Should |
38 |
it be printing ${afterdir} instead? |
39 |
|
40 |
- Ideally, we'd add the standard inherit guard if possible (see e.g. gnuconfig.eclass for a simple example). |
41 |
|
42 |
[0] https://devmanual.gentoo.org/tools-reference/bash/#single-versus-double-brackets-in-bash |
43 |
|
44 |
Let me know if you need any assistance, etc. |
45 |
|
46 |
thanks, |
47 |
sam |