diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-07-30 21:09:12 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-07-30 21:09:12 +0000 |
commit | de45680847c6d35de1c6a9a4adaaa27a5ecc4c76 (patch) | |
tree | 3f1d7795c59a9789eb10b0c7b42610fdb56a1cc7 /dev-go | |
parent | Version bump, drop old (diff) | |
download | historical-de45680847c6d35de1c6a9a4adaaa27a5ecc4c76.tar.gz historical-de45680847c6d35de1c6a9a4adaaa27a5ecc4c76.tar.bz2 historical-de45680847c6d35de1c6a9a4adaaa27a5ecc4c76.zip |
Add go-eapache-queue.
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-eapache-queue/ChangeLog | 10 | ||||
-rw-r--r-- | dev-go/go-eapache-queue/Manifest | 15 | ||||
-rw-r--r-- | dev-go/go-eapache-queue/go-eapache-queue-1.0.2.ebuild | 58 | ||||
-rw-r--r-- | dev-go/go-eapache-queue/go-eapache-queue-9999.ebuild | 58 | ||||
-rw-r--r-- | dev-go/go-eapache-queue/metadata.xml | 10 |
5 files changed, 151 insertions, 0 deletions
diff --git a/dev-go/go-eapache-queue/ChangeLog b/dev-go/go-eapache-queue/ChangeLog new file mode 100644 index 000000000000..6f6393237dde --- /dev/null +++ b/dev-go/go-eapache-queue/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-go/go-eapache-queue +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-eapache-queue/ChangeLog,v 1.1 2015/07/30 21:09:09 zmedico Exp $ + +*go-eapache-queue-1.0.2 (30 Jul 2015) +*go-eapache-queue-9999 (30 Jul 2015) + + 30 Jul 2015; Zac Medico <zmedico@gentoo.org> +go-eapache-queue-1.0.2.ebuild, + +go-eapache-queue-9999.ebuild, +metadata.xml: + Add go-eapache-queue. diff --git a/dev-go/go-eapache-queue/Manifest b/dev-go/go-eapache-queue/Manifest new file mode 100644 index 000000000000..1220d66cac82 --- /dev/null +++ b/dev-go/go-eapache-queue/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST go-eapache-queue-1.0.2.tar.gz 3262 SHA256 f5f011738cca8bca8aa6957c55cd483d74ccc37f07a9f5b467769ad6ede2a3a9 SHA512 6214822ca9bf9625acf62818205ba1c964e72271a008d99f827a0072c1a48bc5aefee8724c7fc1ea45450084625570f2625443a70eb26c6b0d5032b4811dd5b0 WHIRLPOOL 0676538eefe0270b3a93c00957e6f6a9db717ba4770c176b845701954c1daf1a4c1577207c037933689dac4b6199c75b190b09b4362fd2eb55b198f64139d001 +EBUILD go-eapache-queue-1.0.2.ebuild 1320 SHA256 69e1a1fb563bf11d4a9724ee03f030206a60d49a415747a745713e30f831d740 SHA512 43d67e3fd69bf25ca88db88f0f7fc7f9d3216592da76c4f9fc2e678d25d1842fed594f8fba57778e77817f1d4d085e265a58ce6e0d37c9b755c17dd05e8998db WHIRLPOOL f1ef6fbf55d65a2158e7d24e47f8c260dcfe818d6f95c18ea46886b3b4a3c1734bc577e2613bfc4d8b3df13f6ad8ac1c786b5b5ffe3441858e4ab45afdfc20be +EBUILD go-eapache-queue-9999.ebuild 1319 SHA256 0e97828d8cf19a2ca7da81781c1665186742e9cb21015e9c8fb43bb5afb8b0fe SHA512 3f86911384f3486fbb75c5fa06541bdac948b8f4e13b5c5ba0d1d034ebccfc4597dd8da0adfb1346366174d0e20fae684ce4e4bb584f31f468063e2563b45235 WHIRLPOOL 954f941d6cc3df5bf11650074acde427e64228e4f0a1815fee85c5c932126e155dae320d9fb2c8577f460b339e09ca459e7e8f1eef6640da3fa32c625e1c4bcc +MISC ChangeLog 447 SHA256 fea68a2c83fabd5a9900a9958f434b491fafc8f930472e36c035c018cc84a3b6 SHA512 a473436a9f678421ce668b0bbd3f6909e3043bab0c2893f721a0433ea6d02e6ec1d2eb810a8c04252839051e6b56a9c2bd788e8ce84e36ef9e27020009000085 WHIRLPOOL 3a96781ba6daff7e8abef7fe04bc8b9c48ead750c61c4497805058e4ea1f1b79aba5f03eeb27499f2d7d7c7d428b63910dbd14e274bad1e2e37eca52a8f99b49 +MISC metadata.xml 290 SHA256 827145f608d5b2ff56ce289f0498a2ea2428cc21e96aa5888b265f186871dcec SHA512 c01f1f78f752af9fd7c208618281e3b40732c405e9eb7ef35c3ef7415e414fa28f9a0f2148ac3e6005ce3d406c3719ed14b3b8e308e4e443245f96b555d2ae12 WHIRLPOOL b5374366bcea7fc612654a6ba09ed8b6ea68320870f269191cc17737ed8857f9d14d803bf1ed50e24a29ac4fea84c672f61b1d1034763fb8d074d2a92faaa4c2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlW6kncACgkQ/ejvha5XGaMFkQCdE3cq9pelJMDVHmn+I37BctWv +SSAAn3rX/tdQOMXSfNkkBysYolVxruGI +=6ohb +-----END PGP SIGNATURE----- diff --git a/dev-go/go-eapache-queue/go-eapache-queue-1.0.2.ebuild b/dev-go/go-eapache-queue/go-eapache-queue-1.0.2.ebuild new file mode 100644 index 000000000000..370b7447bfab --- /dev/null +++ b/dev-go/go-eapache-queue/go-eapache-queue-1.0.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-eapache-queue/go-eapache-queue-1.0.2.ebuild,v 1.1 2015/07/30 21:09:09 zmedico Exp $ + +EAPI=5 + +EGO_SRC=github.com/eapache/queue +EGO_PN=${EGO_SRC}/... + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi +inherit golang-build + +DESCRIPTION="Fast golang queue using ring-buffer" +HOMEPAGE="https://${EGO_SRC}" +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="" +DEPEND="" +RDEPEND="" + +if [[ ${PV} != *9999* ]]; then +src_unpack() { + local f + + for f in ${A} + do + case "${f}" in + *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) + local destdir=${WORKDIR}/${P}/src/${EGO_SRC} + + debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" + + # XXX: check whether the directory structure inside is + # fine? i.e. if the tarball has actually a parent dir. + mkdir -p "${destdir}" || die + tar -C "${destdir}" -x --strip-components 1 \ + -f "${DISTDIR}/${f}" || die + ;; + *) + debug-print "${FUNCNAME}: falling back to unpack for ${f}" + + # fall back to the default method + unpack "${f}" + ;; + esac + done +} +fi + +src_install() { + rm -rf src/${EGO_SRC}/.git* || die + golang-build_src_install +} diff --git a/dev-go/go-eapache-queue/go-eapache-queue-9999.ebuild b/dev-go/go-eapache-queue/go-eapache-queue-9999.ebuild new file mode 100644 index 000000000000..f2b7757cfb1b --- /dev/null +++ b/dev-go/go-eapache-queue/go-eapache-queue-9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-eapache-queue/go-eapache-queue-9999.ebuild,v 1.1 2015/07/30 21:09:09 zmedico Exp $ + +EAPI=5 + +EGO_SRC=github.com/eapache/queue +EGO_PN=${EGO_SRC}/... + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi +inherit golang-build + +DESCRIPTION="Fast golang queue using ring-buffer" +HOMEPAGE="https://${EGO_SRC}" +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="" +DEPEND="" +RDEPEND="" + +if [[ ${PV} != *9999* ]]; then +src_unpack() { + local f + + for f in ${A} + do + case "${f}" in + *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) + local destdir=${WORKDIR}/${P}/src/${EGO_SRC} + + debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" + + # XXX: check whether the directory structure inside is + # fine? i.e. if the tarball has actually a parent dir. + mkdir -p "${destdir}" || die + tar -C "${destdir}" -x --strip-components 1 \ + -f "${DISTDIR}/${f}" || die + ;; + *) + debug-print "${FUNCNAME}: falling back to unpack for ${f}" + + # fall back to the default method + unpack "${f}" + ;; + esac + done +} +fi + +src_install() { + rm -rf src/${EGO_SRC}/.git* || die + golang-build_src_install +} diff --git a/dev-go/go-eapache-queue/metadata.xml b/dev-go/go-eapache-queue/metadata.xml new file mode 100644 index 000000000000..25e9450f7070 --- /dev/null +++ b/dev-go/go-eapache-queue/metadata.xml @@ -0,0 +1,10 @@ +<?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> + <upstream> + <remote-id type="github">eapache/queue</remote-id> + </upstream> +</pkgmetadata> |