1 |
commit: 011dafa11fb55b6080ed56a438d17c6ca2d941ba |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 8 17:34:58 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 8 19:10:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=011dafa1 |
7 |
|
8 |
app-portage/eix: Bump to 0.34.6 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-portage/eix/Manifest | 1 + |
13 |
app-portage/eix/eix-0.34.6.ebuild | 102 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 103 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest |
17 |
index 32b3705c1e9..e20cbdd7c7e 100644 |
18 |
--- a/app-portage/eix/Manifest |
19 |
+++ b/app-portage/eix/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST eix-0.34.4.tar.xz 628516 BLAKE2B 0c7cb4d7cd13d7715ba35cc0edd38e549fd1d1618bfdcacb272ee8325a844276a6df59a701ab2b4ecc693e5dad2d95c96c000e96eb8bce72709baf22f3fa490f SHA512 a96714fba8324529bf63de63f9eb11cc76da05e3d43c5eedad49079b6e3a1960376bd5d3bc116dba49bc7f694c7588741e518438936abd4b37edfe0a097ecd3d |
22 |
DIST eix-0.34.5.tar.xz 629276 BLAKE2B fe686512e5061bdbc8e499542972f2a3e65e672b111c8d4d8c22b093c65fcf02e4de8ad41805b69fe52c0d962f660c787a7a2639341cd8fd59d03c94c2601b79 SHA512 b11744ea36c0771e4959de4925b3d74df8c270633a21c82ff27f4c91cc5a9281a85a594f0d20d5eb5c3c15a6c08e74232030687cc85f588545216438dc4ff7d7 |
23 |
+DIST eix-0.34.6.tar.xz 629424 BLAKE2B bad7bc0e9d0bb3752c1e4df4e267e3782b43b15445d0a6cb9554bff6811556edcb244deeacef5189477bb4bbf37a200e687dfa15677117766378cdb5ec40d9f1 SHA512 b9cae0c3be4ede9563da4d4eda61e26c83de449c27d5048e6611164ee2513d0ad729cfa3622ef74c5b1a77d12ac2ea8f7e7ae029d7cf04efae31ef054375eb78 |
24 |
|
25 |
diff --git a/app-portage/eix/eix-0.34.6.ebuild b/app-portage/eix/eix-0.34.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f11bcd6edbb |
28 |
--- /dev/null |
29 |
+++ b/app-portage/eix/eix-0.34.6.ebuild |
30 |
@@ -0,0 +1,102 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools bash-completion-r1 flag-o-matic tmpfiles |
37 |
+ |
38 |
+DESCRIPTION="Search and query ebuilds" |
39 |
+HOMEPAGE="https://github.com/vaeth/eix/" |
40 |
+SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+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" |
45 |
+IUSE="debug doc nls sqlite" |
46 |
+ |
47 |
+BOTHDEPEND="nls? ( virtual/libintl ) |
48 |
+ sqlite? ( >=dev-db/sqlite-3:= )" |
49 |
+RDEPEND="${BOTHDEPEND} |
50 |
+ >=app-shells/push-2.0-r1 |
51 |
+ >=app-shells/quoter-3.0_p2-r1" |
52 |
+DEPEND="${BOTHDEPEND} |
53 |
+ app-arch/xz-utils |
54 |
+ nls? ( sys-devel/gettext )" |
55 |
+ |
56 |
+pkg_setup() { |
57 |
+ # remove stale cache file to prevent collisions |
58 |
+ local old_cache=${EROOT}/var/cache/${PN} |
59 |
+ if [[ -f ${old_cache} ]]; then |
60 |
+ rm "${old_cache}" || die |
61 |
+ fi |
62 |
+} |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die |
67 |
+ |
68 |
+ sed -e "/eixf_source=/s:push.sh:cat \"${EPREFIX}/usr/share/push/push.sh\":" \ |
69 |
+ -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \ |
70 |
+ -i src/eix-functions.sh.in || die |
71 |
+ sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/usr/share/eix/eix-functions\\\\\":" \ |
72 |
+ -i src/Makefile.am || die |
73 |
+ |
74 |
+ eautoreconf |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ local myconf=( |
79 |
+ $(use_enable debug paranoic-asserts) |
80 |
+ $(use_enable nls) |
81 |
+ $(use_with doc extra-doc) |
82 |
+ $(use_with sqlite) |
83 |
+ --without-protobuf |
84 |
+ |
85 |
+ # default configuration |
86 |
+ $(use_with prefix always-accept-keywords) |
87 |
+ --with-dep-default |
88 |
+ --with-required-use-default |
89 |
+ |
90 |
+ # paths |
91 |
+ --with-portage-rootpath="${ROOTPATH}" |
92 |
+ --with-eprefix-default="${EPREFIX}" |
93 |
+ |
94 |
+ # build a single executable with symlinks |
95 |
+ --disable-separate-binaries |
96 |
+ --disable-separate-tools |
97 |
+ |
98 |
+ # used purely to control/disrespect *FLAGS |
99 |
+ --disable-debugging |
100 |
+ --disable-new_dialect |
101 |
+ --disable-optimization |
102 |
+ --disable-strong-optimization |
103 |
+ --disable-security |
104 |
+ --disable-nopie-security |
105 |
+ --disable-strong-security |
106 |
+ ) |
107 |
+ |
108 |
+ econf "${myconf[@]}" |
109 |
+} |
110 |
+ |
111 |
+src_install() { |
112 |
+ default |
113 |
+ dobashcomp bash/eix |
114 |
+ dotmpfiles tmpfiles.d/eix.conf |
115 |
+ |
116 |
+ rm -r "${ED}"/usr/bin/eix-functions.sh || die |
117 |
+} |
118 |
+ |
119 |
+pkg_postinst() { |
120 |
+ tmpfiles_process eix.conf |
121 |
+ |
122 |
+ local obs=${EROOT}/var/cache/eix.previous |
123 |
+ if [[ -f ${obs} ]]; then |
124 |
+ ewarn "Found obsolete ${obs}, please remove it" |
125 |
+ fi |
126 |
+} |
127 |
+ |
128 |
+pkg_postrm() { |
129 |
+ if [[ ! -n ${REPLACED_BY_VERSION} ]]; then |
130 |
+ rm -rf "${EROOT}/var/cache/${PN}" || die |
131 |
+ fi |
132 |
+} |