dev-go/godef: new package

This commit is contained in:
nemunaire 2019-04-04 11:17:12 +02:00
parent 5aa3c88dd5
commit 675c2852a4
3 changed files with 32 additions and 0 deletions

3
dev-go/godef/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST godef-1.1.1.tar.gz 278456 BLAKE2B d50bf36a411621d0faf5937e4462c950facf1618ac37093f41e2dcffc89e3b08b0b8e4f6382e06adbe9d162db8090ff11e56cf3629a767f835b237f7ef3923fb SHA512 6bbd4be5b5f69ac3e29fcd7e848d640f65be87b01883ed4e763017a3ec565abf5b422f66fe72c2c1ea7d2f2a9c2add2dbcf63b500829e2cae84d1b84254405af
EBUILD godef-1.1.1.ebuild 523 BLAKE2B c3e0f4bedf4a8f9a1bfe20b7cf59d6f6869175edf757de74197b8ae92eb41248f3ebebd6d22cc4e41b013027b34535f274360af4a4adbd9467d95e9f8d44aa32 SHA512 8392b2b8dd3e5d53018589e58febed20c7748814b7c63d4c52ee27d5f5a4b796c117fee83f02d803857f7b1dd1f4cd33a422436405a11706c2282dffbac1824d
MISC metadata.xml 246 BLAKE2B 21c9e9a45b2f15ebdd3b306216cea8929a6c3168691d9711f8d6d5c760c197d187f8bd87c98ded6ad830871bc395a9b187381156bf7fc991cb595b763b94019b SHA512 799bc4c55047a22038ed28f214215b6b81862b2fcfe8e43c6f03823efb94e4baa27f620edd7e49fa5f3ad7cfa234336b6c4d012e1861ddc93778a94f0d0be28a

View File

@ -0,0 +1,21 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit golang-build golang-vcs-snapshot
EGO_PN="github.com/rogpeppe/godef/..."
ARCHIVE_URI="https://${EGO_PN%/*}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~arm ~amd64"
DESCRIPTION="Print where symbols are defined in Go source code"
HOMEPAGE="https://github.com/rogpeppe/godef"
SRC_URI="${ARCHIVE_URI}"
LICENSE="BSD"
SLOT="0/${PVR}"
IUSE=""
src_install() {
golang-build_src_install
dobin bin/*
}

View File

@ -0,0 +1,8 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">rogpeppe/godef</remote-id>
</upstream>
</pkgmetadata>