diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-go/fuzzy | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-go/fuzzy')
-rw-r--r-- | dev-go/fuzzy/Manifest | 3 | ||||
-rw-r--r-- | dev-go/fuzzy/fuzzy-0.0.3.ebuild | 31 | ||||
-rw-r--r-- | dev-go/fuzzy/metadata.xml | 5 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-go/fuzzy/Manifest b/dev-go/fuzzy/Manifest new file mode 100644 index 000000000000..a48c5bc65908 --- /dev/null +++ b/dev-go/fuzzy/Manifest @@ -0,0 +1,3 @@ +DIST fuzzy-0.0.3.tar.gz 1931876 BLAKE2B e00c19a8b63f96e2fad8c2614409d8173cca758ae591ead363676c2055fd9ec1d29a038454fcd57153e72f4b08ed78f341dcfef0376a199ba6203369d62651fa SHA512 6ca0c1c0ca57454d183d1eab3cc375dde8f504b1f4726176106953dace7a3d2e42aedf0b9dabb49d9fb8a70dc184c112da7f789c04b01da5e5dff2b9e1e1f398 +EBUILD fuzzy-0.0.3.ebuild 665 BLAKE2B e5776586989c3843c412f6b3d3d59fb3f5965ff9dc6c118a1da001ed4e1572ae6f911dccb09d547af8f90996c2e1a6f5c173cd092abaebc54bce97e9e16e1abe SHA512 f6dbac275edc5ae40a1ca034d2399059453376c0c2e4e949a0353b2a19af231767f8a73ea3d110b61d962d1f9eefe45e646ab9e5f86ebb00aa180d928139d5c9 +MISC metadata.xml 168 BLAKE2B 95e3160d1d6abb3e5510581fe45ddcd9ad526f89bbc0d3ad226e2782d148a0c71e50426809a87fb45e6fc9356e597a1d271002764caebc79be8846301eb82d5e SHA512 5edd6cda32972ff5e53cf5f883928bd1887b4a45572657f99101284a909ea04ff906b8f4068d247d1b3367bde813dbb37ba11565aaff880d9b500685b0f5a33d diff --git a/dev-go/fuzzy/fuzzy-0.0.3.ebuild b/dev-go/fuzzy/fuzzy-0.0.3.ebuild new file mode 100644 index 000000000000..6ea5cd48cd42 --- /dev/null +++ b/dev-go/fuzzy/fuzzy-0.0.3.ebuild @@ -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 +} diff --git a/dev-go/fuzzy/metadata.xml b/dev-go/fuzzy/metadata.xml new file mode 100644 index 000000000000..585b0dc75dda --- /dev/null +++ b/dev-go/fuzzy/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + </pkgmetadata> |