Diff jo-1.4 with a jo-1.6
/usr/portage/app-text/jo/jo-1.6.ebuild 2023-10-09 14:52:28.880368335 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
5 |
inherit bash-completion-r1 |
|
4 |
EAPI=8 |
|
5 | ||
6 |
inherit autotools bash-completion-r1 |
|
6 | 7 | |
7 | 8 |
DESCRIPTION="JSON output from a shell" |
8 | 9 |
HOMEPAGE="https://github.com/jpmens/jo" |
9 |
SRC_URI="https://github.com/jpmens/${PN}/releases/download/${PV}/${P}.tar.gz" |
|
10 |
if [[ ${PV} == *9999 ]]; then |
|
11 |
inherit git-r3 |
|
12 |
EGIT_REPO_URI="https://github.com/jpmens/${PN}" |
|
13 |
else |
|
14 |
SRC_URI="https://github.com/jpmens/${PN}/releases/download/${PV}/${P}.tar.gz" |
|
15 |
KEYWORDS="~amd64 ~x86" |
|
16 |
fi |
|
10 | 17 | |
11 | 18 |
LICENSE="MIT" |
12 | 19 |
SLOT="0" |
13 |
KEYWORDS="~amd64 ~x86" |
|
20 | ||
21 |
BDEPEND="virtual/pkgconfig" |
|
22 | ||
23 |
src_prepare() { |
|
24 |
default |
|
25 |
eautoreconf |
|
26 |
} |
|
14 | 27 | |
15 | 28 |
src_configure() { |
16 | 29 |
export bashcompdir=$(get_bashcompdir) |