1 |
commit: ead832ffe4f481f8c4ad3a72a7aa2df91f25851b |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 22 11:03:24 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 22 11:03:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ead832ff |
7 |
|
8 |
app-doc/root-docs: Bump to EAPI=6 |
9 |
|
10 |
* Fix patches for current EHAD |
11 |
|
12 |
Package-Manager: portage-2.2.27 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
.../root-docs/files/root-docs-6.02.05-jsroot.patch | 11 ------ |
16 |
app-doc/root-docs/root-docs-9999.ebuild | 42 +++++----------------- |
17 |
2 files changed, 9 insertions(+), 44 deletions(-) |
18 |
|
19 |
diff --git a/app-doc/root-docs/files/root-docs-6.02.05-jsroot.patch b/app-doc/root-docs/files/root-docs-6.02.05-jsroot.patch |
20 |
deleted file mode 100644 |
21 |
index 1ea170e..0000000 |
22 |
--- a/app-doc/root-docs/files/root-docs-6.02.05-jsroot.patch |
23 |
+++ /dev/null |
24 |
@@ -1,11 +0,0 @@ |
25 |
---- root-6.02.05/documentation/JSROOT/JSROOT.md.orig 2015-02-09 11:59:47.000000000 +0300 |
26 |
-+++ root-6.02.05/documentation/JSROOT/JSROOT.md 2015-04-05 19:13:24.010358387 +0300 |
27 |
-@@ -198,7 +198,7 @@ |
28 |
- <div id="drawing">loading...</div> |
29 |
- </body> |
30 |
- |
31 |
--Internally, the JSROOT.loadScript(urllist, callback, debug) method is used. It can be useful when some other scripts should be loaded as well. __urllist__ is a string with scripts names, separated by ';' symbol. If a script name starts with __$$$__ (triple dollar sign), the script will be loaded from a location relative to the main JSROOT directory. |
32 |
-+Internally, the JSROOT.loadScript(urllist, callback, debug) method is used. It can be useful when some other scripts should be loaded as well. __urllist__ is a string with scripts names, separated by ';' symbol. If a script name starts with __\$\$\$__ (triple dollar sign), the script will be loaded from a location relative to the main JSROOT directory. |
33 |
- This location is automatically detected when JSRootCore.js script is loaded. |
34 |
- |
35 |
- |
36 |
|
37 |
diff --git a/app-doc/root-docs/root-docs-9999.ebuild b/app-doc/root-docs/root-docs-9999.ebuild |
38 |
index 7c64864..4ffda31 100644 |
39 |
--- a/app-doc/root-docs/root-docs-9999.ebuild |
40 |
+++ b/app-doc/root-docs/root-docs-9999.ebuild |
41 |
@@ -1,36 +1,20 @@ |
42 |
-# Copyright 1999-2015 Gentoo Foundation |
43 |
+# Copyright 1999-2016 Gentoo Foundation |
44 |
# Distributed under the terms of the GNU General Public License v2 |
45 |
# $Id$ |
46 |
|
47 |
-EAPI=5 |
48 |
+EAPI=6 |
49 |
|
50 |
ROOT_PN="root" |
51 |
ROOFIT_DOC_PV=2.91-33 |
52 |
ROOFIT_QS_DOC_PV=3.00 |
53 |
TMVA_DOC_PV=4.2.0 |
54 |
|
55 |
-if [[ ${PV} == "9999" ]] ; then |
56 |
- inherit git-r3 |
57 |
- EVCS_OFFLINE=yes # we need exactly the same checkout as root itself |
58 |
- EGIT_REPO_URI="http://root.cern.ch/git/root.git" |
59 |
-else |
60 |
- SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz" |
61 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
62 |
- S="${WORKDIR}/${ROOT_PN}-${PV}" |
63 |
-fi |
64 |
- |
65 |
-inherit eutils multilib virtualx |
66 |
+inherit eutils git-r3 multilib virtualx |
67 |
|
68 |
DESCRIPTION="Documentation for ROOT Data Analysis Framework" |
69 |
HOMEPAGE="http://root.cern.ch/drupal" |
70 |
-SRC_URI="${SRC_URI} |
71 |
- math? ( |
72 |
- http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf |
73 |
- http://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf |
74 |
- http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf ) |
75 |
- api? ( |
76 |
- ${HOMEPAGE}/sites/default/files/images/root6-banner.jpg |
77 |
- ${HOMEPAGE}/sites/all/themes/newsflash/images/info.png )" |
78 |
+SRC_URI="" |
79 |
+EGIT_REPO_URI="http://root.cern.ch/git/root.git" |
80 |
|
81 |
SLOT="0" |
82 |
LICENSE="LGPL-2.1" |
83 |
@@ -51,20 +35,12 @@ RDEPEND="" |
84 |
|
85 |
DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}" |
86 |
|
87 |
-src_unpack() { |
88 |
- if [[ ${PV} == "9999" ]] ; then |
89 |
- # we need to force sci-physics/root checkout here |
90 |
- git-r3_checkout "${EGIT_REPO_URI}" "${WORKDIR}/${P}" "sci-physics/root/0" |
91 |
- else |
92 |
- default |
93 |
- fi |
94 |
-} |
95 |
+PATCHES=( |
96 |
+ "${FILESDIR}"/${PN}-6.00.01-makehtml.patch |
97 |
+) |
98 |
|
99 |
src_prepare() { |
100 |
- epatch \ |
101 |
- "${FILESDIR}/${PN}-6.00.01-makehtml.patch" \ |
102 |
- "${FILESDIR}/${PN}-6.02.05-jsroot.patch" |
103 |
- |
104 |
+ default |
105 |
# prefixify the configure script |
106 |
sed -i \ |
107 |
-e "s:/usr:${EPREFIX}/usr:g" \ |