diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-05-19 05:21:28 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-05-19 05:21:28 +0000 |
commit | 37f7e248dd401c7d86177cf3b140a69ddb1bc13a (patch) | |
tree | 7d07c9258e3f8b186e1641768e77d809813d1476 /dev-go | |
parent | Stable for HPPA (bug #549356). (diff) | |
download | historical-37f7e248dd401c7d86177cf3b140a69ddb1bc13a.tar.gz historical-37f7e248dd401c7d86177cf3b140a69ddb1bc13a.tar.bz2 historical-37f7e248dd401c7d86177cf3b140a69ddb1bc13a.zip |
Add go-crypto.
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0xFDE8EF85AE5719A3
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-crypto/ChangeLog | 9 | ||||
-rw-r--r-- | dev-go/go-crypto/Manifest | 13 | ||||
-rw-r--r-- | dev-go/go-crypto/go-crypto-9999.ebuild | 35 | ||||
-rw-r--r-- | dev-go/go-crypto/metadata.xml | 7 |
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-go/go-crypto/ChangeLog b/dev-go/go-crypto/ChangeLog new file mode 100644 index 000000000000..8ff9a4d986e9 --- /dev/null +++ b/dev-go/go-crypto/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-go/go-crypto +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-crypto/ChangeLog,v 1.1 2015/05/19 05:21:21 zmedico Exp $ + +*go-crypto-9999 (19 May 2015) + + 19 May 2015; Zac Medico <zmedico@gentoo.org> +go-crypto-9999.ebuild, + +metadata.xml: + Add go-crypto. diff --git a/dev-go/go-crypto/Manifest b/dev-go/go-crypto/Manifest new file mode 100644 index 000000000000..2a2fb6c9ea4f --- /dev/null +++ b/dev-go/go-crypto/Manifest @@ -0,0 +1,13 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +EBUILD go-crypto-9999.ebuild 1052 SHA256 04f7d79dabaefc8af82d2f2b71dbda2a314f0fe25a96c9926e1042fcee2e21c7 SHA512 be3722549d528da4c5e797cdc5c6a614a5082755494e8efd9a2266620406bd057f7c99b90189cd996a4fc4bac67a7504e36c31bc9fd5941b0b9bdb6c35528c99 WHIRLPOOL a360cbf3a6a24a578162ef92cc7c8917963cf80c1b274053b27849465a21be8134b655a3be526fbd2e58db5d169d099862c7d118e24d8a09b4ce043e164b96b9 +MISC ChangeLog 342 SHA256 c0f8d3b5e50db3e173dc6dbeb63a74f9beded71283f491dae94f42b5d054bf51 SHA512 bc630605918217932a13f8cc806c43b2a3d32ac77f1e17b79334b4b4c265e484523a1450dcfcfd9d19549c1bd1b57d98635416f0fddea1da0b4ba6c6e2084134 WHIRLPOOL f666a18783594c0e36b10411edc4a2d124c21b0732633d3546ec540fcaa7914d15ae8342bdbd41306677c90558ae2a2e0c92f3e1b95a2cc4efc1500a92401c3a +MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlVayFIACgkQ/ejvha5XGaPReACg1nAzMF6bbpIf9gZjljWpfqFq +GjYAoO4EScRiNuKaieZSow8ESGUkMHzX +=81hG +-----END PGP SIGNATURE----- diff --git a/dev-go/go-crypto/go-crypto-9999.ebuild b/dev-go/go-crypto/go-crypto-9999.ebuild new file mode 100644 index 000000000000..1ce635086f5e --- /dev/null +++ b/dev-go/go-crypto/go-crypto-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-crypto/go-crypto-9999.ebuild,v 1.1 2015/05/19 05:21:21 zmedico Exp $ + +EAPI=5 +inherit git-r3 + +KEYWORDS="" +DESCRIPTION="Go supplementary cryptography libraries" +GO_PN=golang.org/x/${PN##*-} +HOMEPAGE="https://godoc.org/${GO_PN}" +EGIT_REPO_URI="https://go.googlesource.com/${PN##*-}" +LICENSE="BSD" +SLOT="0" +IUSE="" +DEPEND=">=dev-lang/go-1.4" +RDEPEND="" +S="${WORKDIR}/src/${GO_PN}" +EGIT_CHECKOUT_DIR="${S}" +STRIP_MASK="*.a" + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + GOROOT="${WORKDIR}/goroot" + cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die + rm -rf "${GOROOT}/src/${GO_PN%/*}" \ + "${GOROOT}/pkg/linux_${ARCH}/${GO_PN%/*}" || die + GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die +} + +src_install() { + insinto /usr/lib/go + find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null + doins -r "${WORKDIR}"/{pkg,src} +} diff --git a/dev-go/go-crypto/metadata.xml b/dev-go/go-crypto/metadata.xml new file mode 100644 index 000000000000..059d713e41ed --- /dev/null +++ b/dev-go/go-crypto/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>zmedico@gentoo.org</email> + </maintainer> +</pkgmetadata> |