Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/eix/
Date: Mon, 02 Oct 2017 16:07:22
Message-Id: 1506960433.99a663ec84aa9075c845561568f621b0ca406e60.robbat2@gentoo
1 commit: 99a663ec84aa9075c845561568f621b0ca406e60
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 2 03:39:11 2017 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 2 16:07:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a663ec
7
8 app-portage/eix: bump.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 app-portage/eix/Manifest | 2 +
13 app-portage/eix/eix-0.32.10.ebuild | 112 +++++++++++++++++++++++++++++++++++++
14 app-portage/eix/eix-0.33.0.ebuild | 112 +++++++++++++++++++++++++++++++++++++
15 3 files changed, 226 insertions(+)
16
17 diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest
18 index d4caa4a6029..76ccfc46c8d 100644
19 --- a/app-portage/eix/Manifest
20 +++ b/app-portage/eix/Manifest
21 @@ -1,3 +1,5 @@
22 +DIST eix-0.32.10.tar.xz 600120 SHA256 4ecd6ed7e5bb8859c5e5548265e622bffd19800c889d49e75c0bad556830c5da SHA512 cf67889cb54c9b1453b626339038f8bc87ad9de1d3637caa56aa0de0580904cd0061c4d70c2a004e75fdc35e204e640917288a619653edb17ce7c495d20e4c4b WHIRLPOOL 96781b9324be20d081f43acca31ee1dd299ff1feed680346508fee0fba3b735f5b9f1c4b5c309875ffddfc75a7215dbf4f700117fa2afa27da66231635cf1766
23 DIST eix-0.32.4.tar.xz 592284 SHA256 8132be9c496b5b19699c50d9aacd49560ca1f0466e3de4f47b896337f3527fc6 SHA512 382181d082648e9b236c3bf54fdf5d75a8575a7994e6a1d3380e80bcc36ff5779c660c5b5fc5f233cef79e48099fc53bb1c8b87e2ca919dcdb43d5fde276f553 WHIRLPOOL 0c8258d36a30a76fec2e7315e07776c277b2f098f6c0fb0a9a182f28827a659c334b190e10c52ea7ec8facd7a6e1f6124b3ffefd3ed2aade6da747e815276737
24 DIST eix-0.32.5.tar.xz 595124 SHA256 1ebe07f46800f3f254d1385cd88eba328da9f07cc17731ad1b231a8b13450f6e SHA512 355c0daf81c349ceaa53a7253816a072578923f2044e53c9a8e98ceb9726b238f86f8b1d8ad96bb62851f887e50c1e5e443115dc12fcae7c8bca851caf9b9650 WHIRLPOOL 3b707ebeadc1653917269c81a594469ff2c603e5ad3772d1b19efb9fbd81dcf76b527c9d03975748e9cf0e1f011d1704ecd39f108ea166d78c9bb3be7370ada7
25 DIST eix-0.32.9.tar.xz 599072 SHA256 0929581db3282a81a82ab9e17e6522a6517609de96f3a22ab7c081d0c3288edd SHA512 1a7c3d5f371150f5990fe1f1c4cadb0e3ee0a5810011702904aabd58ca250c10f820d6c64e7182096e0b7e2aa001cf573c5f2e83499ceb350cc59b599ec2ca5b WHIRLPOOL d22f2c536baeb2d2204800b6d8600d27c6933b1f89f1b09954fbc2945939d9981d26d8f20f05b066e2edae75dba6db5b41e37273d19d36481946e106699bc95f
26 +DIST eix-0.33.0.tar.xz 610600 SHA256 18e4f195d465a0fbecaf44c49d5ea6e63e14bdafe8aa7d32682f9f369ee648c2 SHA512 6fd4ca253ee908eb192ee35c4228bea0fa8a04030070b35489bddc639053c2e3f6a2faf32f539ffd2c7d9da0c664ff5f29ac0d732d9a47b6c9976a65dd402de2 WHIRLPOOL eb2517a7fde169d2e1359bca0bcea0bd273459af3ec83aff4f34aa7ee5624046ef1e5e91bec63a8ba69ec301d3eb50fabb9a7676501b65dd1137a8f837014c13
27
28 diff --git a/app-portage/eix/eix-0.32.10.ebuild b/app-portage/eix/eix-0.32.10.ebuild
29 new file mode 100644
30 index 00000000000..2026b44a4b1
31 --- /dev/null
32 +++ b/app-portage/eix/eix-0.32.10.ebuild
33 @@ -0,0 +1,112 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +PLOCALES="de ru"
40 +inherit autotools bash-completion-r1 l10n systemd flag-o-matic
41 +
42 +DESCRIPTION="Search and query ebuilds"
43 +HOMEPAGE="https://github.com/vaeth/eix/"
44 +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
45 +
46 +LICENSE="GPL-2"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 +IUSE="debug doc nls sqlite"
50 +
51 +BOTHDEPEND="nls? ( virtual/libintl )
52 + sqlite? ( >=dev-db/sqlite-3:= )"
53 +RDEPEND="${BOTHDEPEND}
54 + >=app-shells/push-2.0-r1
55 + >=app-shells/quoter-3.0_p2-r1"
56 +DEPEND="${BOTHDEPEND}
57 + app-arch/xz-utils
58 + nls? ( sys-devel/gettext )"
59 +
60 +pkg_setup() {
61 + # remove stale cache file to prevent collisions
62 + local old_cache=${EROOT%/}/var/cache/${PN}
63 + if [[ -f ${old_cache} ]]; then
64 + rm "${old_cache}" || die
65 + fi
66 +}
67 +
68 +src_prepare() {
69 + default
70 + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
71 +
72 + sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \
73 + -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
74 + -i src/eix-functions.sh.in || die
75 + sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \
76 + -i src/Makefile.am || die
77 + eautoreconf
78 +}
79 +
80 +src_configure() {
81 + local myconf=(
82 + $(use_enable debug paranoicasserts)
83 + $(use_enable nls)
84 + $(use_with doc extra-doc)
85 + $(use_with sqlite)
86 +
87 + # default configuration
88 + $(use_with prefix always-accept-keywords)
89 + --with-dep-default
90 + --with-required-use-default
91 +
92 + # paths
93 + --with-portage-rootpath="${ROOTPATH}"
94 + --with-eprefix-default="${EPREFIX}"
95 +
96 + # build a single executable with symlinks
97 + --disable-separate-binaries
98 + --disable-separate-tools
99 +
100 + # used purely to control/disrespect *FLAGS
101 + --disable-debugging
102 + --disable-new_dialect
103 + --disable-optimization
104 + --disable-strong-optimization
105 + --disable-security
106 + --disable-nopie-security
107 + --disable-strong-security
108 + )
109 +
110 + # https://github.com/vaeth/eix/issues/35
111 + append-cxxflags -std=c++11
112 +
113 + econf "${myconf[@]}"
114 +}
115 +
116 +src_install() {
117 + default
118 + dobashcomp bash/eix
119 + systemd_dotmpfilesd tmpfiles.d/eix.conf
120 +
121 + insinto /usr/share/${PN}
122 + doins "${ED}"/usr/bin/eix-functions.sh
123 + rm -r "${ED}"/usr/bin/eix-functions.sh || die
124 +
125 + keepdir /var/cache/eix
126 +}
127 +
128 +pkg_postinst() {
129 + if ! use prefix; then
130 + # note: if this is done in src_install(), portage:portage
131 + # ownership may be reset to root
132 + chown portage:portage "${EROOT%/}"/var/cache/eix || die
133 + fi
134 +
135 + local obs=${EROOT%/}/var/cache/eix.previous
136 + if [[ -f ${obs} ]]; then
137 + ewarn "Found obsolete ${obs}, please remove it"
138 + fi
139 +}
140 +
141 +pkg_postrm() {
142 + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
143 + rm -rf "${EROOT%/}/var/cache/${PN}" || die
144 + fi
145 +}
146
147 diff --git a/app-portage/eix/eix-0.33.0.ebuild b/app-portage/eix/eix-0.33.0.ebuild
148 new file mode 100644
149 index 00000000000..ecc62a0a6c0
150 --- /dev/null
151 +++ b/app-portage/eix/eix-0.33.0.ebuild
152 @@ -0,0 +1,112 @@
153 +# Copyright 1999-2017 Gentoo Foundation
154 +# Distributed under the terms of the GNU General Public License v2
155 +
156 +EAPI=6
157 +
158 +PLOCALES="de ru"
159 +inherit autotools bash-completion-r1 l10n systemd flag-o-matic
160 +
161 +DESCRIPTION="Search and query ebuilds"
162 +HOMEPAGE="https://github.com/vaeth/eix/"
163 +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
164 +
165 +LICENSE="GPL-2"
166 +SLOT="0"
167 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
168 +IUSE="debug doc nls sqlite"
169 +
170 +BOTHDEPEND="nls? ( virtual/libintl )
171 + sqlite? ( >=dev-db/sqlite-3:= )"
172 +RDEPEND="${BOTHDEPEND}
173 + >=app-shells/push-2.0-r1
174 + >=app-shells/quoter-3.0_p2-r1"
175 +DEPEND="${BOTHDEPEND}
176 + app-arch/xz-utils
177 + nls? ( sys-devel/gettext )"
178 +
179 +pkg_setup() {
180 + # remove stale cache file to prevent collisions
181 + local old_cache=${EROOT%/}/var/cache/${PN}
182 + if [[ -f ${old_cache} ]]; then
183 + rm "${old_cache}" || die
184 + fi
185 +}
186 +
187 +src_prepare() {
188 + default
189 + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
190 +
191 + sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \
192 + -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
193 + -i src/eix-functions.sh.in || die
194 + sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \
195 + -i src/Makefile.am || die
196 + eautoreconf
197 +}
198 +
199 +src_configure() {
200 + local myconf=(
201 + $(use_enable debug paranoic-assertsasserts)
202 + $(use_enable nls)
203 + $(use_with doc extra-doc)
204 + $(use_with sqlite)
205 +
206 + # default configuration
207 + $(use_with prefix always-accept-keywords)
208 + --with-dep-default
209 + --with-required-use-default
210 +
211 + # paths
212 + --with-portage-rootpath="${ROOTPATH}"
213 + --with-eprefix-default="${EPREFIX}"
214 +
215 + # build a single executable with symlinks
216 + --disable-separate-binaries
217 + --disable-separate-tools
218 +
219 + # used purely to control/disrespect *FLAGS
220 + --disable-debugging
221 + --disable-new_dialect
222 + --disable-optimization
223 + --disable-strong-optimization
224 + --disable-security
225 + --disable-nopie-security
226 + --disable-strong-security
227 + )
228 +
229 + # https://github.com/vaeth/eix/issues/35
230 + append-cxxflags -std=c++11
231 +
232 + econf "${myconf[@]}"
233 +}
234 +
235 +src_install() {
236 + default
237 + dobashcomp bash/eix
238 + systemd_dotmpfilesd tmpfiles.d/eix.conf
239 +
240 + insinto /usr/share/${PN}
241 + doins "${ED}"/usr/bin/eix-functions.sh
242 + rm -r "${ED}"/usr/bin/eix-functions.sh || die
243 +
244 + keepdir /var/cache/eix
245 +}
246 +
247 +pkg_postinst() {
248 + if ! use prefix; then
249 + # note: if this is done in src_install(), portage:portage
250 + # ownership may be reset to root
251 + chown portage:portage "${EROOT%/}"/var/cache/eix || die
252 + fi
253 +
254 + local obs=${EROOT%/}/var/cache/eix.previous
255 + if [[ -f ${obs} ]]; then
256 + ewarn "Found obsolete ${obs}, please remove it"
257 + fi
258 +}
259 +
260 +pkg_postrm() {
261 + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
262 + rm -rf "${EROOT%/}/var/cache/${PN}" || die
263 + fi
264 +}