summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-13 23:51:42 +0100
committerDavid Seifert <soap@gentoo.org>2021-02-13 23:51:42 +0100
commit8e6368a04f768fdbcaab867866f7a1b9d306a46f (patch)
tree2fd61667d2234ebe93e93a16ef4b555d437bb329 /sci-physics/pythia
parentsci-physics/pythia: Port pythia:8 to EAPI 7 (diff)
downloadgentoo-8e6368a04f768fdbcaab867866f7a1b9d306a46f.tar.gz
gentoo-8e6368a04f768fdbcaab867866f7a1b9d306a46f.tar.bz2
gentoo-8e6368a04f768fdbcaab867866f7a1b9d306a46f.zip
sci-physics/pythia: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-physics/pythia')
-rw-r--r--sci-physics/pythia/Manifest1
-rw-r--r--sci-physics/pythia/files/pythia8209-run-tests.patch20
-rw-r--r--sci-physics/pythia/pythia-8.1.86-r1.ebuild100
3 files changed, 0 insertions, 121 deletions
diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest
index a8c8cb3fe797..7f224575c769 100644
--- a/sci-physics/pythia/Manifest
+++ b/sci-physics/pythia/Manifest
@@ -10,5 +10,4 @@ DIST pythia-6.4.18-examples.tar.bz2 36366 BLAKE2B ec655014d3904b66da4a1e748a37c3
DIST pythia-6.4.28.tar.xz 490248 BLAKE2B aff9006a4d3a0536d39a5b5161329f058b980554046a57979cc72c80067be96f00b5056dee29fc7f0039ddae074560823427c3a0e24e59f69662f08524fbdcd4 SHA512 f9db72658f2132ce08d31c8a9f7fe727466b184ef41cc4b762fe2bde48dbdfd7b5df19b21a869e20a1f107c96e9daec115c980e11592968eb2cad666b7c96bdc
DIST pythia6-20160413.tar.gz 567976 BLAKE2B 92ee81e41db46d49706599ee387a650f67d54a0ea165648de0d09d6cec811c2a4b22903c15cca0abaf5f34cf28333d70315a2c71f4ce0ec0bc48757c20114ae7 SHA512 2a9ea2ae299e8d49bd9750f8c68f0b7f534fb91254c2eebc60ef40828400bdf5e5c4e0956d61807e773a51db873ab4a036c3ac264f904d0bb2b85f4860e538d3
DIST pythia6.tar.gz 567451 BLAKE2B c32a67d87fc6f22027d3d9551256af5a0151e494fbae02c5d14ccf08595f1ebf49b638a1c33f7a52214e8bbb510756a72ef0f68f5dc8037e2a6acd3fbf290cfd SHA512 baa18023de22c3e90f14d2a5a39efa171905f507a31a90f87c65dca271b3be4c9f0d1a56282f5a04b3efabe0b5b15c964e4569d1f9994a75750e52e0be4360b1
-DIST pythia8186.tgz 8921248 BLAKE2B 9e753a04c2dbc5362a24b06d40c238e5fcc5ac700dd20b9bc47b1a68604fdb87808018593c28a1d6dcb06a212bdec1146431f1096db70f4c934413a0c3b20fa0 SHA512 84729004abbdf522183c27918ae35db037a8954af761a2b452dcff54f82076b1e3bfc7fe9ea0a7cb2c0b6499aedb1c25cc13768d47b24edaa08d631b55d0b86b
DIST pythia8226.tgz 17639842 BLAKE2B b80d7c10bd5ccc45fbb2db0df0eff679236b9911958f58987517b475e055959aa494a2199f64117631baedd90c8e2753f996e5d64552e39e54859bfe77274dad SHA512 85db807264f99c27dd87ad0572b98f4ac8d37fed818c3dd1ac89f0ac124ae0a5ee13b290727e515cb04269a6e0be8b386d954bed62309f26d1e60b431f952ca0
diff --git a/sci-physics/pythia/files/pythia8209-run-tests.patch b/sci-physics/pythia/files/pythia8209-run-tests.patch
deleted file mode 100644
index d1edc8393726..000000000000
--- a/sci-physics/pythia/files/pythia8209-run-tests.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- pythia8209/examples/Makefile.orig 2015-06-04 22:21:53.000000000 +0300
-+++ pythia8209/examples/Makefile 2015-06-05 05:35:25.324262331 +0300
-@@ -139,3 +139,17 @@
- rm -f test[0-9][0-9][0-9]; rm -f out[0-9][0-9][0-9];\
- rm -f weakbosons.lhe; rm -f Pythia8.promc; rm -f hist.root;\
- rm -f *~; rm -f \#*; rm -f core*; rm -f *Dct.*
-+ rm -f main*out *.dat
-+
-+# Run tests, inject test-specific arguments when needed
-+main%.out: main%
-+ ./$< \
-+ $(if $(findstring $*,16 42 43 $(shell seq 81 89)), main$*.cmnd) \
-+ $(if $(findstring $*, $(shell seq 81 83)), w+_production_lhc_0.lhe) \
-+ $(if $(findstring $*, 84), hepmcout84.dat 2 w+_production_lhc) \
-+ $(if $(findstring $*, $(shell seq 85 88)), w_production) \
-+ $(if $(findstring $*, 42 43 $(shell seq 81 89)), histout$*.dat) \
-+ > $@
-+
-+main89.out: main89
-+ $(foreach cmd, $(wildcard main89*.cmnd), ./$< $(cmd) histout-$(cmd).dat >> $@ || exit;)
diff --git a/sci-physics/pythia/pythia-8.1.86-r1.ebuild b/sci-physics/pythia/pythia-8.1.86-r1.ebuild
deleted file mode 100644
index 60aca11c2471..000000000000
--- a/sci-physics/pythia/pythia-8.1.86-r1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
-}