Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/fuzzy/
Date: Fri, 30 Mar 2018 18:08:21
Message-Id: 1522433291.6360f43aa6d931b05cdd5f3bb793c6e4138391bd.mgorny@gentoo
1 commit: 6360f43aa6d931b05cdd5f3bb793c6e4138391bd
2 Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
3 AuthorDate: Wed Mar 28 21:49:40 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 30 18:08:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6360f43a
7
8 dev-go/fuzzy: new package
9
10 new dependency of www-plugins/browserpass
11
12 dev-go/fuzzy/Manifest | 1 +
13 dev-go/fuzzy/fuzzy-0.0.3.ebuild | 31 +++++++++++++++++++++++++++++++
14 dev-go/fuzzy/metadata.xml | 12 ++++++++++++
15 3 files changed, 44 insertions(+)
16
17 diff --git a/dev-go/fuzzy/Manifest b/dev-go/fuzzy/Manifest
18 new file mode 100644
19 index 00000000000..4db5ff403a3
20 --- /dev/null
21 +++ b/dev-go/fuzzy/Manifest
22 @@ -0,0 +1 @@
23 +DIST fuzzy-0.0.3.tar.gz 1931876 BLAKE2B e00c19a8b63f96e2fad8c2614409d8173cca758ae591ead363676c2055fd9ec1d29a038454fcd57153e72f4b08ed78f341dcfef0376a199ba6203369d62651fa SHA512 6ca0c1c0ca57454d183d1eab3cc375dde8f504b1f4726176106953dace7a3d2e42aedf0b9dabb49d9fb8a70dc184c112da7f789c04b01da5e5dff2b9e1e1f398
24
25 diff --git a/dev-go/fuzzy/fuzzy-0.0.3.ebuild b/dev-go/fuzzy/fuzzy-0.0.3.ebuild
26 new file mode 100644
27 index 00000000000..6ea5cd48cd4
28 --- /dev/null
29 +++ b/dev-go/fuzzy/fuzzy-0.0.3.ebuild
30 @@ -0,0 +1,31 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +EGO_PN=github.com/sahilm/fuzzy
36 +
37 +if [[ ${PV} = *9999* ]]; then
38 + inherit golang-vcs
39 +else
40 + KEYWORDS="~amd64"
41 + SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 + inherit golang-vcs-snapshot
43 +fi
44 +inherit golang-build
45 +
46 +DESCRIPTION="Go library that provides fuzzy string matching"
47 +HOMEPAGE="https://github.com/sahilm/fuzzy"
48 +LICENSE="MIT"
49 +SLOT="0/${PVR}"
50 +IUSE="test"
51 +
52 +DEPEND="test? ( dev-go/godebug-pretty )"
53 +RDEPEND=""
54 +
55 +src_install() {
56 + golang-build_src_install
57 +
58 + pushd "src/${EGO_PN}" >/dev/null || die
59 + einstalldocs
60 + popd >/dev/null || die
61 +}
62
63 diff --git a/dev-go/fuzzy/metadata.xml b/dev-go/fuzzy/metadata.xml
64 new file mode 100644
65 index 00000000000..004ae50f4a5
66 --- /dev/null
67 +++ b/dev-go/fuzzy/metadata.xml
68 @@ -0,0 +1,12 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
71 +<pkgmetadata>
72 + <maintainer type="person" >
73 + <email>lluixhi@×××××.com</email>
74 + <name>Aric Belsito</name>
75 + </maintainer>
76 + <maintainer type="project">
77 + <email>proxy-maint@g.o</email>
78 + <name>Proxy Maintainers</name>
79 + </maintainer>
80 +</pkgmetadata>