1 |
commit: ff6088c3d5fc77c7148dbba2f50d2031c2a23fec |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 21 11:03:42 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 21 11:07:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6088c3 |
7 |
|
8 |
app-portage/eix: Bump to 0.34.2 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/724366 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
app-portage/eix/Manifest | 1 + |
14 |
app-portage/eix/eix-0.34.2.ebuild | 108 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 109 insertions(+) |
16 |
|
17 |
diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest |
18 |
index a98ea31a6de..384abfb684f 100644 |
19 |
--- a/app-portage/eix/Manifest |
20 |
+++ b/app-portage/eix/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST eix-0.33.11.tar.xz 623256 BLAKE2B 756feed85cb4f40ef9228a03d2a8b8470eb6017b00d93b364d67e3d11ecaacce2bb9c6afed388d9f70dfcb7a0b9ece13ca6ee523f5839b7d9bf80cf3b2721524 SHA512 2829d1482abfe479ae71e8b00da07abe74ba3090ba2a3f9d9a93437cb2d4d64213968bcd6c082a6703ec1d9c36dfcfaa0850172f3ffd4d256f553b98eeaf29e6 |
23 |
DIST eix-0.33.9.tar.xz 627944 BLAKE2B cb4add12301a4f08b6ca052df92be34c8a448b386aa700e8ac7e1fbe8563cd76047994007ac94d8989747d843f70a5e1731b401510f58badd9811b30c2ce3be8 SHA512 7539a91d5b5343532ceab1f4aeb82a95413c39b1a57b9e7922032acc937cc8b839494fc40f3510218349561c6d50e89e1861d2fce5e60eabed2465316b28a756 |
24 |
DIST eix-0.34.1.tar.xz 626484 BLAKE2B 3f33df9d3f45abc073d7b80a7a6b3574ef6c1372042cb1ec4f0b0213842bc48d8d5a76c005ece2c060a39b1c8778764eb1f6808e75bc10af6e366e33e10aa6c7 SHA512 86289d8dcb0cf87ad48c739aae637626f9e63200a48d019fc96e74f2851b2791a61741d5db72ceaf3e5a375fb0dbf9302b04f766c3def69bcaabb393545dc767 |
25 |
+DIST eix-0.34.2.tar.xz 626492 BLAKE2B 984411e459b18f0ade77569b1e972a8c59588a31ce6af4b998a5fa27f9d5a2cc75fe647641f0651f17b5e9b4dc5706444dc49bd09e9e070e666beb989403e303 SHA512 422123108c841dd7e02296fa38276e72c61c8cab5e9ebba1fd2cd23d2a4b2c68e1dc530e47428f0bc41e89983196c7b8319ee548789199e4673c04687bbc5aec |
26 |
|
27 |
diff --git a/app-portage/eix/eix-0.34.2.ebuild b/app-portage/eix/eix-0.34.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..f6d4bed2e52 |
30 |
--- /dev/null |
31 |
+++ b/app-portage/eix/eix-0.34.2.ebuild |
32 |
@@ -0,0 +1,108 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools bash-completion-r1 flag-o-matic tmpfiles |
39 |
+ |
40 |
+DESCRIPTION="Search and query ebuilds" |
41 |
+HOMEPAGE="https://github.com/vaeth/eix/" |
42 |
+SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
47 |
+IUSE="debug doc nls sqlite" |
48 |
+ |
49 |
+BOTHDEPEND="nls? ( virtual/libintl ) |
50 |
+ sqlite? ( >=dev-db/sqlite-3:= )" |
51 |
+RDEPEND="${BOTHDEPEND} |
52 |
+ >=app-shells/push-2.0-r1 |
53 |
+ >=app-shells/quoter-3.0_p2-r1" |
54 |
+DEPEND="${BOTHDEPEND} |
55 |
+ app-arch/xz-utils |
56 |
+ nls? ( sys-devel/gettext )" |
57 |
+ |
58 |
+pkg_setup() { |
59 |
+ # remove stale cache file to prevent collisions |
60 |
+ local old_cache=${EROOT}/var/cache/${PN} |
61 |
+ if [[ -f ${old_cache} ]]; then |
62 |
+ rm "${old_cache}" || die |
63 |
+ fi |
64 |
+} |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die |
69 |
+ |
70 |
+ sed -e "/eixf_source=/s:push.sh:cat \"${EPREFIX}/usr/share/push/push.sh\":" \ |
71 |
+ -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \ |
72 |
+ -i src/eix-functions.sh.in || die |
73 |
+ sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/usr/share/eix/eix-functions\\\\\":" \ |
74 |
+ -i src/Makefile.am || die |
75 |
+ |
76 |
+ eautoreconf |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ local myconf=( |
81 |
+ $(use_enable debug paranoic-asserts) |
82 |
+ $(use_enable nls) |
83 |
+ $(use_with doc extra-doc) |
84 |
+ $(use_with sqlite) |
85 |
+ --without-protobuf |
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++14 |
112 |
+ |
113 |
+ # work around https://github.com/vaeth/eix/issues/64, bug#687988 |
114 |
+ local -x mv_fCXXFLAGS_cache='-mindirect-branch=thunk' |
115 |
+ |
116 |
+ econf "${myconf[@]}" |
117 |
+} |
118 |
+ |
119 |
+src_install() { |
120 |
+ default |
121 |
+ dobashcomp bash/eix |
122 |
+ dotmpfiles tmpfiles.d/eix.conf |
123 |
+ |
124 |
+ rm -r "${ED}"/usr/bin/eix-functions.sh || die |
125 |
+} |
126 |
+ |
127 |
+pkg_postinst() { |
128 |
+ tmpfiles_process eix.conf |
129 |
+ |
130 |
+ local obs=${EROOT}/var/cache/eix.previous |
131 |
+ if [[ -f ${obs} ]]; then |
132 |
+ ewarn "Found obsolete ${obs}, please remove it" |
133 |
+ fi |
134 |
+} |
135 |
+ |
136 |
+pkg_postrm() { |
137 |
+ if [[ ! -n ${REPLACED_BY_VERSION} ]]; then |
138 |
+ rm -rf "${EROOT}/var/cache/${PN}" || die |
139 |
+ fi |
140 |
+} |