Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/extra-cmake-modules/
Date: Mon, 09 Jun 2014 04:42:41
Message-Id: 1402288919.9aa0523c25c1aa59bb1f7c8f50ea3895faac12c7.alexxy@gentoo
1 commit: 9aa0523c25c1aa59bb1f7c8f50ea3895faac12c7
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 9 04:41:59 2014 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 9 04:41:59 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=9aa0523c
7
8 [dev-libs/extra-cmake-modules] Add ebuild for 4.100.0
9
10 Package-Manager: portage-2.2.10
11
12 ---
13 .../extra-cmake-modules-0.0.14.ebuild | 45 ++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/dev-libs/extra-cmake-modules/extra-cmake-modules-0.0.14.ebuild b/dev-libs/extra-cmake-modules/extra-cmake-modules-0.0.14.ebuild
17 new file mode 100644
18 index 0000000..1c1d281
19 --- /dev/null
20 +++ b/dev-libs/extra-cmake-modules/extra-cmake-modules-0.0.14.ebuild
21 @@ -0,0 +1,45 @@
22 +# Copyright 1999-2014 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Header: $
25 +
26 +EAPI=5
27 +
28 +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
29 +
30 +inherit cmake-utils python-any-r1
31 +
32 +DESCRIPTION="Extra modules and scripts for CMake"
33 +HOMEPAGE="https://projects.kde.org/projects/kdesupport/extra-cmake-modules"
34 +SRC_URI="mirror://kde/unstable/frameworks/4.100.0/${P}.tar.xz"
35 +
36 +LICENSE="BSD"
37 +SLOT=0
38 +KEYWORDS="~amd64"
39 +IUSE="doc"
40 +
41 +DEPEND="
42 + app-arch/xz-utils
43 + >=dev-util/cmake-2.8.12
44 + doc? (
45 + ${PYTHON_DEPS}
46 + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
47 + )
48 +"
49 +
50 +python_check_deps() {
51 + has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
52 +}
53 +
54 +pkg_setup() {
55 + use doc && python-any-r1_pkg_setup
56 +}
57 +
58 +src_configure() {
59 + # demos not working
60 + local mycmakeargs=(
61 + $(cmake-utils_use_build doc HTML_DOCS)
62 + $(cmake-utils_use_build doc MAN_DOCS)
63 + )
64 +
65 + cmake-utils_src_configure
66 +}