summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2015-05-27 17:53:37 +0000
committerAndrew Savchenko <bircoph@gentoo.org>2015-05-27 17:53:37 +0000
commit6c1c8268ffbc089265b42b52476409edc5747929 (patch)
tree865372e1946d759168d5da3f2e8f32058d084958 /sci-physics
parentDrop old (diff)
downloadhistorical-6c1c8268ffbc089265b42b52476409edc5747929.tar.gz
historical-6c1c8268ffbc089265b42b52476409edc5747929.tar.bz2
historical-6c1c8268ffbc089265b42b52476409edc5747929.zip
add missing docs
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> Package-Manager: portage-2.2.20/cvs/Linux i686 Manifest-Sign-Key: 0x565953B95372756C
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/pythia/ChangeLog7
-rw-r--r--sci-physics/pythia/Manifest29
-rw-r--r--sci-physics/pythia/pythia-8.1.86-r1.ebuild101
3 files changed, 122 insertions, 15 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog
index 93bda97d2fab..ebc785817a0d 100644
--- a/sci-physics/pythia/ChangeLog
+++ b/sci-physics/pythia/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-physics/pythia
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.62 2015/05/27 14:06:39 bircoph Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.63 2015/05/27 17:53:32 bircoph Exp $
+
+*pythia-8.1.86-r1 (27 May 2015)
+
+ 27 May 2015; Andrew Savchenko <bircoph@gentoo.org> +pythia-8.1.86-r1.ebuild:
+ Install additional docs.
27 May 2015; Andrew Savchenko <bircoph@gentoo.org> -pythia-8.1.45.ebuild:
Remove old, fixes bug 478636.
diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest
index 5fe4d0cac82b..9afde834fbdb 100644
--- a/sci-physics/pythia/Manifest
+++ b/sci-physics/pythia/Manifest
@@ -7,23 +7,24 @@ DIST pythia-6.4.28.tar.xz 490248 SHA256 6ca6acc172314cf7b56e2a8e18321d28ce57a511
DIST pythia6.tar.gz 567451 SHA256 ebc90b8ec94897d8b09030341323d2c7c6e5c7c65077f98b96c8cff00d40a5ce SHA512 baa18023de22c3e90f14d2a5a39efa171905f507a31a90f87c65dca271b3be4c9f0d1a56282f5a04b3efabe0b5b15c964e4569d1f9994a75750e52e0be4360b1 WHIRLPOOL e334779f77e938cde85ecd0fbc2dbf0d86a52fc1ef673c909b8533f779e51d6d6680bc5de3aceeb002015ccfdf03da3f975aaf0cc7a249c462cdd3b206c359a2
DIST pythia8186.tgz 8921248 SHA256 1c0914fc04801ee922c1ad3b544a3cd48b34d9afa4407ae40afbacd009039bd2 SHA512 84729004abbdf522183c27918ae35db037a8954af761a2b452dcff54f82076b1e3bfc7fe9ea0a7cb2c0b6499aedb1c25cc13768d47b24edaa08d631b55d0b86b WHIRLPOOL ecef83d2cb018b1aac55225850cf2a3a8f2b87d08f99bd9c5881f4fa341f012eeabed3b9a43ffda3699daebc54c181d08aac30c1f6b514e98516c29e88a6fbaf
EBUILD pythia-6.4.28.ebuild 1968 SHA256 cc88b592c6ee9ee28169fc55adf05540c0d90b43c23da6f4cfa3e3900dcb75be SHA512 3bfe3b4953267a776ee90ecef977a8e577b467cff938848706e395eb1deba60c1b4b6287e9152b419b018eb9f81265a43fe129aa8f8f3dda0f337b0eb032b6ad WHIRLPOOL 2c5756c7524e7e5003f1559089b433cab50f243b37ec294afae832bb7610fa22c08e39a5ab4a741b17883e517d0fc6f909a4d7daa53bdd7ac0e38d90c0436f4e
+EBUILD pythia-8.1.86-r1.ebuild 2736 SHA256 c4e92d9150ba20ad5951ce18b42ad147f04790aa8d485d99288206a6769de390 SHA512 bd2165f313cbc89e284a508a77efb56fa4f6f7fb483642afd4172320aacf5a2fe7d65ac148919e03da37243d2de70fab2c9d12713c10fb669e80baa3d198adf3 WHIRLPOOL e3b32528c078ae44ee556f553d12dee6da52517b67d23b8413a9a3415706ccc2e2d5bc649589fd27928194b5d410acc8da71f560f273d833f0b125126fb5c613
EBUILD pythia-8.1.86.ebuild 2684 SHA256 1a99e584c4bfbc5a4770655d5ef512e7cee2e6cfff8ef0ea9dff7c87324cb4d8 SHA512 db9580fe2c40fff4a8c270e22632d21f24995231729f3ef6d9163a3d6d116747f3e8eb21939c8a2e77c27ba3fbf5f0cf0c391bd6664922461ded77b38aab8842 WHIRLPOOL ea64385309d63be786e582e817184918f6f89aacd28613fc3c38c60b73b46ff63e6bd10580c17beee3bb10985cbcda981d94c8689ae72a2c5ab8b71dddcd2000
-MISC ChangeLog 8982 SHA256 6e627db064fe74767a4a185ed4806100601bc44cb0af35a8769047b756bc5401 SHA512 6d532e57d769976872a3a28bb134369191711d919f2160503a9468223dfa8b5620a108949db545bd9e7b59f6eb40e6c054bd1e55f176061536120aeda91cf85a WHIRLPOOL fd2c190f610956d5a831508470833b026060a05fb75ec6b317a86be677b8774779b75955c055b4d3e7b19ff68efae55de4eaa2802c190f5d576ebcd2ff985605
+MISC ChangeLog 9122 SHA256 fd4bac1e935080c9148e1d817ba12fac2069a3c291e02d3e8aee09eaab6ac82f SHA512 c90b66ae0eb806eca7f4227e14b2477e67efb9782860f71e21e9ad059ad60faba49e60c7918c2a1934feb7274db9448365de39826903151340df4b19340330f3 WHIRLPOOL a5646d15419d0d74b54198266161913c9acefd4e1c3b6e10373123836259f27faeede9e3a4615dda3b7faa7635bbb9d9ddb8e053ef1b45cf6c211c220cc8056c
MISC metadata.xml 904 SHA256 7d61e6cbfb8564836c44682eaf4f69640b5ca2a3588bef62da944234c9272e27 SHA512 a8d4f9a50519a0341fe3828dfeffcce5c3634406d2aa5dd69b0d692de26a2c9b5af6c7b0981600d15c5198efd26c52d3c339c2a81ca63144506541038f07c92a WHIRLPOOL dd1473cec801f3b56c742603e9659a6b2e81a28460c0941df5a34f3059183df9e7114e9158f4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VUesZ1MUX3S40xTGdPc
+duyvCGc2tNFTiGct+bWS7FFW4ZdVn2i60RHpOPC2EnRbsfaU5CDGGLhuyauqjsLr
+Rc81JCICpJDjktXez0LlsyxrFbrynQxdxoTgp98yyNj65ZwFivchdceMap4sDZEC
+WZFvnDmAOjwLL/oeCsTWXMhEcUsdnBsuznH/XQO9KcIo58SdFyqBo7nBaw+bTj7J
+1ZZdwiD7j+yRQO3E47CHkMk5D+m2OecndAKmQb/5+wrc7Z8o6I4xfu25y0yuxFx8
+8BrZpJUSQmc19y68SBbX/PzITNpGPU0ZCi+dmzv61XMBGGhmizn1ikLEQjRGXorw
+9IlUGm8EFnWRRHMdLE4XqwEvfREr/VLQRK+gODn6BvKXL+tBLQvVjFb23uPez7YH
+Iogn59qy3O2lg3c0Ofyn14RWR0YSQePSs/OUVFNlUhqNy3YA6AVR2eVzt0IO1iOH
+l1X9VP3bBezRRDQFOFdO
+=J1cn
-----END PGP SIGNATURE-----
diff --git a/sci-physics/pythia/pythia-8.1.86-r1.ebuild b/sci-physics/pythia/pythia-8.1.86-r1.ebuild
new file mode 100644
index 000000000000..f7e208fa24d8
--- /dev/null
+++ b/sci-physics/pythia/pythia-8.1.86-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.86-r1.ebuild,v 1.1 2015/05/27 17:53:32 bircoph Exp $
+
+EAPI=5
+
+inherit eutils versionator toolchain-funcs multilib
+
+MV=$(get_major_version)
+MY_P=${PN}$(replace_all_version_separators "" ${PV})
+
+DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
+HOMEPAGE="http://pythia8.hepforge.org/"
+SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz"
+
+SLOT="8"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples gzip +hepmc static-libs"
+
+DEPEND="
+ gzip? ( dev-libs/boost sys-libs/zlib )
+ hepmc? ( sci-physics/hepmc:0= )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ PYTHIADIR="${EPREFIX}/usr/share/pythia8"
+ # set datadir for xmldor in include file
+ sed -i \
+ -e "s:../xmldoc:${PYTHIADIR}/xmldoc:" \
+ include/Pythia8/Pythia.h || die
+ # respect libdir, prefix, flags
+ sed -i \
+ -e "s:/lib:/$(get_libdir):g" \
+ -e "s:/usr:${EPREFIX}/usr:g" \
+ -e "s:-O2::g" \
+ configure || die
+ sed -i \
+ -e "s:LIBDIR=.*:LIBDIR=$(get_libdir):" \
+ -e "s:LIBDIRARCH=.*:LIBDIRARCH=$(get_libdir):" \
+ -e "s:cp -r lib:cp -r $(get_libdir):" \
+ -e '/ln -fs/d' \
+ Makefile examples/Makefile || die
+}
+
+src_configure() {
+ export USRCXXFLAGS="${CXXFLAGS}"
+ export USRLDFLAGSSHARED="${LDFLAGS}"
+ tc-export CC CXX
+ # homemade configure script
+ ./configure \
+ --installdir="${EPREFIX}/usr" \
+ --datadir="${PYTHIADIR}" \
+ --enable-shared \
+ $(usex gzip "--enable-gzip=yes" "") \
+ $(usex hepmc "--with-hepmcversion=2 --with-hepmc=${EPREFIX}/usr" "") \
+ || die
+ if ! use static-libs; then
+ sed -i \
+ -e '/targets.*=$(LIBDIR.*\.a$/d' \
+ -e 's/+=\(.*libpythia8\.\)/=\1/' \
+ Makefile || die
+ sed -i \
+ -e 's:\.a:\.so:g' \
+ -e 's:$(LIBDIRARCH):$(LIBDIR):g' \
+ examples/Makefile || die
+ fi
+}
+
+src_test() {
+ cd examples || die
+ # use emake for parallel instead of long runmains
+ local tests="$(echo main0{1..8})" t
+ use hepmc && tests="${tests} main31"
+ emake ${tests}
+ for t in ${tests}; do
+ LD_LIBRARY_PATH="${S}/$(get_libdir):${LD_LIBRARY_PATH}" \
+ bin/${t}.exe > ${t}.out || die "test ${t} failed"
+ done
+ emake clean && rm main*out
+}
+
+src_install() {
+ emake INSTALLDIR="${ED}/usr" DATADIR="${D}/${PYTHIADIR}" install
+ rm -r "${D}"/${PYTHIADIR}/{html,php}doc || die
+ echo "PYTHIA8DATA=${PYTHIADIR}/xmldoc" >> 99pythia8
+ doenvd 99pythia8
+
+ dodoc GUIDELINES AUTHORS README
+ if use doc; then
+ dodoc worksheet.pdf htmldoc/pythia8100.pdf
+ dohtml -r htmldoc/*
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples rootexamples
+ docompress -x /usr/share/doc/${PF}/{root,}examples
+ fi
+}