summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-04-13 10:19:57 -0700
committerMatt Turner <mattst88@gentoo.org>2019-04-13 11:06:15 -0700
commitb6e17ecee96c44eba5a88983b913235d45fb9bd2 (patch)
tree8628aa75c7c95be1cc9e4a26ff4bc627b9bf1200 /dev-go/logrus
parentdev-ruby/ruby-gnome2: amd64 stable (diff)
downloadgentoo-b6e17ecee96c44eba5a88983b913235d45fb9bd2.tar.gz
gentoo-b6e17ecee96c44eba5a88983b913235d45fb9bd2.tar.bz2
gentoo-b6e17ecee96c44eba5a88983b913235d45fb9bd2.zip
dev-go/logrus: New package
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-go/logrus')
-rw-r--r--dev-go/logrus/Manifest1
-rw-r--r--dev-go/logrus/logrus-1.4.1.ebuild21
-rw-r--r--dev-go/logrus/metadata.xml12
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>