Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: app-doc/root-docs/
Date: Fri, 06 Jul 2012 12:58:18
Message-Id: 1341579469.d448d50c4d9c2e14bfe9d11a186d09152fa36707.jlec@gentoo
1 commit: d448d50c4d9c2e14bfe9d11a186d09152fa36707
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 6 12:57:49 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 6 12:57:49 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d448d50c
7
8 Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/sci; github.com:gentoo-science/sci
9
10 * 'master' of git+ssh://git.overlays.gentoo.org/proj/sci:
11 New ebuild sci-physics/LoopTools-2.7 for bug#424860
12
13 * github.com:gentoo-science/sci:
14 New ebuild sci-physics/LoopTools-2.7 for bug#424860
15
16 ---
17 app-doc/root-docs/ChangeLog | 4 +
18 app-doc/root-docs/root-docs-5.32.03.ebuild | 96 ----------------------------
19 2 files changed, 4 insertions(+), 96 deletions(-)
20
21 diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
22 index aec7424..36085b8 100644
23 --- a/app-doc/root-docs/ChangeLog
24 +++ b/app-doc/root-docs/ChangeLog
25 @@ -2,6 +2,10 @@
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 # $Header: $
28
29 + 06 Jul 2012; Justin Lecher <jlec@g.o> -root-docs-5.32.03.ebuild,
30 + metadata.xml:
31 + Dropped in tree version
32 +
33 *root-docs-5.32.03 (20 Jun 2012)
34
35 20 Jun 2012; Andrew Savchenko <bircoph@×××××.com> -root-docs-5.32.ebuild,
36
37 diff --git a/app-doc/root-docs/root-docs-5.32.03.ebuild b/app-doc/root-docs/root-docs-5.32.03.ebuild
38 deleted file mode 100644
39 index 4615bc9..0000000
40 --- a/app-doc/root-docs/root-docs-5.32.03.ebuild
41 +++ /dev/null
42 @@ -1,96 +0,0 @@
43 -# Copyright 1999-2012 Gentoo Foundation
44 -# Distributed under the terms of the GNU General Public License v2
45 -# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.32.03.ebuild,v 1.1 2012/06/27 17:30:22 bicatali Exp $
46 -
47 -EAPI=4
48 -
49 -ROOT_PN="root"
50 -PATCH_PV="5.32"
51 -
52 -if [[ ${PV} == "9999" ]] ; then
53 - _SVN_DEP="dev-vcs/subversion"
54 - SRC_URI=""
55 - KEYWORDS=""
56 -else
57 - SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
58 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
59 -fi
60 -
61 -inherit eutils multilib toolchain-funcs virtualx
62 -
63 -DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
64 -HOMEPAGE="http://root.cern.ch/"
65 -
66 -SLOT="0"
67 -LICENSE="LGPL-2.1"
68 -IUSE=""
69 -
70 -S="${WORKDIR}/${ROOT_PN}"
71 -VIRTUALX_REQUIRED="always"
72 -
73 -DEPEND="
74 - ~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
75 - virtual/pkgconfig
76 - ${_SVN_DEP}"
77 -RDEPEND=""
78 -
79 -pkg_setup() {
80 - # sandboxed user can't access video hardware, so xorg-x11 implementation
81 - # should be used
82 - GL_IMPLEM=$(eselect opengl show)
83 - eselect opengl set xorg-x11
84 -}
85 -
86 -src_unpack() {
87 - # can't use subversion eclass functions,
88 - # we need to svn export the same root tree:
89 - # 1) svn revisions for root and root-docs must be the same;
90 - # 2) no need to abuse server twice.
91 - if [[ ${PV} == "9999" ]] ; then
92 - addpredict "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk/.svn"
93 - svn export "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk" \
94 - "${S}" || die "svn export failed"
95 - else
96 - default
97 - fi
98 -}
99 -
100 -src_prepare() {
101 - epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch
102 -}
103 -
104 -src_configure() {
105 - # we need only to setup paths here, html docs doesn't depend on USE flags
106 - ./configure \
107 - --prefix="${EPREFIX}"/usr \
108 - --etcdir="${EPREFIX}"/etc/root \
109 - --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
110 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
111 - --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
112 - --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
113 - --with-cc=$(tc-getCC) \
114 - --with-cxx=$(tc-getCXX) \
115 - --with-f77=$(tc-getFC) \
116 - --with-ld=$(tc-getCXX) \
117 - --with-afs-shared=yes \
118 - --with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \
119 - --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps
120 -}
121 -
122 -src_compile() {
123 - ROOTSYS="${S}" Xemake html
124 - # if root.exe crashes, return code will be 0 due to gdb attach,
125 - # so we need to check if last html file was generated;
126 - # this check is volatile and can't catch crash on the last file.
127 - [[ -f htmldoc/timespec.html ]] || die "looks like html doc generation crashed"
128 -}
129 -
130 -src_install() {
131 - dodir /usr/share/doc/${PF}
132 - # too large data to copy
133 - mv htmldoc/* "${ED}usr/share/doc/${PF}/"
134 -}
135 -
136 -pkg_postinst() {
137 - eselect opengl set ${GL_IMPLEM}
138 -}