mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-doc/root-docs: drop version 6.04.06
ROOT 6.04/06 is no longer in the tree, and for newer versions, this package will be deprecated in favor of USE=doc in sci-physics/root instead. Updated online documentation for ROOT can be accessed at https://root.cern.ch/documentation. Package-Manager: Portage-2.3.18, Repoman-2.3.6
This commit is contained in:
@@ -3,6 +3,4 @@ DIST TMVAUsersGuide-v4.2.0.pdf 4099493 BLAKE2B d64e2544dd31d0d096e778bdbda77fce1
|
||||
DIST info.png 2060 BLAKE2B 7a2780a8c63c055d3ef8e346d6d712fe15a210c7ce50d414ac931d21e0f6ca045151e8d3f4f3004971e8f2bf8b2c303a0273a38b6e88e42ab2250069c52fae5c SHA512 81a730eefbe7a7e15d5840491402c7644bf7ed5d5f8f3830ed9457b343cc7882480e993ea84aef93500742cd0fe8469859cd2c925e5582b91ef56406804ae276
|
||||
DIST roofit_quickstart_3.00.pdf 501576 BLAKE2B 14b40d639b78040733f608a75970d115ba56e677b4931f2de0c43b47b960d8a5a33d45ebeb0f37dff587e14cb964218564ce9751ecedd079bd55aaa6d9534aec SHA512 e8e1bd3bb3ead0ae3883512d7ff297651b99937fd5df0b61cf559ea5dd6cfbda35dfd8ebc953ed11a12f471849f6e95e05869b58a1e433ea6e5d1d1aa08bbb93
|
||||
DIST root-banner.png 132555 BLAKE2B 47c03b7d82ab48cd2b23fa05db624262d11f37a2fc2cfeacddc42ad6368be19860ebca805fe0e438a8552c7f815ab330dd05cc111da7ccfda4f939c9b3c74e2d SHA512 139347f396e88c8062d847d612949204cb80e551a826d926950ca8ab967f0d496487fed17a227fc796ae4db23fca758d91a0af7943142adbed358e98d7667b1f
|
||||
DIST root6-banner.jpg 32319 BLAKE2B 75c98c4eb9fc37b59de59c612a131afbec64d45af0f2d1f372b66a1b2a49f13ecba8e0a2427b6e519763d817db4b0685228b94a896b95e49e3ed7e15ba47de16 SHA512 f01dd253f24d59c374042efd239ce023e5ca82d3d617ca6763daf9720b169c4fb27a0f4573ea95d807f0e12095924606372df4940f65ce7d859164314d22b9af
|
||||
DIST root_v5.34.36.source.tar.gz 75427331 BLAKE2B 203af03e1459c7fe079fcb1b30da145b3262f90c074abb7ff8fb3b1b2b90ac24391ce51aa8afbd10e0db8d69549207f15176207bc30a13720e0ae94342a38dfa SHA512 2cc0c8f8b63b2a3ce01c49c41704483548a7324d92c21a63e3e36a00f4d6f5656a7844fdf48cb71a6f2a2c974112527300ffd3bb5502d8365ffaf138e6ae4c7a
|
||||
DIST root_v6.04.06.source.tar.gz 99180724 BLAKE2B 96416ff36bd8e3084ca3a89bb73bfd4750f25d1fbe132ffac0288a7bdebf0200e769efc5e7d5a0d138176db67cb7531cd28124d3b7c568028a125d8a79ec7669 SHA512 ac96ac998ed4894587b7d286d79bcbea7b33f15764cc2513ae089e86c584e2dcb064cd135d44a4bfd2bede368eb772ccbffcd6bf426857a1236f5d7e9f5ce6fd
|
||||
|
||||
@@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
ROOT_PN="root"
|
||||
ROOFIT_DOC_PV=2.91-33
|
||||
ROOFIT_QS_DOC_PV=3.00
|
||||
TMVA_DOC_PV=4.2.0
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib virtualx python-any-r1
|
||||
|
||||
DESCRIPTION="Documentation for ROOT Data Analysis Framework"
|
||||
HOMEPAGE="https://root.cern.ch"
|
||||
SRC_URI="https://root.cern.ch/download/${ROOT_PN}_v${PV}.source.tar.gz
|
||||
math? (
|
||||
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
|
||||
https://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf )
|
||||
api? (
|
||||
${HOMEPAGE}/sites/default/files/images/root6-banner.jpg
|
||||
${HOMEPAGE}/sites/all/themes/newsflash/images/info.png )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="api +math +metric http"
|
||||
|
||||
VIRTUALX_REQUIRED="api"
|
||||
|
||||
DEPEND="
|
||||
app-text/pandoc
|
||||
dev-haskell/pandoc-citeproc[bibutils]
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-latexrecommended
|
||||
virtual/pkgconfig
|
||||
${PYTHON_DEPS}
|
||||
api? (
|
||||
media-fonts/dejavu
|
||||
~sci-physics/root-${PV}[X,graphviz,opengl]
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}"
|
||||
|
||||
S="${WORKDIR}/${ROOT_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-6.00.01-makehtml.patch" \
|
||||
"${FILESDIR}/${PN}-6.04.06-tightlist.patch"
|
||||
|
||||
# prefixify the configure script
|
||||
sed -i \
|
||||
-e "s:/usr:${EPREFIX}/usr:g" \
|
||||
configure || die "prefixify configure failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# we need only to setup paths here, html docs doesn't depend on USE flags
|
||||
if use api; then
|
||||
./configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--etcdir="${EPREFIX}/etc/root" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--tutdir="${EPREFIX}/usr/share/doc/${PF}/examples/tutorials" \
|
||||
--testdir="${EPREFIX}/usr/share/doc/${PF}/examples/tests" \
|
||||
--with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
|
||||
--with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" \
|
||||
--nohowto
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pdf_target=( primer users-guide )
|
||||
local pdf_size=pdfa4
|
||||
use metric || pdf_size=pdfletter
|
||||
use math && pdf_target+=( minuit2 spectrum )
|
||||
use http && pdf_target+=( HttpServer JSROOT )
|
||||
|
||||
local i
|
||||
for (( i=0; i<${#pdf_target[@]}; i++ )); do
|
||||
emake -C documentation/"${pdf_target[i]}" "${pdf_size}"
|
||||
done
|
||||
|
||||
if use api; then
|
||||
# video drivers may want to access hardware devices
|
||||
cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
|
||||
[[ -n "${cards}" ]] && addpredict "${cards}"
|
||||
|
||||
ROOTSYS="${S}" Xemake html
|
||||
# if root.exe crashes, return code will be 0 due to gdb attach,
|
||||
# so we need to check if last html file was generated;
|
||||
# this check is volatile and can't catch crash on the last file.
|
||||
[[ -f htmldoc/WindowAttributes_t.html ]] || die "html doc generation crashed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${DOC_DIR}"
|
||||
|
||||
local i
|
||||
for (( i=0; i<${#pdf_target[@]}; i++ )); do
|
||||
doins documentation/"${pdf_target[i]}"/*.pdf
|
||||
done
|
||||
unset pdf_target
|
||||
|
||||
use math && doins \
|
||||
"${DISTDIR}/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf" \
|
||||
"${DISTDIR}/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf" \
|
||||
"${DISTDIR}/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf"
|
||||
|
||||
if use api; then
|
||||
# Install offline replacements for online messages
|
||||
cp "${DISTDIR}"/{root6-banner.jpg,info.png} htmldoc/ || die "cp failed"
|
||||
# too large data to copy
|
||||
dodir "${DOC_DIR}/html"
|
||||
mv htmldoc/* "${ED}${DOC_DIR}/html/" || die
|
||||
docompress -x ${DOC_DIR}/html
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user