summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2015-05-27 14:06:39 +0000
committerAndrew Savchenko <bircoph@gentoo.org>2015-05-27 14:06:39 +0000
commit1d1e0ce7eace6dca772c003fcbe3627e50b3a7b5 (patch)
tree6e2d57825f41b15c62d9b78dc2ff4d37a369aa87 /sci-physics
parentarm stable wrt bug #548690 (diff)
downloadgentoo-2-1d1e0ce7eace6dca772c003fcbe3627e50b3a7b5.tar.gz
gentoo-2-1d1e0ce7eace6dca772c003fcbe3627e50b3a7b5.tar.bz2
gentoo-2-1d1e0ce7eace6dca772c003fcbe3627e50b3a7b5.zip
Remove old, fixes bug 478636.
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> (Portage version: 2.2.20/cvs/Linux i686, signed Manifest commit with key 565953B95372756C)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/pythia/ChangeLog5
-rw-r--r--sci-physics/pythia/pythia-8.1.45.ebuild93
2 files changed, 4 insertions, 94 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog
index 93eb466618df..93bda97d2fab 100644
--- a/sci-physics/pythia/ChangeLog
+++ b/sci-physics/pythia/ChangeLog
@@ -1,6 +1,9 @@
# 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.61 2015/05/27 11:19:04 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.62 2015/05/27 14:06:39 bircoph Exp $
+
+ 27 May 2015; Andrew Savchenko <bircoph@gentoo.org> -pythia-8.1.45.ebuild:
+ Remove old, fixes bug 478636.
27 May 2015; Agostino Sarubbo <ago@gentoo.org> pythia-8.1.86.ebuild:
Stable for x86, wrt bug #546256
diff --git a/sci-physics/pythia/pythia-8.1.45.ebuild b/sci-physics/pythia/pythia-8.1.45.ebuild
deleted file mode 100644
index b5ae56a98d53..000000000000
--- a/sci-physics/pythia/pythia-8.1.45.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.45.ebuild,v 1.11 2012/11/30 22:08:58 bicatali Exp $
-
-EAPI=2
-
-inherit eutils fortran-2 versionator
-
-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"
-IUSE="doc examples +hepmc static-libs"
-
-DEPEND="hepmc? ( sci-physics/hepmc )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
- use hepmc && export HEPMCVERSION=2 HEPMCLOCATION=/usr
- # homemade configure script creates a useless config.mk
- rm -f config.mk
- cat > config.mk <<-EOF
- SHAREDLIBS = yes
- LDFLAGSSHARED = -shared ${LDFLAGS}
- LDFLAGLIBNAME = -Wl,-soname
- SHAREDSUFFIX = so
- EOF
- if ! use static-libs; then
- sed -i \
- -e '/targets.*\.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 "${S}"/examples
- # use emake for parallel instead of long runmains
- emake \
- $(ls main0{1..9}*.cc | sed -e 's/.cc//') \
- || die "emake tests failed"
- for i in main0{1..9}*.exe; do
- LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \
- ./${i} > ${i}.out || die "test ${i} failed"
- done
- if use hepmc; then
- emake main31 main32 || die "emake tests for hepmc failed"
- LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \
- ./main31.exe > main31.exe.out || die
- LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \
- ./main32.exe main32.cmnd hepmcout32.dat > main32.exe.out || die
- fi
- emake clean && rm -f main*out
-}
-
-src_install() {
- dolib.so lib/*so || die "shared lib install failed"
- if use static-libs; then
- dolib.a lib/archive/* || die "static lib install failed"
- fi
-
- insinto /usr/include/${PN}
- doins include/* || die "headers install failed"
-
- # xmldoc needed by root
- insinto /usr/share/${PN}
- doins -r xmldoc || die "xmldoc install failed"
- echo PYTHIA8DATA=/usr/share/${PN}/xmldoc >> 99pythia8
- doenvd 99pythia8
-
- insinto /usr/share/doc/${PF}
- dodoc GUIDELINES AUTHORS README
- if use doc; then
- doins worksheet.pdf || die "doc install failed"
- mv htmldoc html
- doins -r html || die "html doc install failed"
- fi
- if use examples; then
- doins -r examples || die "examples install failed"
- fi
-}