From: | "Zac Medico (zmedico)" <zmedico@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-go/go-eapache-queue: go-eapache-queue-1.0.2.ebuild metadata.xml go-eapache-queue-9999.ebuild ChangeLog |
Date: | Thu, 30 Jul 2015 21:09:15 |
Message-Id: | 20150730210910.12B30111@oystercatcher.gentoo.org |
1 | zmedico 15/07/30 21:09:10 |
2 | |
3 | Added: go-eapache-queue-1.0.2.ebuild metadata.xml |
4 | go-eapache-queue-9999.ebuild ChangeLog |
5 | Log: |
6 | Add go-eapache-queue. |
7 | |
8 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3) |
9 | |
10 | Revision Changes Path |
11 | 1.1 dev-go/go-eapache-queue/go-eapache-queue-1.0.2.ebuild |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-eapache-queue/go-eapache-queue-1.0.2.ebuild?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-eapache-queue/go-eapache-queue-1.0.2.ebuild?rev=1.1&content-type=text/plain |
15 | |
16 | Index: go-eapache-queue-1.0.2.ebuild |
17 | =================================================================== |
18 | # Copyright 1999-2015 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $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 $ |
21 | |
22 | EAPI=5 |
23 | |
24 | EGO_SRC=github.com/eapache/queue |
25 | EGO_PN=${EGO_SRC}/... |
26 | |
27 | if [[ ${PV} = *9999* ]]; then |
28 | inherit golang-vcs |
29 | else |
30 | KEYWORDS="~amd64" |
31 | SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
32 | fi |
33 | inherit golang-build |
34 | |
35 | DESCRIPTION="Fast golang queue using ring-buffer" |
36 | HOMEPAGE="https://${EGO_SRC}" |
37 | LICENSE="MIT" |
38 | SLOT="0/${PV}" |
39 | IUSE="" |
40 | DEPEND="" |
41 | RDEPEND="" |
42 | |
43 | if [[ ${PV} != *9999* ]]; then |
44 | src_unpack() { |
45 | local f |
46 | |
47 | for f in ${A} |
48 | do |
49 | case "${f}" in |
50 | *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) |
51 | local destdir=${WORKDIR}/${P}/src/${EGO_SRC} |
52 | |
53 | debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" |
54 | |
55 | # XXX: check whether the directory structure inside is |
56 | # fine? i.e. if the tarball has actually a parent dir. |
57 | mkdir -p "${destdir}" || die |
58 | tar -C "${destdir}" -x --strip-components 1 \ |
59 | -f "${DISTDIR}/${f}" || die |
60 | ;; |
61 | *) |
62 | debug-print "${FUNCNAME}: falling back to unpack for ${f}" |
63 | |
64 | # fall back to the default method |
65 | unpack "${f}" |
66 | ;; |
67 | esac |
68 | done |
69 | } |
70 | fi |
71 | |
72 | src_install() { |
73 | rm -rf src/${EGO_SRC}/.git* || die |
74 | golang-build_src_install |
75 | } |
76 | |
77 | |
78 | |
79 | 1.1 dev-go/go-eapache-queue/metadata.xml |
80 | |
81 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-eapache-queue/metadata.xml?rev=1.1&view=markup |
82 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-eapache-queue/metadata.xml?rev=1.1&content-type=text/plain |
83 | |
84 | Index: metadata.xml |
85 | =================================================================== |
86 | <?xml version="1.0" encoding="UTF-8"?> |
87 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
88 | <pkgmetadata> |
89 | <maintainer> |
90 | <email>zmedico@g.o</email> |
91 | </maintainer> |
92 | <upstream> |
93 | <remote-id type="github">eapache/queue</remote-id> |
94 | </upstream> |
95 | </pkgmetadata> |
96 | |
97 | |
98 | |
99 | 1.1 dev-go/go-eapache-queue/go-eapache-queue-9999.ebuild |
100 | |
101 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-eapache-queue/go-eapache-queue-9999.ebuild?rev=1.1&view=markup |
102 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-eapache-queue/go-eapache-queue-9999.ebuild?rev=1.1&content-type=text/plain |
103 | |
104 | Index: go-eapache-queue-9999.ebuild |
105 | =================================================================== |
106 | # Copyright 1999-2015 Gentoo Foundation |
107 | # Distributed under the terms of the GNU General Public License v2 |
108 | # $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 $ |
109 | |
110 | EAPI=5 |
111 | |
112 | EGO_SRC=github.com/eapache/queue |
113 | EGO_PN=${EGO_SRC}/... |
114 | |
115 | if [[ ${PV} = *9999* ]]; then |
116 | inherit golang-vcs |
117 | else |
118 | KEYWORDS="~amd64" |
119 | SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
120 | fi |
121 | inherit golang-build |
122 | |
123 | DESCRIPTION="Fast golang queue using ring-buffer" |
124 | HOMEPAGE="https://${EGO_SRC}" |
125 | LICENSE="MIT" |
126 | SLOT="0/${PV}" |
127 | IUSE="" |
128 | DEPEND="" |
129 | RDEPEND="" |
130 | |
131 | if [[ ${PV} != *9999* ]]; then |
132 | src_unpack() { |
133 | local f |
134 | |
135 | for f in ${A} |
136 | do |
137 | case "${f}" in |
138 | *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) |
139 | local destdir=${WORKDIR}/${P}/src/${EGO_SRC} |
140 | |
141 | debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" |
142 | |
143 | # XXX: check whether the directory structure inside is |
144 | # fine? i.e. if the tarball has actually a parent dir. |
145 | mkdir -p "${destdir}" || die |
146 | tar -C "${destdir}" -x --strip-components 1 \ |
147 | -f "${DISTDIR}/${f}" || die |
148 | ;; |
149 | *) |
150 | debug-print "${FUNCNAME}: falling back to unpack for ${f}" |
151 | |
152 | # fall back to the default method |
153 | unpack "${f}" |
154 | ;; |
155 | esac |
156 | done |
157 | } |
158 | fi |
159 | |
160 | src_install() { |
161 | rm -rf src/${EGO_SRC}/.git* || die |
162 | golang-build_src_install |
163 | } |
164 | |
165 | |
166 | |
167 | 1.1 dev-go/go-eapache-queue/ChangeLog |
168 | |
169 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-eapache-queue/ChangeLog?rev=1.1&view=markup |
170 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-eapache-queue/ChangeLog?rev=1.1&content-type=text/plain |
171 | |
172 | Index: ChangeLog |
173 | =================================================================== |
174 | # ChangeLog for dev-go/go-eapache-queue |
175 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
176 | # $Header: /var/cvsroot/gentoo-x86/dev-go/go-eapache-queue/ChangeLog,v 1.1 2015/07/30 21:09:09 zmedico Exp $ |
177 | |
178 | *go-eapache-queue-1.0.2 (30 Jul 2015) |
179 | *go-eapache-queue-9999 (30 Jul 2015) |
180 | |
181 | 30 Jul 2015; Zac Medico <zmedico@g.o> +go-eapache-queue-1.0.2.ebuild, |
182 | +go-eapache-queue-9999.ebuild, +metadata.xml: |
183 | Add go-eapache-queue. |