diff options
-rw-r--r-- | dev-go/logrus/Manifest | 1 | ||||
-rw-r--r-- | dev-go/logrus/logrus-1.4.1.ebuild | 21 | ||||
-rw-r--r-- | dev-go/logrus/metadata.xml | 12 |
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-go/logrus/Manifest b/dev-go/logrus/Manifest new file mode 100644 index 000000000000..dd26661fb7d5 --- /dev/null +++ b/dev-go/logrus/Manifest @@ -0,0 +1 @@ +DIST logrus-1.4.1.tar.gz 40811 BLAKE2B cde067ff74800153f555e3f9f00021d4cd9d11adadfa6df6b3da0cf86cc7a8cf7137e5d8e12adc7fdfd45022e9dc0c309a6e23ec4b50d9b9cfc37d73038e21b9 SHA512 7e8e215abb0a7909602378caf8ad746b73f3097b56d2ffd81fc7fb4c9a6b68dd8be25ad452cb19b02d7129e0abbb1e29aca51d91a9421ecdec711abcb97da268 diff --git a/dev-go/logrus/logrus-1.4.1.ebuild b/dev-go/logrus/logrus-1.4.1.ebuild new file mode 100644 index 000000000000..f7b7b05c129a --- /dev/null +++ b/dev-go/logrus/logrus-1.4.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +EGO_PN=github.com/sirupsen/logrus + +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="Structured, pluggable logging for Go" +HOMEPAGE="https://github.com/sirupsen/logrus" +LICENSE="MIT" +SLOT="0" +DEPEND="dev-go/go-sys:=" +RDEPEND="" diff --git a/dev-go/logrus/metadata.xml b/dev-go/logrus/metadata.xml new file mode 100644 index 000000000000..df270e5a7090 --- /dev/null +++ b/dev-go/logrus/metadata.xml @@ -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>mattst88@gentoo.org</email> + <name>Matt Turner</name> + </maintainer> + <upstream> + <remote-id type="github">sirupsen/logrus</remote-id> + <bugs-to>https://github.com/sirupsen/logrus/</bugs-to> + </upstream> +</pkgmetadata> |