1 |
commit: c052c5ef6de387fe3134db293a9831d0c6b8aa62 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 25 19:42:53 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 25 19:42:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c052c5ef |
7 |
|
8 |
app-portage/eix: Version bump (v0.33.7) |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
app-portage/eix/Manifest | 1 + |
14 |
app-portage/eix/eix-0.33.7.ebuild | 104 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 105 insertions(+) |
16 |
|
17 |
diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest |
18 |
index ec985a93691..0380111ec6f 100644 |
19 |
--- a/app-portage/eix/Manifest |
20 |
+++ b/app-portage/eix/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST eix-0.33.5.tar.xz 626628 BLAKE2B 2bb102279084f6bb6871bb4bbe55100708866337501c6043508ee13bdb92064c3a4a41d067b9d4c03af1a5ffbece53d9c66cf89639adf0c555a9511cae3d702f SHA512 7a71a411d4428ee491b9aee0f414e038a08f2195db58466db9b96f0d80edca7eaa153e63534c832c71e1b488e21fbd869a96bd10a21e06a93ce7eba1f808b684 |
23 |
DIST eix-0.33.6.tar.xz 625512 BLAKE2B 3f27e3cfa00dc4979bbebbd3b31dfa29e7dcd527fdf7b3ca3fdc6a4ce45a64d7f07fe20ea4a526533aa506c2d9e7fcbbf7b5e83ad6a2d4bbacd1ce75b6cde4ae SHA512 3f04f06533d4e7a0acd5b6e85d1194c8f9b013595ebe75c3dda06cce42e7721a57393aed17e9dd6437780b48378691d84b6e595999ce4321ad114b239313c7cf |
24 |
+DIST eix-0.33.7.tar.xz 626008 BLAKE2B 13d1f5b3096ec1ced13435f3680454c5b6f035ddbaa7877c7d2898b044fcc673f2c30b5ad25b8a3aa01354c726cf6ebf6483dc49f102145957dad95437931f63 SHA512 a6f2f553a05351c642c5ad5dcb8dc804585e1476d35dbe2c056ed493d1e37576e5e57fe0317f4fe4f6310c5439d23cbbe7384da8fbe9761eddca10e463950077 |
25 |
|
26 |
diff --git a/app-portage/eix/eix-0.33.7.ebuild b/app-portage/eix/eix-0.33.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4fd174fc704 |
29 |
--- /dev/null |
30 |
+++ b/app-portage/eix/eix-0.33.7.ebuild |
31 |
@@ -0,0 +1,104 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit autotools bash-completion-r1 flag-o-matic tmpfiles |
38 |
+ |
39 |
+DESCRIPTION="Search and query ebuilds" |
40 |
+HOMEPAGE="https://github.com/vaeth/eix/" |
41 |
+SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
46 |
+IUSE="debug doc nls sqlite" |
47 |
+ |
48 |
+BOTHDEPEND="nls? ( virtual/libintl ) |
49 |
+ sqlite? ( >=dev-db/sqlite-3:= )" |
50 |
+RDEPEND="${BOTHDEPEND} |
51 |
+ >=app-shells/push-2.0-r1 |
52 |
+ >=app-shells/quoter-3.0_p2-r1" |
53 |
+DEPEND="${BOTHDEPEND} |
54 |
+ app-arch/xz-utils |
55 |
+ nls? ( sys-devel/gettext )" |
56 |
+ |
57 |
+pkg_setup() { |
58 |
+ # remove stale cache file to prevent collisions |
59 |
+ local old_cache=${EROOT%/}/var/cache/${PN} |
60 |
+ if [[ -f ${old_cache} ]]; then |
61 |
+ rm "${old_cache}" || die |
62 |
+ fi |
63 |
+} |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die |
68 |
+ |
69 |
+ sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \ |
70 |
+ -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \ |
71 |
+ -i src/eix-functions.sh.in || die |
72 |
+ sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions\\\\\":" \ |
73 |
+ -i src/Makefile.am || die |
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 |
+ |
84 |
+ # default configuration |
85 |
+ $(use_with prefix always-accept-keywords) |
86 |
+ --with-dep-default |
87 |
+ --with-required-use-default |
88 |
+ |
89 |
+ # paths |
90 |
+ --with-portage-rootpath="${ROOTPATH}" |
91 |
+ --with-eprefix-default="${EPREFIX}" |
92 |
+ |
93 |
+ # build a single executable with symlinks |
94 |
+ --disable-separate-binaries |
95 |
+ --disable-separate-tools |
96 |
+ |
97 |
+ # used purely to control/disrespect *FLAGS |
98 |
+ --disable-debugging |
99 |
+ --disable-new_dialect |
100 |
+ --disable-optimization |
101 |
+ --disable-strong-optimization |
102 |
+ --disable-security |
103 |
+ --disable-nopie-security |
104 |
+ --disable-strong-security |
105 |
+ ) |
106 |
+ |
107 |
+ # https://github.com/vaeth/eix/issues/35 |
108 |
+ append-cxxflags -std=c++14 |
109 |
+ |
110 |
+ econf "${myconf[@]}" |
111 |
+} |
112 |
+ |
113 |
+src_install() { |
114 |
+ default |
115 |
+ dobashcomp bash/eix |
116 |
+ dotmpfiles tmpfiles.d/eix.conf |
117 |
+ |
118 |
+ rm -r "${ED%/}"/usr/bin/eix-functions.sh || die |
119 |
+ |
120 |
+} |
121 |
+ |
122 |
+pkg_postinst() { |
123 |
+ tmpfiles_process eix.conf |
124 |
+ |
125 |
+ local obs=${EROOT%/}/var/cache/eix.previous |
126 |
+ if [[ -f ${obs} ]]; then |
127 |
+ ewarn "Found obsolete ${obs}, please remove it" |
128 |
+ fi |
129 |
+} |
130 |
+ |
131 |
+pkg_postrm() { |
132 |
+ if [[ ! -n ${REPLACED_BY_VERSION} ]]; then |
133 |
+ rm -rf "${EROOT%/}/var/cache/${PN}" || die |
134 |
+ fi |
135 |
+} |