Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: app-doc/root-docs/
Date: Tue, 03 Mar 2015 04:31:35
Message-Id: 1425357063.6bac99d9495f04024026d46ea869715883e5e0c5.bircoph@gentoo
1 commit: 6bac99d9495f04024026d46ea869715883e5e0c5
2 Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 3 04:31:03 2015 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
5 CommitDate: Tue Mar 3 04:31:03 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6bac99d9
7
8 app-doc/root-docs: 5.34.26 is now in portage
9
10 Package-Manager: portage-2.2.17
11 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
12
13 ---
14 app-doc/root-docs/ChangeLog | 3 +
15 app-doc/root-docs/root-docs-5.34.26.ebuild | 133 -----------------------------
16 2 files changed, 3 insertions(+), 133 deletions(-)
17
18 diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
19 index b235f7c..355d052 100644
20 --- a/app-doc/root-docs/ChangeLog
21 +++ b/app-doc/root-docs/ChangeLog
22 @@ -2,6 +2,9 @@
23 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.42 2014/03/28 18:48:01 bicatali Exp $
25
26 + 03 Mar 2015; Andrew Savchenko <bircoph@g.o> -root-docs-5.34.26.ebuild:
27 + 5.34.26 is now in the portage tree
28 +
29 02 Mar 2015; Andrew Savchenko <bircoph@g.o> metadata.xml:
30 Update maintainer information.
31
32
33 diff --git a/app-doc/root-docs/root-docs-5.34.26.ebuild b/app-doc/root-docs/root-docs-5.34.26.ebuild
34 deleted file mode 100644
35 index 39e39b2..0000000
36 --- a/app-doc/root-docs/root-docs-5.34.26.ebuild
37 +++ /dev/null
38 @@ -1,133 +0,0 @@
39 -# Copyright 1999-2015 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.18-r1.ebuild,v 1.2 2014/03/28 18:48:01 bicatali Exp $
42 -
43 -EAPI=5
44 -
45 -ROOT_PN="root"
46 -ROOFIT_DOC_PV=2.91-33
47 -ROOFIT_QS_DOC_PV=3.00
48 -TMVA_DOC_PV=4.2.0
49 -
50 -if [[ ${PV} == "9999" ]] ; then
51 - inherit git-r3
52 - EVCS_OFFLINE=yes # we need exactly the same checkout as root itself
53 - EGIT_REPO_URI="http://root.cern.ch/git/root.git"
54 - KEYWORDS=""
55 -else
56 - SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
57 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
58 - S="${WORKDIR}/${ROOT_PN}"
59 -fi
60 -
61 -inherit eutils multilib virtualx
62 -
63 -DESCRIPTION="Documentation for ROOT Data Analysis Framework"
64 -HOMEPAGE="http://root.cern.ch/drupal"
65 -SRC_URI="${SRC_URI}
66 - math? (
67 - http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
68 - http://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
69 - http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf )
70 - api? (
71 - ${HOMEPAGE}/sites/all/themes/newsflash/images/blue/root-banner.png
72 - ${HOMEPAGE}/sites/all/themes/newsflash/images/info.png )"
73 -
74 -SLOT="0"
75 -LICENSE="LGPL-2.1"
76 -IUSE="api +math +metric http"
77 -
78 -VIRTUALX_REQUIRED="api"
79 -
80 -DEPEND="
81 - ~sci-physics/root-${PV}[X,graphviz,opengl]
82 - app-text/pandoc
83 - app-text/texlive
84 - dev-haskell/pandoc-citeproc[bibutils]
85 - media-fonts/dejavu
86 - virtual/pkgconfig"
87 -RDEPEND=""
88 -
89 -DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}"
90 -
91 -src_unpack() {
92 - if [[ ${PV} == "9999" ]] ; then
93 - # we need to force sci-physics/root checkout here
94 - git-r3_checkout "${EGIT_REPO_URI}" "${WORKDIR}/${P}" "sci-physics/root/0"
95 - else
96 - default
97 - fi
98 -}
99 -
100 -src_prepare() {
101 - use api && epatch \
102 - "${FILESDIR}/${PN}-6.00.01-makehtml.patch" \
103 - "${FILESDIR}/${PN}-6.00.01-fillpatterns.patch"
104 - # prefixify the configure script
105 - sed -i \
106 - -e "s:/usr:${EPREFIX}/usr:g" \
107 - configure || die "prefixify configure failed"
108 -}
109 -
110 -src_configure() {
111 - # we need only to setup paths here, html docs doesn't depend on USE flags
112 - if use api; then
113 - ./configure \
114 - --prefix="${EPREFIX}/usr" \
115 - --etcdir="${EPREFIX}/etc/root" \
116 - --libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" \
117 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
118 - --tutdir="${EPREFIX}/usr/share/doc/${PF}/examples/tutorials" \
119 - --testdir="${EPREFIX}/usr/share/doc/${PF}/examples/tests" \
120 - --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
121 - --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" \
122 - --nohowto
123 - fi
124 -}
125 -
126 -src_compile() {
127 - pdf_target=( primer users-guide )
128 - local pdf_size=pdfa4
129 - use metric || pdf_size=pdfletter
130 - use math && pdf_target+=( minuit2 spectrum )
131 - use http && pdf_target+=( HttpServer JSROOT )
132 -
133 - for (( i=0; i<${#pdf_target[@]}; i++ )); do
134 - emake -C documentation/"${pdf_target[i]}" "${pdf_size}"
135 - done
136 -
137 - if use api; then
138 - # video drivers may want to access hardware devices
139 - cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
140 - [[ -n "${cards}" ]] && addpredict "${cards}"
141 -
142 - ROOTSYS="${S}" Xemake html
143 - # if root.exe crashes, return code will be 0 due to gdb attach,
144 - # so we need to check if last html file was generated;
145 - # this check is volatile and can't catch crash on the last file.
146 - [[ -f htmldoc/tableDescriptor_st.html ]] || die "html doc generation crashed"
147 - fi
148 -}
149 -
150 -src_install() {
151 - insinto "${DOC_DIR}"
152 -
153 - for (( i=0; i<${#pdf_target[@]}; i++ )); do
154 - doins documentation/"${pdf_target[i]}"/*.pdf
155 - done
156 - unset pdf_target
157 -
158 - use math && doins \
159 - "${DISTDIR}/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf" \
160 - "${DISTDIR}/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf" \
161 - "${DISTDIR}/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf"
162 -
163 - if use api; then
164 - # Install offline replacements for online messages
165 - cp "${DISTDIR}"/{root-banner.png,info.png} htmldoc/ || die "cp failed"
166 - # too large data to copy
167 - dodir "${DOC_DIR}/html"
168 - mv htmldoc/* "${ED}${DOC_DIR}/html/" || die
169 - docompress -x ${DOC_DIR}/html
170 - fi
171 -}