Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/extra-cmake-modules/
Date: Wed, 02 Jul 2014 12:03:59
Message-Id: 1404301846.ab9ec39eb9b8ea7ae3c8f711a1a5b823c0de4aed.kensington@gentoo
1 commit: ab9ec39eb9b8ea7ae3c8f711a1a5b823c0de4aed
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 2 11:50:46 2014 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 2 11:50:46 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=ab9ec39e
7
8 [dev-libs/extra-cmake-modules] Version bump.
9
10 Package-Manager: portage-2.2.10
11
12 ---
13 .../extra-cmake-modules-1.0.0.ebuild | 45 ++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/dev-libs/extra-cmake-modules/extra-cmake-modules-1.0.0.ebuild b/dev-libs/extra-cmake-modules/extra-cmake-modules-1.0.0.ebuild
17 new file mode 100644
18 index 0000000..1d27ed1
19 --- /dev/null
20 +++ b/dev-libs/extra-cmake-modules/extra-cmake-modules-1.0.0.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/stable/frameworks/5.0.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 +}