Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/elektra/
Date: Sat, 09 Dec 2017 00:19:01
Message-Id: 1512778726.a6a8f084a593c4a5650115decb74a0720c8ebc1e.xmw@gentoo
1 commit: a6a8f084a593c4a5650115decb74a0720c8ebc1e
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 9 00:18:46 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 9 00:18:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6a8f084
7
8 app-admin/elektra: Remove live ebuild.
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 app-admin/elektra/elektra-9999.ebuild | 118 ----------------------------------
13 1 file changed, 118 deletions(-)
14
15 diff --git a/app-admin/elektra/elektra-9999.ebuild b/app-admin/elektra/elektra-9999.ebuild
16 deleted file mode 100644
17 index 79ef408969f..00000000000
18 --- a/app-admin/elektra/elektra-9999.ebuild
19 +++ /dev/null
20 @@ -1,118 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -
26 -inherit cmake-multilib eutils java-pkg-opt-2 git-r3
27 -
28 -DESCRIPTION="Framework to store config parameters in hierarchical key-value pairs"
29 -HOMEPAGE="https://freedesktop.org/wiki/Software/Elektra"
30 -EGIT_REPO_URI="https://github.com/ElektraInitiative/libelektra.git"
31 -
32 -LICENSE="BSD"
33 -SLOT="0/${PV}"
34 -KEYWORDS=""
35 -PLUGIN_IUSE="augeas iconv ini java simpleini syslog systemd tcl +uname xml yajl";
36 -IUSE="dbus doc qt5 static-libs test ${PLUGIN_IUSE}"
37 -
38 -RDEPEND="dev-libs/libltdl:0[${MULTILIB_USEDEP}]
39 - >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
40 - augeas? ( app-admin/augeas )
41 - dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
42 - iconv? ( >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] )
43 - java? ( >=virtual/jdk-1.8.0 )
44 - qt5? (
45 - dev-qt/qtdeclarative:5
46 - dev-qt/qtgui:5
47 - dev-qt/qttest:5
48 - dev-qt/qtwidgets:5
49 - )
50 - uname? ( sys-apps/coreutils )
51 - systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
52 - yajl? ( >=dev-libs/yajl-1.0.11-r1[${MULTILIB_USEDEP}] )"
53 -DEPEND="${RDEPEND}
54 - doc? ( app-doc/doxygen )
55 - test? ( >=dev-cpp/gtest-1.7.0 )"
56 -
57 -DOCS=( README.md doc/AUTHORS doc/CODING.md doc/NEWS.md doc/todo/TODO )
58 -# tries to write to user's home directory (and doesn't respect HOME)
59 -RESTRICT="test"
60 -
61 -MULTILIB_WRAPPED_HEADERS=( /usr/include/elektra/kdbconfig.h )
62 -
63 -PATCHES=( "${FILESDIR}/${PN}"-0.8.15-conditional-glob-tests.patch )
64 -
65 -src_prepare() {
66 - cmake-utils_src_prepare
67 -
68 - einfo remove bundled libs
69 - # TODO: Remove bundled inih from src/plugins/ini (add to portage):
70 - # https://code.google.com/p/inih/
71 - rm -rf src/external || die
72 -
73 - # move doc files to correct location
74 - sed -e "s/elektra-api/${PF}/" \
75 - -i cmake/ElektraCache.cmake || die
76 -
77 - # avoid useless build time, nothing ends up installed
78 - cmake_comment_add_subdirectory benchmarks
79 - cmake_comment_add_subdirectory examples
80 -}
81 -
82 -multilib_src_configure() {
83 - local my_plugins="ALL"
84 -
85 - if multilib_is_native_abi ; then
86 - use augeas || my_plugins+=";-augeas"
87 - use java || my_plugins+=";-jni"
88 - else
89 - my_plugins+=";-augeas;-jni"
90 - fi
91 -
92 - use dbus || my_plugins+=";-dbus"
93 - use iconv || my_plugins+=";-iconv"
94 - use ini || my_plugins+=";-ini" # bundles inih
95 - use simpleini || my_plugins+=";-simpleini"
96 - use syslog || my_plugins+=";-syslog"
97 - use systemd || my_plugins+=";-journald"
98 - use tcl || my_plugins+=";-tcl"
99 - use uname || my_plugins+=";-uname"
100 - use xml || my_plugins+=";-xmltool"
101 - use yajl || my_plugins+=";-yajl"
102 -
103 - # Disabling for good (?):
104 - # counter - Only useful for debugging the plugin framework
105 - # doc - Explaining basic makeup of a function //bug #514402
106 - # noresolver - Does not resolve, but can act as one
107 - # template - Template for new plugin written in C
108 - # wresolver - Resolver for non-POSIX, e.g. w32/w64 systems
109 - my_plugins+=";-counter;-doc;-noresolver;-template;-wresolver"
110 -
111 - local my_tools
112 -
113 - if multilib_is_native_abi ; then
114 - my_tools="kdb"
115 - use qt5 && my_tools+=";qt-gui"
116 - fi
117 -
118 - local mycmakeargs=(
119 - -DBUILD_PDF=OFF
120 - -DBUILD_SHARED=ON
121 - -DBUILD_STATIC=$(usex static-libs)
122 - -DBUILD_TESTING=$(usex test)
123 - -DENABLE_TESTING=$(usex test)
124 - -DPLUGINS=${my_plugins}
125 - -DTOOLS=${my_tools}
126 - -DBUILD_DOCUMENTATION=$(multilib_is_native_abi && usex doc || echo no)
127 - -DTARGET_CMAKE_FOLDER=share/cmake/Modules
128 - )
129 -
130 - cmake-utils_src_configure
131 -}
132 -
133 -multilib_src_install_all() {
134 - einfo remove test_data
135 - rm -rvf "${ED%/}/usr/share/${PN}" || die "Failed to remove test_data"
136 - einfo remove tool_exec
137 - rm -rvf "${ED%/}/usr/$(get_libdir)/${PN}/tool_exec" || die "Failed to remove tool_exec"
138 -}