Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/eix/
Date: Mon, 04 Jan 2016 16:54:34
Message-Id: 1451926453.6a75fe39cfc4adc5d748715870ef332a299c8a8b.axs@gentoo
1 commit: 6a75fe39cfc4adc5d748715870ef332a299c8a8b
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 4 16:48:03 2016 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 4 16:54:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a75fe39
7
8 app-portage/eix: version bump, migrate to EAPI6
9
10 Package-Manager: portage-2.2.26
11
12 app-portage/eix/Manifest | 1 +
13 app-portage/eix/eix-0.31.5.ebuild | 71 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest
17 index 351cd50..612aded 100644
18 --- a/app-portage/eix/Manifest
19 +++ b/app-portage/eix/Manifest
20 @@ -7,3 +7,4 @@ DIST eix-0.31.1.tar.bz2 791116 SHA256 1402d474ee3d1dc6fcfe35508657629d4a5aef6cbe
21 DIST eix-0.31.2.tar.bz2 787190 SHA256 c03226d0971067561e931c0afe75878552a6178ede7326601c3a839b289c72d9 SHA512 61a7f58ba48030000bd4ca50575aec95ba7726c12d935bd1fa7a2b28440fbc66a272fc727bc6a2b7716e285d3b93b7a888cef017c66d8682f29e9388dc89a6a1 WHIRLPOOL d67ab5ee83ab74c895f5e7345b40a7313c1ad1a1a2af184f54e5481eed9f6134920c172fe1dcae0522b2d965832e76cfbe14020181d799eff04a1afc6938af64
22 DIST eix-0.31.3.tar.bz2 795783 SHA256 bc578fa28be43ec321054df6e4727f2dd4c09b1ca8e1e9b1d4ebe064bdd7f03c SHA512 f0f07fbcb0b8696d7e689fd322ba3475d4d10c2ba703981de7458cf5f37c7d06746fac753cc14a7fd0c434c9e284127a64f941bbad408ebc077807b8f33952bb WHIRLPOOL a00556d5a57ee665e327071580e63107c27df60b96690c8c249b15487867bbc720244d1926c3f54795f7d6bdb6348f09d7cbfbd29f52a43b4dc8e0994579f58b
23 DIST eix-0.31.4.tar.xz 579480 SHA256 87051338b523f07a734c3c07e30fe99b4ca85ed268df60a54aeed1b594e1b7d0 SHA512 1a43fd8a4686f6e6c3021fb67acaa9ac0b19baad539e10d0ebd3db38bfc6179ce4b1c91745f76f167c32e45f9164ed3f1a8129a9eb97d8bc3bd35027999c5dc2 WHIRLPOOL 0f3962b7b72b9c12d9e2b0561ab242ebfcc48161e259667ed0752d49d2419c7a6f801481b48522605d8aa20968c688f917b24a823009a8f5a9e780a845afaa09
24 +DIST eix-0.31.5.tar.xz 580740 SHA256 32ec5d6fdc7bf10db5fea076836b30ed034a0510962ea0cbe4f09a5919502b9c SHA512 868886a2ac6bdcfe96661030701e03eeca7d7c8a3c3a900845c90cd852e02947e481ff2ce9abe21bb62272b58e4f9415c9fdc91420897ed827b3b0220e7c7eca WHIRLPOOL 546be9401649e8a04f5f4b988f783d6b084d6a83f257bb67f78b2cc512068cff5ec200fb6f5f18746e64b1f6a56a55635b3a56fb82450b8a780a5d1ff2eb92b4
25
26 diff --git a/app-portage/eix/eix-0.31.5.ebuild b/app-portage/eix/eix-0.31.5.ebuild
27 new file mode 100644
28 index 0000000..878b449
29 --- /dev/null
30 +++ b/app-portage/eix/eix-0.31.5.ebuild
31 @@ -0,0 +1,71 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +PLOCALES="de ru"
39 +inherit bash-completion-r1 l10n systemd
40 +
41 +DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays and more"
42 +HOMEPAGE="https://github.com/vaeth/eix/"
43 +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
48 +IUSE="debug +dep doc nls optimization security strong-optimization strong-security sqlite swap-remote tools"
49 +
50 +BOTHDEPEND="sqlite? ( >=dev-db/sqlite-3 )
51 + nls? ( virtual/libintl )"
52 +RDEPEND="${BOTHDEPEND}
53 + app-shells/push"
54 +DEPEND="${BOTHDEPEND}
55 + app-arch/xz-utils
56 + nls? ( sys-devel/gettext )"
57 +
58 +pkg_setup() {
59 + case " ${REPLACING_VERSIONS}" in
60 + *\ 0.[0-9].*|*\ 0.1[0-9].*|*\ 0.2[0-4].*|*\ 0.25.0*)
61 + local eixcache="${EROOT}/var/cache/${PN}"
62 + test -f "${eixcache}" && rm -f -- "${eixcache}";;
63 + esac
64 +}
65 +
66 +src_prepare() {
67 + sed -i -e "s'/'${EPREFIX}/'" -- "${S}"/tmpfiles.d/eix.conf || die
68 + eapply_user
69 +}
70 +
71 +src_configure() {
72 + econf $(use_with sqlite) $(use_with doc extra-doc) \
73 + $(use_enable nls) $(use_enable tools separate-tools) \
74 + $(use_enable security) $(use_enable optimization) \
75 + $(use_enable strong-security) \
76 + $(use_enable strong-optimization) $(use_enable debug debugging) \
77 + $(use_enable swap-remote) \
78 + $(use_with prefix always-accept-keywords) \
79 + $(use_with dep dep-default) \
80 + --with-zsh-completion \
81 + --with-portage-rootpath="${ROOTPATH}" \
82 + --with-eprefix-default="${EPREFIX}"
83 +}
84 +
85 +src_install() {
86 + default
87 + dobashcomp bash/eix
88 + systemd_dotmpfilesd tmpfiles.d/eix.conf
89 +}
90 +
91 +pkg_postinst() {
92 + test -d "${EROOT}var/cache/${PN}" || {
93 + mkdir "${EROOT}var/cache/${PN}"
94 + use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
95 + }
96 + local obs="${EROOT}var/cache/eix.previous"
97 + ! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
98 +}
99 +
100 +pkg_postrm() {
101 + [ -n "${REPLACED_BY_VERSION}" ] || rm -rf -- "${EROOT}var/cache/${PN}"
102 +}