Сравнение vcsh-1.20190621.4 с vcsh-2.0.4
/usr/portage/dev-vcs/vcsh/vcsh-2.0.4.ebuild 2023-10-09 14:52:31.028368389 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2022 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
DESCRIPTION='Manage config files in $HOME via fake bare git repositories' |
|
7 |
HOMEPAGE="https://github.com/RichiH/vcsh/" |
|
6 |
DESCRIPTION="Manage config files in $HOME via fake bare git repositories" |
|
7 |
HOMEPAGE="https://github.com/RichiH/vcsh" |
|
8 |
SRC_URI="https://github.com/RichiH/vcsh/releases/download/v${PV}/${P}.tar.xz" |
|
8 | 9 | |
9 |
MY_PV="$(ver_rs 2 '-')" |
|
10 |
SRC_URI="https://github.com/RichiH/vcsh/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
|
11 | ||
12 |
LICENSE="|| ( GPL-3 GPL-2 )" |
|
10 |
LICENSE="GPL-2+" |
|
13 | 11 |
SLOT="0" |
14 |
KEYWORDS="amd64 x86" |
|
15 |
IUSE="" |
|
16 | ||
17 |
RESTRICT="test" |
|
12 |
KEYWORDS="~amd64 ~x86" |
|
18 | 13 | |
19 | 14 |
RDEPEND="dev-vcs/git" |
20 |
DEPEND="" |
|
21 | ||
22 |
DOCS=( changelog README.md CONTRIBUTORS ) |
|
23 | 15 | |
24 |
S="${WORKDIR}/${PN}-${MY_PV}" |
|
25 | ||
26 |
src_prepare() { |
|
27 |
default |
|
28 |
sed -i \ |
|
29 |
-e 's,vendor-completions,site-functions,' \ |
|
30 |
-e "s,\(\$(DOCDIR_PREFIX)\)/\$(self),\1/${PF}," \ |
|
31 |
Makefile || die "sed failed" |
|
32 | ||
33 |
# remove dysfunctional tests |
|
34 |
sed -i -e 's,install: all,install:,' \ |
|
35 |
Makefile || die "sed failed" |
|
36 |
} |
|
37 | ||
38 |
src_compile() { |
|
39 |
: |
|
16 |
src_configure() { |
|
17 |
# bash for https://github.com/RichiH/vcsh/issues/325 |
|
18 |
CONFIG_SHELL="${BROOT}"/bin/bash econf |
|
40 | 19 |
} |
41 | 20 | |
42 | 21 |
src_install() { |
43 | 22 |
default |
23 | ||
24 |
mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die |
|
25 | ||
44 | 26 |
dodoc -r doc/sample_hooks |
45 | 27 |
} |