1 |
commit: ebca16f9869ceb1ac8bb489c7eff29fcbe590dcd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 3 06:42:41 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 3 06:42:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebca16f9 |
7 |
|
8 |
app-portage/eix: Bump to 0.36.0 |
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.36.0.ebuild | 103 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 104 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest |
17 |
index 911d37a7be2..080ad227840 100644 |
18 |
--- a/app-portage/eix/Manifest |
19 |
+++ b/app-portage/eix/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST eix-0.35.2.tar.xz 636616 BLAKE2B 22c9ce54bd612ff7b8a085d91727ee7b472b9c3ba71568f23b4cfc5e2c4d9b0a68e2df377d4c4101c53e193864418c11b0c76830b5b6044588dcf3882b164e3d SHA512 39ff4c4f31be3c40a17a77626c25550a3881d8c405ebd9e7a361252cb729f9c0fc40831bc41e503fdea9f05684ad0eaa1aceabba1c6e4067a33a8581bf5a9625 |
22 |
+DIST eix-0.36.0.tar.xz 640820 BLAKE2B 952e6a354cc5fd1145ef36fed6047bc6f10dd7a51166028581e3b392be66b5df07eabb96cba362dc4f7a50fbe19e6ccb3744d30928c4763a91af21ad02cee38d SHA512 891e343b01d3887cbc7e61933b43e79949ff702dcd8ada2f15ff57a628dc6ebc9a4b6817d3aa3d814474db3131aefcbbf56cec2520868dcb2182cbee780125b5 |
23 |
|
24 |
diff --git a/app-portage/eix/eix-0.36.0.ebuild b/app-portage/eix/eix-0.36.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a13024c139e |
27 |
--- /dev/null |
28 |
+++ b/app-portage/eix/eix-0.36.0.ebuild |
29 |
@@ -0,0 +1,103 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit autotools bash-completion-r1 flag-o-matic tmpfiles |
36 |
+ |
37 |
+DESCRIPTION="Search and query ebuilds" |
38 |
+HOMEPAGE="https://github.com/vaeth/eix/" |
39 |
+SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
44 |
+IUSE="debug doc nls sqlite" |
45 |
+ |
46 |
+DEPEND=" |
47 |
+ nls? ( virtual/libintl ) |
48 |
+ sqlite? ( >=dev-db/sqlite-3:= )" |
49 |
+RDEPEND="${DEPEND} |
50 |
+ >=app-shells/push-2.0-r1 |
51 |
+ >=app-shells/quoter-3.0_p2-r1" |
52 |
+BDEPEND=" |
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 |
+} |