dev-go/twofactor: new package
authorAric Belsito <lluixhi@gmail.com>
Thu, 1 Feb 2018 00:56:47 +0000 (16:56 -0800)
committerMichał Górny <mgorny@gentoo.org>
Wed, 7 Feb 2018 20:14:10 +0000 (21:14 +0100)
dependency of www-plugins/browserpass

dev-go/twofactor/Manifest [new file with mode: 0644]
dev-go/twofactor/metadata.xml [new file with mode: 0644]
dev-go/twofactor/twofactor-0_p20170917.ebuild [new file with mode: 0644]

diff --git a/dev-go/twofactor/Manifest b/dev-go/twofactor/Manifest
new file mode 100644 (file)
index 0000000..dc808c9
--- /dev/null
@@ -0,0 +1 @@
+DIST twofactor-0_p20170917.tar.gz 6637 BLAKE2B e6090a420f7d98063aa01f1c88c1dbe20103cdc4fa30d8fa9b235431f2d8cdcf1aee3cf7773a97916716aa8d0e257adc3f854db138da7c2541eef7cf1ebd493b SHA512 d3cd43d7fe2c819fa9a4ea1eacdb9508d20d54d638239c379fa8ca6ca83ecd67a06aff054c023b55e4555a227a725fd21caace55159a544fd389e30e67c363ad
diff --git a/dev-go/twofactor/metadata.xml b/dev-go/twofactor/metadata.xml
new file mode 100644 (file)
index 0000000..004ae50
--- /dev/null
@@ -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>lluixhi@gmail.com</email>
+               <name>Aric Belsito</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-go/twofactor/twofactor-0_p20170917.ebuild b/dev-go/twofactor/twofactor-0_p20170917.ebuild
new file mode 100644 (file)
index 0000000..7a71738
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN=github.com/gokyle/twofactor
+
+if [[ ${PV} = *9999* ]]; then
+       inherit golang-vcs
+else
+       KEYWORDS="~amd64"
+       EGIT_COMMIT=eaad1884d40f9cabff98a57a524c17afd00c9fe7
+       SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+       inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Two-factor authentication library for Go"
+HOMEPAGE="https://github.com/gokyle/twofactor"
+LICENSE="MIT"
+SLOT="0/${PVR}"
+RDEPEND=""
+DEPEND="${RDEPEND}
+       dev-go/qr:="