summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-01-18 17:08:00 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-01-18 17:08:00 +0000
commit6e86b3bf1b405a559ceb9aea4f4dacc9bdde5c8c (patch)
tree60a66d847b616aa0d01f89098b24d05e7aae62fa
parentx86 stable per bug 351758 (diff)
downloadgentoo-2-6e86b3bf1b405a559ceb9aea4f4dacc9bdde5c8c.tar.gz
gentoo-2-6e86b3bf1b405a559ceb9aea4f4dacc9bdde5c8c.tar.bz2
gentoo-2-6e86b3bf1b405a559ceb9aea4f4dacc9bdde5c8c.zip
Drop old.
(Portage version: 2.2.0_alpha16/cvs/Linux x86_64)
-rw-r--r--sci-physics/pythia/ChangeLog8
-rw-r--r--sci-physics/pythia/pythia-6.4.23.ebuild65
-rw-r--r--sci-physics/pythia/pythia-8.1.08-r1.ebuild67
-rw-r--r--sci-physics/pythia/pythia-8.1.42.ebuild78
4 files changed, 6 insertions, 212 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog
index 5d2c133d9705..b39bda76e730 100644
--- a/sci-physics/pythia/ChangeLog
+++ b/sci-physics/pythia/ChangeLog
@@ -1,6 +1,10 @@
# 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.32 2010/11/20 08:25:12 bicatali Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.33 2011/01/18 17:08:00 xarthisius Exp $
+
+ 18 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> -pythia-6.4.23.ebuild,
+ -pythia-8.1.08-r1.ebuild, -pythia-8.1.42.ebuild:
+ Drop old.
*pythia-8.1.45 (20 Nov 2010)
*pythia-6.4.24 (20 Nov 2010)
diff --git a/sci-physics/pythia/pythia-6.4.23.ebuild b/sci-physics/pythia/pythia-6.4.23.ebuild
deleted file mode 100644
index 8385f6b09e95..000000000000
--- a/sci-physics/pythia/pythia-6.4.23.ebuild
+++ /dev/null
@@ -1,65 +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-6.4.23.ebuild,v 1.1 2010/07/13 17:01:28 bicatali Exp $
-
-EAPI=2
-inherit versionator autotools
-
-MV=$(get_major_version)
-MY_PN=${PN}${MV}
-DOC_PV=0613
-EX_PV=6.4.18
-
-DESCRIPTION="Lund Monte Carlo high-energy physics event generator"
-HOMEPAGE="http://projects.hepforge.org/pythia6/"
-
-# pythia6 from root is needed for some files to interface pythia6 with root.
-# To produce a split version on mirror do, replace the 6.4.x by the current version
-# svn export http://svn.hepforge.org/pythia6/tags/v_6_4_x/ pythia-6.4.x
-# tar cjf pythia-6.4.x.tar.bz2
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- ftp://root.cern.ch/root/pythia6.tar.gz
- doc? ( http://home.thep.lu.se/~torbjorn/pythia/lutp${DOC_PV}man2.pdf )
- examples? ( mirror://gentoo/${PN}-${EX_PV}-examples.tar.bz2 )"
-
-LICENSE="public-domain"
-SLOT="6"
-KEYWORDS="~amd64 ~hppa ~sparc ~x86"
-IUSE="doc examples"
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- cp ../pythia6/tpythia6_called_from_cc.F .
- cp ../pythia6/pythia6_common_address.c .
- cat > configure.ac <<-EOF
- AC_INIT(${PN},${PV})
- AM_INIT_AUTOMAKE
- AC_PROG_F77
- AC_PROG_LIBTOOL
- AC_CHECK_LIB(m,sqrt)
- AC_CONFIG_FILES(Makefile)
- AC_OUTPUT
- EOF
- echo >> Makefile.am "lib_LTLIBRARIES = libpythia6.la"
- echo >> Makefile.am "libpythia6_la_SOURCES = \ "
- # replace wildcard from makefile to ls in shell
- for f in py*.f struct*.f up*.f fh*.f; do
- echo >> Makefile.am " ${f} \\"
- done
- echo >> Makefile.am " ssmssm.f sugra.f visaje.f pdfset.f \\"
- echo >> Makefile.am " tpythia6_called_from_cc.F pythia6_common_address.c"
- eautoreconf
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc update_notes.txt README
- insinto /usr/share/doc/${PF}/
- if use doc; then
- doins "${DISTDIR}"/lutp${DOC_PV}man2.pdf || die
- fi
- if use examples; then
- doins -r "${WORKDIR}"/examples || die
- fi
-}
diff --git a/sci-physics/pythia/pythia-8.1.08-r1.ebuild b/sci-physics/pythia/pythia-8.1.08-r1.ebuild
deleted file mode 100644
index 6cd56094fdb0..000000000000
--- a/sci-physics/pythia/pythia-8.1.08-r1.ebuild
+++ /dev/null
@@ -1,67 +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.08-r1.ebuild,v 1.6 2010/05/13 16:14:47 bicatali Exp $
-
-EAPI=1
-
-inherit versionator multilib
-
-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 )"
-
-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 || 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
- 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.42.ebuild b/sci-physics/pythia/pythia-8.1.42.ebuild
deleted file mode 100644
index 717df67f29cf..000000000000
--- a/sci-physics/pythia/pythia-8.1.42.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.42.ebuild,v 1.1 2010/08/26 16:28:30 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
-}