summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Udvare <audvare@gmail.com>2018-09-27 04:18:35 -0400
committerMichał Górny <mgorny@gentoo.org>2018-09-28 11:31:55 +0200
commita3cadab78938e5ad77912aa2cadc5a7528dd3f14 (patch)
tree32e3adcbba9f17650a5baeb8f1e2a0291446b37c /dev-go/twofactor
parentapp-shells/bash-completion: Add conditional test restriction (diff)
downloadgentoo-a3cadab78938e5ad77912aa2cadc5a7528dd3f14.tar.gz
gentoo-a3cadab78938e5ad77912aa2cadc5a7528dd3f14.tar.bz2
gentoo-a3cadab78938e5ad77912aa2cadc5a7528dd3f14.zip
dev-go/twofactor: version bump to 0_p20180418
Closes: https://github.com/gentoo/gentoo/pull/9742
Diffstat (limited to 'dev-go/twofactor')
-rw-r--r--dev-go/twofactor/Manifest1
-rw-r--r--dev-go/twofactor/twofactor-0_p20180418.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-go/twofactor/Manifest b/dev-go/twofactor/Manifest
index dc808c9ab837..7d33df50dbb6 100644
--- a/dev-go/twofactor/Manifest
+++ b/dev-go/twofactor/Manifest
@@ -1 +1,2 @@
DIST twofactor-0_p20170917.tar.gz 6637 BLAKE2B e6090a420f7d98063aa01f1c88c1dbe20103cdc4fa30d8fa9b235431f2d8cdcf1aee3cf7773a97916716aa8d0e257adc3f854db138da7c2541eef7cf1ebd493b SHA512 d3cd43d7fe2c819fa9a4ea1eacdb9508d20d54d638239c379fa8ca6ca83ecd67a06aff054c023b55e4555a227a725fd21caace55159a544fd389e30e67c363ad
+DIST twofactor-0_p20180418.tar.gz 22515 BLAKE2B 460098bf0ff570a896eb9b596ecee05ecf35219aa6ad8a5b2e8763740f588c158d186941e873623c291694eb35a2390feb372e04adf1a667aed5f884fb0b436d SHA512 ed02ab278f753d05f34b8a1e1656174cf36ce7526501d06056bdf66aaa714515a4f585b0216f987fa1cc8192b0ecfd685c729bbdb25ffe7522ba7cb8076ff026
diff --git a/dev-go/twofactor/twofactor-0_p20180418.ebuild b/dev-go/twofactor/twofactor-0_p20180418.ebuild
new file mode 100644
index 000000000000..a0ad37811439
--- /dev/null
+++ b/dev-go/twofactor/twofactor-0_p20180418.ebuild
@@ -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=bbc82ff8de72400ce39a13077627531d9841ad62
+ 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:="