From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-go/zglob/Manifest | 3 +++ dev-go/zglob/metadata.xml | 5 +++++ dev-go/zglob/zglob-0_p20171230.ebuild | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 dev-go/zglob/Manifest create mode 100644 dev-go/zglob/metadata.xml create mode 100644 dev-go/zglob/zglob-0_p20171230.ebuild (limited to 'dev-go/zglob') diff --git a/dev-go/zglob/Manifest b/dev-go/zglob/Manifest new file mode 100644 index 000000000000..110b64dbc07c --- /dev/null +++ b/dev-go/zglob/Manifest @@ -0,0 +1,3 @@ +DIST zglob-0_p20171230.tar.gz 7993 BLAKE2B dd441531a30f6491c5c85b82e364bf8a21adb9d3842793ef2d9afc617ab5a7b7f6d83e53bb911bfe0a8205f5a434aaee42f2ab7160cce103f0e83cc198757fa7 SHA512 6eec0222ee27527b992809f235b6e06d24e857866f969f25901eaf21c9a352d6f50ec3ef2874d51cc7b91015bc9c6f197e79445e2c36ed1facad4ec04e919d83 +EBUILD zglob-0_p20171230.ebuild 776 BLAKE2B 628f0976fa333af0b4fa24f60c5936ea6fa8bbca6b5be5e42b88d10b68793ae39daa1161832c28c843a24289fd94ac73d18f52a978b2f825b60337404359b464 SHA512 ad66e99f8e227416d2056476be79942a58ea1a4805cc64fd96f379c594968a237401cb992a4f856bcfdc8e2592ce62003989bc1ad38466f3e477697175f3b9b3 +MISC metadata.xml 168 BLAKE2B 95e3160d1d6abb3e5510581fe45ddcd9ad526f89bbc0d3ad226e2782d148a0c71e50426809a87fb45e6fc9356e597a1d271002764caebc79be8846301eb82d5e SHA512 5edd6cda32972ff5e53cf5f883928bd1887b4a45572657f99101284a909ea04ff906b8f4068d247d1b3367bde813dbb37ba11565aaff880d9b500685b0f5a33d diff --git a/dev-go/zglob/metadata.xml b/dev-go/zglob/metadata.xml new file mode 100644 index 000000000000..585b0dc75dda --- /dev/null +++ b/dev-go/zglob/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-go/zglob/zglob-0_p20171230.ebuild b/dev-go/zglob/zglob-0_p20171230.ebuild new file mode 100644 index 000000000000..2d0bf65d5587 --- /dev/null +++ b/dev-go/zglob/zglob-0_p20171230.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN=github.com/mattn/go-zglob + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT=4959821b481786922ac53e7ef25c61ae19fb7c36 + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Unix-optimized file globbing and directory walking for Go" +HOMEPAGE="https://github.com/mattn/go-zglob" +LICENSE="MIT" +SLOT="0/${PVR}" +RDEPEND="" + +src_compile() { + EGO_PN="${EGO_PN}/cmd/zglob" golang-build_src_compile +} + +src_install() { + dobin zglob + + golang-build_src_install + + pushd "src/${EGO_PN}" >/dev/null || die + einstalldocs + popd >/dev/null || die +} -- cgit v1.2.3