1 |
commit: f76878366c76ab2831c6d5ca5f26699b9ed4f59b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 25 06:37:16 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 25 06:37:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7687836 |
7 |
|
8 |
app-portage/eix: Bump to 0.34.10 |
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.10.ebuild | 102 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 103 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest |
17 |
index d58d676dbfd..b4a49a47829 100644 |
18 |
--- a/app-portage/eix/Manifest |
19 |
+++ b/app-portage/eix/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
+DIST eix-0.34.10.tar.xz 630356 BLAKE2B 6336652dbb3703295693dea40cb2d2a2d5c7fc17d28150faae07b566cccfddb8d103b83c5db34e839434b1fbbe0ff87a08c4af84d2f80c5e9b786d88d5743f96 SHA512 35270b7fafe6a13ebb33271b3baba07f61928d9c9c40aafabc47d8f7bd4a8d44e1013004361e9cf81e8517d5b1a8a3010d18c6fcac02dcc8b44dc443762f82a3 |
22 |
DIST eix-0.34.4.tar.xz 628516 BLAKE2B 0c7cb4d7cd13d7715ba35cc0edd38e549fd1d1618bfdcacb272ee8325a844276a6df59a701ab2b4ecc693e5dad2d95c96c000e96eb8bce72709baf22f3fa490f SHA512 a96714fba8324529bf63de63f9eb11cc76da05e3d43c5eedad49079b6e3a1960376bd5d3bc116dba49bc7f694c7588741e518438936abd4b37edfe0a097ecd3d |
23 |
DIST eix-0.34.9.tar.xz 629672 BLAKE2B ba9a5de98f74baa711e7483e284980c0fe5e956512de590954bf848f6cf6baad5db899256e927e7cb984d7276157fa9c42052cc8fb1ccc52e5e530cc31d39d84 SHA512 5cb00c813bc31971a0cfd77cae0c676040d33f24963cb241274918d2e381956ca949593e0637d81040a9751db0a925552913188cc25ada9a90c6007c31f72e43 |
24 |
|
25 |
diff --git a/app-portage/eix/eix-0.34.10.ebuild b/app-portage/eix/eix-0.34.10.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f11bcd6edbb |
28 |
--- /dev/null |
29 |
+++ b/app-portage/eix/eix-0.34.10.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 |
+} |