From a69aaa6e5ed446ba08db584b4c61d577f565d29f Mon Sep 17 00:00:00 2001 From: Aric Belsito Date: Wed, 31 Jan 2018 16:56:47 -0800 Subject: dev-go/twofactor: new package dependency of www-plugins/browserpass --- dev-go/twofactor/Manifest | 1 + dev-go/twofactor/metadata.xml | 12 ++++++++++++ dev-go/twofactor/twofactor-0_p20170917.ebuild | 23 +++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 dev-go/twofactor/Manifest create mode 100644 dev-go/twofactor/metadata.xml create mode 100644 dev-go/twofactor/twofactor-0_p20170917.ebuild (limited to 'dev-go/twofactor') diff --git a/dev-go/twofactor/Manifest b/dev-go/twofactor/Manifest new file mode 100644 index 000000000000..dc808c9ab837 --- /dev/null +++ b/dev-go/twofactor/Manifest @@ -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 index 000000000000..004ae50f4a5f --- /dev/null +++ b/dev-go/twofactor/metadata.xml @@ -0,0 +1,12 @@ + + + + + lluixhi@gmail.com + Aric Belsito + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-go/twofactor/twofactor-0_p20170917.ebuild b/dev-go/twofactor/twofactor-0_p20170917.ebuild new file mode 100644 index 000000000000..7a71738b87b3 --- /dev/null +++ b/dev-go/twofactor/twofactor-0_p20170917.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=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:=" -- cgit v1.2.3-65-gdbad