public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/extra-cmake-modules/
Date: Fri, 18 Apr 2014 12:49:12 +0000 (UTC)	[thread overview]
Message-ID: <1397825296.7ef044d60423e71ab2954b7adfc56758cf705e65.kensington@gentoo> (raw)

commit:     7ef044d60423e71ab2954b7adfc56758cf705e65
Author:     Uwe L. Korn <uwelk <AT> xhochy <DOT> com>
AuthorDate: Fri Apr 18 09:14:39 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Apr 18 12:48:16 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=7ef044d6

[dev-libs/extra-cmake-modules] Add doc USE

Package-Manager: portage-2.2.10

---
 .../extra-cmake-modules-9999.ebuild                | 27 +++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/dev-libs/extra-cmake-modules/extra-cmake-modules-9999.ebuild b/dev-libs/extra-cmake-modules/extra-cmake-modules-9999.ebuild
index 4bae641..e226980 100644
--- a/dev-libs/extra-cmake-modules/extra-cmake-modules-9999.ebuild
+++ b/dev-libs/extra-cmake-modules/extra-cmake-modules-9999.ebuild
@@ -4,7 +4,9 @@
 
 EAPI=5
 
-inherit cmake-utils git-r3
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
+
+inherit cmake-utils git-r3 python-any-r1
 
 DESCRIPTION="Extra modules and scripts for CMake"
 HOMEPAGE="https://projects.kde.org/projects/kdesupport/extra-cmake-modules"
@@ -13,7 +15,30 @@ EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
 LICENSE="BSD"
 SLOT=0
 KEYWORDS=""
+IUSE="doc"
 
 DEPEND="
 	>=dev-util/cmake-2.8.12
+	doc? (
+		${PYTHON_DEPS}
+		$(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
+	)
 "
+
+python_check_deps() {
+	has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+	use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+	# demos not working
+	local mycmakeargs=(
+		$(cmake-utils_use_build doc HTML_DOCS)
+		$(cmake-utils_use_build doc MAN_DOCS)
+	)
+
+	cmake-utils_src_configure
+}


             reply	other threads:[~2014-04-18 12:49 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18 12:49 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-03-18 12:14 [gentoo-commits] proj/kde:master commit in: dev-libs/extra-cmake-modules/ Manuel Rüger
2015-02-14 21:41 Johannes Huber
2015-02-12 23:29 Johannes Huber
2015-01-09 18:38 Manuel Rüger
2015-01-05 14:20 Manuel Rüger
2014-12-17 21:30 Manuel Rüger
2014-12-12 20:37 Manuel Rüger
2014-12-06 17:46 Michael Palimaka
2014-11-14 11:03 Manuel Rüger
2014-11-06 14:13 Manuel Rüger
2014-10-25 15:10 Manuel Rüger
2014-10-12 14:37 Michael Palimaka
2014-10-04 17:40 Michael Palimaka
2014-09-15 12:53 Michael Palimaka
2014-09-12 18:15 Johannes Huber
2014-09-09 12:10 Michael Palimaka
2014-09-09 12:08 Michael Palimaka
2014-08-07 15:21 Johannes Huber
2014-08-02 16:59 Michael Palimaka
2014-07-08 18:32 Michael Palimaka
2014-07-02 12:03 Michael Palimaka
2014-07-02 12:03 Michael Palimaka
2014-06-09 10:03 Michael Palimaka
2014-06-09  4:42 Alexey Shvetsov
2014-05-08 19:53 Michael Palimaka
2014-05-05  9:36 Michael Palimaka
2014-05-01 22:46 Johannes Huber
2014-04-01 14:27 Michael Palimaka
2014-03-05  8:10 Michael Palimaka
2014-02-12 11:57 Michael Palimaka
2014-01-10  7:48 Michael Palimaka
2013-12-20 10:34 Johannes Huber
2013-10-13 16:27 Johannes Huber
2013-09-05 12:11 Michael Palimaka
2013-09-05 12:11 Michael Palimaka
2013-03-11 15:11 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1397825296.7ef044d60423e71ab2954b7adfc56758cf705e65.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox