diff options
-rw-r--r-- | dev-db/go-etcd/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/go-etcd/Manifest | 3 | ||||
-rw-r--r-- | dev-db/go-etcd/go-etcd-0_p20141013.ebuild | 42 | ||||
-rw-r--r-- | dev-db/go-etcd/metadata.xml | 12 |
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-db/go-etcd/ChangeLog b/dev-db/go-etcd/ChangeLog new file mode 100644 index 000000000000..166d55412133 --- /dev/null +++ b/dev-db/go-etcd/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-db/go-etcd +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/go-etcd/ChangeLog,v 1.1 2014/10/16 00:13:51 zmedico Exp $ + +*go-etcd-0_p20141013 (16 Oct 2014) + + 16 Oct 2014; Zac Medico <zmedico@gentoo.org> +go-etcd-0_p20141013.ebuild, + +metadata.xml: + Add dev-db/go-etcd. diff --git a/dev-db/go-etcd/Manifest b/dev-db/go-etcd/Manifest new file mode 100644 index 000000000000..f18005ce1693 --- /dev/null +++ b/dev-db/go-etcd/Manifest @@ -0,0 +1,3 @@ +DIST go-etcd-0_p20141013.zip 28825 SHA256 f10764597620b6743b15740ef1cf12e2f564febc81e41b30026e4cc6aeeac44d SHA512 031c7e877207bbc34520ffd9f58709717045fe3067e2184302d177b9fe637985d175bb0020007c70376efbf781365172d6846a96c18252260e51e1013ad8af94 WHIRLPOOL 4f889b62db97acf2a816737b0133e588e1a96d0a69b77300ad007cdaf65eba5483661758eaf7e1dbfeb33a1cebc8afe6b7d83359582de8a997c4486e276036bd +EBUILD go-etcd-0_p20141013.ebuild 1134 SHA256 ffc7abb90715791000b5ae9ecd307d812d9f947ec9caed2fda75e13946fdbba9 SHA512 83d23b29a9c54e13491b596b3e4439caa0dac637ede14413e4ec01ca1a4eba0817605ce90333254bddba584262c99695648ce2d1ac82fdbc93fe0700a854524a WHIRLPOOL e9d064721423950aa4a8fd731934e90b2f2a43c27ba4dadfac6f24b205214fe6c631d35cde15bca022619f570334a510c6df07d31a57738a82b6202a4a1e1718 +MISC metadata.xml 439 SHA256 d394704e81760297675424f9cbd770bd19f843c3e59b583350e0d23985ba40f0 SHA512 9508c22c14222ce44d1e7ff79248d86aa7c2837101e8e55a65e92303c28594b5d25ac3dc49bc21e0d4627386a7be9651bd1fcc43cae0209eb810d2c8b3f0bde0 WHIRLPOOL a7d32edb70be40bf4f283c6f2d2cf8d781c4ae6b115ee7026f5346cda09cd64753eeddd8de765c80724e4cdb89afc5c96d462fb6e7643242f56d2fcb30591b88 diff --git a/dev-db/go-etcd/go-etcd-0_p20141013.ebuild b/dev-db/go-etcd/go-etcd-0_p20141013.ebuild new file mode 100644 index 000000000000..2dc3178e9075 --- /dev/null +++ b/dev-db/go-etcd/go-etcd-0_p20141013.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/go-etcd/go-etcd-0_p20141013.ebuild,v 1.1 2014/10/16 00:13:51 zmedico Exp $ + +EAPI=5 + +KEYWORDS="~amd64" +DESCRIPTION="Go client library for etcd" +GO_PN=github.com/coreos/${PN} +HOMEPAGE="https://${GO_PN}" +EGIT_COMMIT="25e2c63be8e8ab405014a78879e0992ae5ff55e8" +SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.zip -> ${P}.zip" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +DEPEND=">=dev-lang/go-1.3" +RDEPEND="" +S=${WORKDIR} + +src_unpack() { + default_src_unpack + mkdir -p src/${GO_PN%/*} || die + mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die +} + +src_compile() { + # Create a filtered GOROOT tree out of symlinks, + # excluding go-etcd, for bug #503324. + cp -sR /usr/lib/go goroot || die + rm -rf goroot/src/pkg/${GO_PN} || die + rm -rf goroot/pkg/linux_${ARCH}/${GO_PN} || die + GOROOT=${WORKDIR}/goroot GOPATH=${WORKDIR} \ + go install -x ${GO_PN}/etcd || die +} + +src_install() { + insinto /usr/lib/go + doins -r pkg + insinto /usr/lib/go/src/pkg + find src/${GO_PN} -name .gitignore -delete + doins -r src/* +} diff --git a/dev-db/go-etcd/metadata.xml b/dev-db/go-etcd/metadata.xml new file mode 100644 index 000000000000..a430fdcbae35 --- /dev/null +++ b/dev-db/go-etcd/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <bugs-to>https://github.com/coreos/go-etcd/issues</bugs-to> + <changelog>https://github.com/coreos/go-etcd/commits/master</changelog> + <doc>https://godoc.org/github.com/coreos/go-etcd/etcd</doc> + </upstream> + <maintainer> + <email>zmedico@gentoo.org</email> + </maintainer> +</pkgmetadata> |