diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-09-09 06:14:24 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-09-09 06:14:32 +0200 |
commit | ad8df54ff22f2f7bb46d4f6f1e23778a6dbbde6c (patch) | |
tree | 6048b76a1519f0061eb56a2db843f678935fb59b /app-crypt/age/age-1.0.0.ebuild | |
parent | sys-fs/fuse-overlayfs: Bump to version 1.7.1 (diff) | |
download | gentoo-ad8df54ff22f2f7bb46d4f6f1e23778a6dbbde6c.tar.gz gentoo-ad8df54ff22f2f7bb46d4f6f1e23778a6dbbde6c.tar.bz2 gentoo-ad8df54ff22f2f7bb46d4f6f1e23778a6dbbde6c.zip |
app-crypt/age: add 1.0.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'app-crypt/age/age-1.0.0.ebuild')
-rw-r--r-- | app-crypt/age/age-1.0.0.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-crypt/age/age-1.0.0.ebuild b/app-crypt/age/age-1.0.0.ebuild new file mode 100644 index 000000000000..851789821aa9 --- /dev/null +++ b/app-crypt/age/age-1.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="A simple, modern and secure encryption tool (and Go library)" +HOMEPAGE="https://github.com/FiloSottile/age" + +EGO_SUM=( +"filippo.io/edwards25519 v1.0.0-rc.1" +"filippo.io/edwards25519 v1.0.0-rc.1/go.mod" +"golang.org/x/crypto v0.0.0-20210817164053-32db794688a5" +"golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod" +"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod" +"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod" +"golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod" +"golang.org/x/sys v0.0.0-20210903071746-97244b99971b" +"golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod" +"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod" +"golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b" +"golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod" +"golang.org/x/text v0.3.3/go.mod" +"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" +) +go-module_set_globals +SRC_URI="https://github.com/FiloSottile/age/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +S="${WORKDIR}/age-${PV}" + +LICENSE="BSD" +#RESTRICT+=" test" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="dev-go/gox" + +src_compile() { + go build -ldflags "-X main.Version=${PV}" -o . filippo.io/age/cmd/... || die +} + +src_test() { + go test -race filippo.io/age/cmd/... || die +} + +src_install() { + dobin age age-keygen + doman doc/age.1 doc/age-keygen.1 + dodoc README.md +} |