diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-05-13 16:14:47 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-05-13 16:14:47 +0000 |
commit | 7487bb40c25e5c365c1f0c432cecab31df7e2ba1 (patch) | |
tree | 6f91c5929e139187f78800ca298ed6f57467b5d9 /sci-physics | |
parent | Version bump, bug #319557, gstreamer forced on everyone because it does not b... (diff) | |
download | gentoo-2-7487bb40c25e5c365c1f0c432cecab31df7e2ba1.tar.gz gentoo-2-7487bb40c25e5c365c1f0c432cecab31df7e2ba1.tar.bz2 gentoo-2-7487bb40c25e5c365c1f0c432cecab31df7e2ba1.zip |
Removed tests for hepmc on 8.1.08, not compatible with recent hepmc, and removed older unstable versions
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/pythia/ChangeLog | 7 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-8.1.08-r1.ebuild | 9 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-8.1.25.ebuild | 73 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-8.1.30.ebuild | 78 |
4 files changed, 8 insertions, 159 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog index 92d8996c84a1..1eee25061db0 100644 --- a/sci-physics/pythia/ChangeLog +++ b/sci-physics/pythia/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-physics/pythia # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.20 2010/05/13 14:05:30 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.21 2010/05/13 16:14:47 bicatali Exp $ + + 13 May 2010; Sébastien Fabbro <bicatali@gentoo.org> + pythia-8.1.08-r1.ebuild, -pythia-8.1.25.ebuild, -pythia-8.1.30.ebuild: + Removed tests for hepmc on 8.1.08, not compatible with recent hepmc, and + removed older unstable versions 13 May 2010; Jeroen Roovers <jer@gentoo.org> pythia-8.1.35.ebuild: Stable for HPPA (bug #318467). diff --git a/sci-physics/pythia/pythia-8.1.08-r1.ebuild b/sci-physics/pythia/pythia-8.1.08-r1.ebuild index a43d757da18b..6cd56094fdb0 100644 --- a/sci-physics/pythia/pythia-8.1.08-r1.ebuild +++ b/sci-physics/pythia/pythia-8.1.08-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.08-r1.ebuild,v 1.5 2009/05/05 19:42:02 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.08-r1.ebuild,v 1.6 2010/05/13 16:14:47 bicatali Exp $ EAPI=1 @@ -38,11 +38,6 @@ src_test() { for i in main0{1..9}*.exe main1{0..5}*.exe; do ./${i} > ${i}.out || die "test ${i} failed" done - if use hepmc; then - emake main31 main32 || die "emake tests for hepmc failed" - ./main31.exe > main31.exe.out || die - ./main32.exe main32.cmnd hepmcout32.dat > main32.exe.out || die - fi emake clean && rm -f main*out } diff --git a/sci-physics/pythia/pythia-8.1.25.ebuild b/sci-physics/pythia/pythia-8.1.25.ebuild deleted file mode 100644 index 2b324db1c3c9..000000000000 --- a/sci-physics/pythia/pythia-8.1.25.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.25.ebuild,v 1.1 2009/06/24 04:13:58 bicatali Exp $ - -EAPI=1 - -inherit eutils versionator - -MV=$(get_major_version) -MY_P=${PN}$(replace_all_version_separators "" ${PV}) - -DESCRIPTION="Lund Monte Carlo high-energy physics event generator" -HOMEPAGE="http://home.thep.lu.se/~torbjorn/Pythia.html" -SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="8" -KEYWORDS="~amd64 ~hppa ~sparc ~x86" -IUSE="doc examples +hepmc" - -DEPEND="hepmc? ( sci-physics/hepmc )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_compile() { - use hepmc && export HEPMCVERSION=2 HEPMCLOCATION=/usr - # homemade configure script creates a useless config.mk - rm -f config.mk && touch config.mk - emake SHAREDLIBS=yes LDFLAGSSHARED="${LDFLAGS}" || die "emake failed" -} - -src_test() { - cd "${S}"/examples - # use emake for parallel instead of long runmains - emake \ - $(ls main0{1..9}*.cc main1{0..5}*.cc | sed -e 's/.cc//') \ - || die "emake tests failed" - for i in main0{1..9}*.exe main1{0..5}*.exe; do - ./${i} > ${i}.out || die "test ${i} failed" - done - if use hepmc; then - emake main31 main32 || die "emake tests for hepmc failed" - ./main31.exe > main31.exe.out || die - ./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" - dolib.a lib/archive/* || die "static lib install failed" - - 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 -} diff --git a/sci-physics/pythia/pythia-8.1.30.ebuild b/sci-physics/pythia/pythia-8.1.30.ebuild deleted file mode 100644 index ce9365dbd99e..000000000000 --- a/sci-physics/pythia/pythia-8.1.30.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.30.ebuild,v 1.2 2010/01/08 04:41:08 bicatali Exp $ - -EAPI=2 - -inherit eutils versionator - -MV=$(get_major_version) -MY_P=${PN}$(replace_all_version_separators "" ${PV}) - -DESCRIPTION="Lund Monte Carlo high-energy physics event generator" -HOMEPAGE="http://home.thep.lu.se/~torbjorn/Pythia.html" -SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="8" -KEYWORDS="~amd64 ~hppa ~sparc ~x86" -IUSE="doc examples +hepmc" - -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 -} - -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 - ./${i} > ${i}.out || die "test ${i} failed" - done - if use hepmc; then - emake main31 main32 || die "emake tests for hepmc failed" - ./main31.exe > main31.exe.out || die - ./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" - dolib.a lib/archive/* || die "static lib install failed" - - 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 -} |