1 |
commit: b7b0d6d5ddb8b255a9007c16dbc4ef25ca54fdb0 |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 10 01:06:41 2017 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 10 01:06:41 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7b0d6d5 |
7 |
|
8 |
app-portage/eix: add -std=c++11 (https://github.com/vaeth/eix/issues/35). |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
app-portage/eix/Manifest | 1 + |
13 |
app-portage/eix/eix-0.32.5.ebuild | 102 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 103 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest |
17 |
index 900fe09fff..ec014b899a 100644 |
18 |
--- a/app-portage/eix/Manifest |
19 |
+++ b/app-portage/eix/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST eix-0.31.7.tar.xz 583100 SHA256 f092c1463a4f49e4b0da97a76b13fd66036a203a590 |
21 |
DIST eix-0.31.9.tar.xz 585724 SHA256 2fa324d2ee242bdc686aaf9e33f591379682e115075eb2212c3b885e2c154267 SHA512 9e58f2fdaac05563e2213bef405ee418507794cf30d9390be341e79e525eee35025458456624b33fe241f2dc8c07ab75fc7a04980a9df9f585cc6bb3d1497ad7 WHIRLPOOL a5bebb53b9a77edb281e5b06b8a6813febde7abdaf69c08ca183d579a56b87eee507ccc406c5717ffcffd0af20f7b3a01f58f7248faf258e451d10fa8cbbcffc |
22 |
DIST eix-0.32.1.tar.xz 587800 SHA256 706261e2ee99fa4be493691067deb547ce5181e92d5ed6a49d02dc2b1d85ce4f SHA512 deb94d0a9eed7cd895b0cff50db536c2ac1cc6f7031a5b2a98293c02d4e487e63886cc8e9216ad0bea6d66e66d7adf7d875a6537826d479878e2e05d11c50d76 WHIRLPOOL 8dfe92916cb717d8f7d07511e318dfbf1dc266326d162e3d69b091083d58833541804695399d3144935a6af547409efe6000ab14e39b01e0ec6815bcce53e2d1 |
23 |
DIST eix-0.32.4.tar.xz 592284 SHA256 8132be9c496b5b19699c50d9aacd49560ca1f0466e3de4f47b896337f3527fc6 SHA512 382181d082648e9b236c3bf54fdf5d75a8575a7994e6a1d3380e80bcc36ff5779c660c5b5fc5f233cef79e48099fc53bb1c8b87e2ca919dcdb43d5fde276f553 WHIRLPOOL 0c8258d36a30a76fec2e7315e07776c277b2f098f6c0fb0a9a182f28827a659c334b190e10c52ea7ec8facd7a6e1f6124b3ffefd3ed2aade6da747e815276737 |
24 |
+DIST eix-0.32.5.tar.xz 595124 SHA256 1ebe07f46800f3f254d1385cd88eba328da9f07cc17731ad1b231a8b13450f6e SHA512 355c0daf81c349ceaa53a7253816a072578923f2044e53c9a8e98ceb9726b238f86f8b1d8ad96bb62851f887e50c1e5e443115dc12fcae7c8bca851caf9b9650 WHIRLPOOL 3b707ebeadc1653917269c81a594469ff2c603e5ad3772d1b19efb9fbd81dcf76b527c9d03975748e9cf0e1f011d1704ecd39f108ea166d78c9bb3be7370ada7 |
25 |
|
26 |
diff --git a/app-portage/eix/eix-0.32.5.ebuild b/app-portage/eix/eix-0.32.5.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000000..75a794bf74 |
29 |
--- /dev/null |
30 |
+++ b/app-portage/eix/eix-0.32.5.ebuild |
31 |
@@ -0,0 +1,102 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PLOCALES="de ru" |
39 |
+inherit bash-completion-r1 l10n systemd flag-o-matic |
40 |
+ |
41 |
+DESCRIPTION="Search and query ebuilds" |
42 |
+HOMEPAGE="https://github.com/vaeth/eix/" |
43 |
+SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="debug doc nls sqlite" |
49 |
+ |
50 |
+BOTHDEPEND="nls? ( virtual/libintl ) |
51 |
+ sqlite? ( >=dev-db/sqlite-3:= )" |
52 |
+RDEPEND="${BOTHDEPEND} |
53 |
+ >=app-shells/push-2.0 |
54 |
+ >=app-shells/quoter-3.0" |
55 |
+DEPEND="${BOTHDEPEND} |
56 |
+ app-arch/xz-utils |
57 |
+ nls? ( sys-devel/gettext )" |
58 |
+ |
59 |
+pkg_setup() { |
60 |
+ # remove stale cache file to prevent collisions |
61 |
+ local old_cache=${EROOT%/}/var/cache/${PN} |
62 |
+ if [[ -f ${old_cache} ]]; then |
63 |
+ rm "${old_cache}" || die |
64 |
+ fi |
65 |
+} |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ local myconf=( |
74 |
+ $(use_enable debug paranoicasserts) |
75 |
+ $(use_enable nls) |
76 |
+ $(use_with doc extra-doc) |
77 |
+ $(use_with sqlite) |
78 |
+ |
79 |
+ # default configuration |
80 |
+ $(use_with prefix always-accept-keywords) |
81 |
+ --with-dep-default |
82 |
+ --with-required-use-default |
83 |
+ |
84 |
+ # paths |
85 |
+ --with-portage-rootpath="${ROOTPATH}" |
86 |
+ --with-eprefix-default="${EPREFIX}" |
87 |
+ |
88 |
+ # build a single executable with symlinks |
89 |
+ --disable-separate-binaries |
90 |
+ --disable-separate-tools |
91 |
+ |
92 |
+ # used purely to control/disrespect *FLAGS |
93 |
+ --disable-debugging |
94 |
+ --disable-new_dialect |
95 |
+ --disable-optimization |
96 |
+ --disable-strong-optimization |
97 |
+ --disable-security |
98 |
+ --disable-nopie-security |
99 |
+ --disable-strong-security |
100 |
+ ) |
101 |
+ |
102 |
+ # https://github.com/vaeth/eix/issues/35 |
103 |
+ append-cxxflags -std=c++11 |
104 |
+ |
105 |
+ econf "${myconf[@]}" |
106 |
+} |
107 |
+ |
108 |
+src_install() { |
109 |
+ default |
110 |
+ dobashcomp bash/eix |
111 |
+ systemd_dotmpfilesd tmpfiles.d/eix.conf |
112 |
+ |
113 |
+ keepdir /var/cache/eix |
114 |
+} |
115 |
+ |
116 |
+pkg_postinst() { |
117 |
+ if ! use prefix; then |
118 |
+ # note: if this is done in src_install(), portage:portage |
119 |
+ # ownership may be reset to root |
120 |
+ chown portage:portage "${EROOT%/}"/var/cache/eix || die |
121 |
+ fi |
122 |
+ |
123 |
+ local obs=${EROOT%/}/var/cache/eix.previous |
124 |
+ if [[ -f ${obs} ]]; then |
125 |
+ ewarn "Found obsolete ${obs}, please remove it" |
126 |
+ fi |
127 |
+} |
128 |
+ |
129 |
+pkg_postrm() { |
130 |
+ if [[ ! -n ${REPLACED_BY_VERSION} ]]; then |
131 |
+ rm -rf "${EROOT%/}/var/cache/${PN}" || die |
132 |
+ fi |
133 |
+} |