Сравнение fuzzy-0.0.3 с fuzzy-0.0.5
/usr/portage/dev-go/fuzzy/fuzzy-0.0.5.ebuild 2023-10-09 14:52:29.364368347 +0300 | ||
---|---|---|
4 | 4 |
EAPI=6 |
5 | 5 |
EGO_PN=github.com/sahilm/fuzzy |
6 | 6 | |
7 |
if [[ ${PV} = *9999* ]]; then |
|
8 |
inherit golang-vcs |
|
9 |
else |
|
10 |
KEYWORDS="~amd64" |
|
11 |
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
12 |
inherit golang-vcs-snapshot |
|
13 |
fi |
|
14 |
inherit golang-build |
|
7 |
inherit golang-build golang-vcs-snapshot |
|
15 | 8 | |
16 | 9 |
DESCRIPTION="Go library that provides fuzzy string matching" |
17 | 10 |
HOMEPAGE="https://github.com/sahilm/fuzzy" |
11 |
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
12 | ||
18 | 13 |
LICENSE="MIT" |
19 | 14 |
SLOT="0/${PVR}" |
15 |
KEYWORDS="~amd64" |
|
20 | 16 |
IUSE="test" |
21 | 17 |
RESTRICT+=" !test? ( test )" |
22 | 18 | |
23 | 19 |
DEPEND="test? ( dev-go/godebug-pretty )" |
24 |
RDEPEND="" |
|
25 | 20 | |
26 | 21 |
src_install() { |
27 | 22 |
golang-build_src_install |