Skip to content

Commit

Permalink
dev-go/fuzzy: new package
Browse files Browse the repository at this point in the history
new dependency of www-plugins/browserpass
  • Loading branch information
lluixhi authored and mgorny committed Mar 30, 2018
1 parent e223e4b commit 6360f43
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-go/fuzzy/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST fuzzy-0.0.3.tar.gz 1931876 BLAKE2B e00c19a8b63f96e2fad8c2614409d8173cca758ae591ead363676c2055fd9ec1d29a038454fcd57153e72f4b08ed78f341dcfef0376a199ba6203369d62651fa SHA512 6ca0c1c0ca57454d183d1eab3cc375dde8f504b1f4726176106953dace7a3d2e42aedf0b9dabb49d9fb8a70dc184c112da7f789c04b01da5e5dff2b9e1e1f398
31 changes: 31 additions & 0 deletions dev-go/fuzzy/fuzzy-0.0.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EGO_PN=github.com/sahilm/fuzzy

if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="~amd64"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
inherit golang-build

DESCRIPTION="Go library that provides fuzzy string matching"
HOMEPAGE="https://github.com/sahilm/fuzzy"
LICENSE="MIT"
SLOT="0/${PVR}"
IUSE="test"

DEPEND="test? ( dev-go/godebug-pretty )"
RDEPEND=""

src_install() {
golang-build_src_install

pushd "src/${EGO_PN}" >/dev/null || die
einstalldocs
popd >/dev/null || die
}
12 changes: 12 additions & 0 deletions dev-go/fuzzy/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" >
<email>[email protected]</email>
<name>Aric Belsito</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

0 comments on commit 6360f43

Please sign in to comment.