summaryrefslogtreecommitdiff
path: root/sci-physics/cernlib-montecarlo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /sci-physics/cernlib-montecarlo
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'sci-physics/cernlib-montecarlo')
-rw-r--r--sci-physics/cernlib-montecarlo/Manifest7
-rw-r--r--sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006-r3.ebuild88
-rw-r--r--sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006-r4.ebuild88
-rw-r--r--sci-physics/cernlib-montecarlo/files/cernlib-montecarlo-2006-noherwig.patch52
-rw-r--r--sci-physics/cernlib-montecarlo/metadata.xml19
5 files changed, 0 insertions, 254 deletions
diff --git a/sci-physics/cernlib-montecarlo/Manifest b/sci-physics/cernlib-montecarlo/Manifest
deleted file mode 100644
index 8dd99b215db2..000000000000
--- a/sci-physics/cernlib-montecarlo/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX cernlib-montecarlo-2006-noherwig.patch 1993 BLAKE2B 68c7bbe0b73ded653e53cb8cc494f725fd7b3dc309db3ce64c1e0ca9076d514c145bd069835a39c85605d4d9f43c4a11b7eae91a4b99a503323d057d24ffe24d SHA512 e53794aeefdda4667bc71826b9514f44dd23fb0076cb55284ff4af0277facf5d3e1664f76dff80f975157350a02b871437230c66b49816c75730b4afed9d5ec9
-DIST mclibs_20061220+dfsg3-1.debian.tar.gz 46362 BLAKE2B 76ccadbfc85b1a80239d3b749ac73ab0d6fb88940d9352ef08e67798fbc943ed6bce4b6ea9b74eed08b1562c0c4832bb37857a324af687dd1d5de5245007c0bb SHA512 ddb31fd218f0f051155548011415d9526e7866ec7caf7041a5f572d8064cb4f19c188724e839f445a47f490dacf0d67ef9ba871725756892e0ba1d569d575fe3
-DIST mclibs_20061220+dfsg3-3.debian.tar.gz 44763 BLAKE2B fa82699e99d8ce86fc676a66f73a2387c81dfc9f76624ca2ae164df8a320fe0cd574e7439fb4dd3abea5b5da624a7b4b649b78896bcb078fa6c9f4de83909a8a SHA512 2ef3c54026e86182200d4d7fce1889a2dd8c252743d0819e74679e2a5067794bea574530b59a7f08c394f8b75f7d31cac31f638fb72045700b379bd686a8f92f
-DIST mclibs_20061220+dfsg3.orig.tar.gz 7642494 BLAKE2B 59bd0d7689150903785ff11954c86d7a9f98dd5b75ef8788c8acd4d69edcf2d5b821ce2ef8b16376b877fa6540bd5d4bb6c222aae68072db4d835856276de9f1 SHA512 add98b585648994ab616d040e9a3410b0eba13ab54a812674d3940bae0effed4446b02ce6a34887841c114bc444b1b83598e2c89c22b4df8dcd3fd4c1d8aaba3
-EBUILD cernlib-montecarlo-2006-r3.ebuild 2302 BLAKE2B 0af4756118abb80a7d7ea0928b7c34a18bb110bff070c71427140f8d136ff68651fcd43b5745e758ecff02d78007a611c3f288369e4acccdabc920666fa736ec SHA512 e0a96145f15fcb2e8887818ad1e2a6af41a5afcd2ae7a6fb2de2230b353dfd856db30cb5610d4d168d15fcaa6e951f5a278ebd0741c3fed444df8c0a612c736b
-EBUILD cernlib-montecarlo-2006-r4.ebuild 2304 BLAKE2B d488fd224c1cf840fcd865814922bab32d9094b9960377cde2aef8618e6f2a76b6da1a64f54bde52879530bc6844c249ded98672c79f027ff5f988db87f567ca SHA512 bf7542ef5d6a628950ab6a98fa1cdc526b419697f0582942965792c9fbe9e3d0a313b5782ba106ad693a840529d961c7713922708dea457778335d92fc673bb4
-MISC metadata.xml 772 BLAKE2B cc1da7f3626c29e1663d4a3e0302d3be8e666670635dcdd75cf8c69734329491145835e32b43e795fada7c5cfa0073a76bd0bc4d088f4330221ad759abb0f908 SHA512 652f5e009b03b95f15b0ee34d6847c99435a9ad7420eb0cfb5fbf51e052a3a21d7655a8e817fd2c685154e68c946f433302670d49eabb7779a73963a99ed145a
diff --git a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006-r3.ebuild b/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006-r3.ebuild
deleted file mode 100644
index 95abf6114f41..000000000000
--- a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006-r3.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2 toolchain-funcs
-
-DEB_PN=mclibs
-DEB_PV=20061220+dfsg3
-DEB_PR=1
-DEB_P=${DEB_PN}_${DEB_PV}
-
-DESCRIPTION="Monte-carlo library and tools for the cernlib"
-HOMEPAGE="https://cernlib.web.cern.ch/cernlib/"
-SRC_URI="
- mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz
- mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.debian.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2 LGPL-2 BSD"
-IUSE="+herwig"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="
- x11-libs/motif:0
- dev-lang/cfortran
- sci-physics/cernlib
- herwig? ( !sci-physics/herwig )"
-
-DEPEND="${RDEPEND}
- virtual/latex-base
- x11-misc/imake
- x11-misc/makedepend"
-
-S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig"
-
-src_prepare() {
- mv ../debian . || die
- cp debian/add-ons/Makefile . || die
- export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
- sed -i \
- -e "s:/usr/local:${EROOT}/usr:g" \
- Makefile || die
-
- einfo "Applying Debian patches"
- emake -j1 patch
- use herwig || epatch "${FILESDIR}"/${P}-noherwig.patch
- # since we depend on cfortran, do not use the one from cernlib
- rm src/include/cfortran/cfortran.h || die
- # respect users flags
- sed -i \
- -e 's/-O3/-O2/g' \
- -e "s/-O2/${CFLAGS}/g" \
- -e "s|\(CcCmd[[:space:]]*\)gcc|\1$(tc-getCC)|g" \
- -e "s|\(CplusplusCmd[[:space:]]*\)g++|\1$(tc-getCXX)|g" \
- -e "s|\(FortranCmd[[:space:]]*\)gfortran|\1$(tc-getFC)|g" \
- src/config/linux.cf \
- || die "sed linux.cf failed"
- sed -i \
- -e "s|\(ArCmdBase[[:space:]]*\)ar|\1$(tc-getAR)|g" \
- -e "s|\(RanlibCmd[[:space:]]*\)ranlib|\1$(tc-getRANLIB)|g" \
- src/config/Imake.tmpl \
- || die "sed Imake.tmpl failed"
-
- sed -i \
- -e 's/\$(FCLINK)/\$(FCLINK) $(LDFLAGS)/' \
- -e 's/\$(CCLINK)/\$(CCLINK) $(LDFLAGS)/' \
- src/config/{biglib,fortran,Imake}.rules \
- || die "sed for ldflags propagation failed"
-}
-
-src_compile() {
- export VARTEXFONTS="${T}"/fonts
- emake -j1 cernlib-indep cernlib-arch
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}"/shlib \
- emake -j1 cernlib-test
-}
-
-src_install() {
- export VARTEXFONTS="${T}"/fonts
- emake DESTDIR="${D}" MCDOC="${ED}usr/share/doc/${PF}" install
- cd debian
- dodoc changelog README.* deadpool.txt copyright
- newdoc add-ons/README README.add-ons
-}
diff --git a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006-r4.ebuild b/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006-r4.ebuild
deleted file mode 100644
index 4bc56cab02e3..000000000000
--- a/sci-physics/cernlib-montecarlo/cernlib-montecarlo-2006-r4.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2 toolchain-funcs
-
-DEB_PN=mclibs
-DEB_PV=20061220+dfsg3
-DEB_PR=3
-DEB_P=${DEB_PN}_${DEB_PV}
-
-DESCRIPTION="Monte-carlo library and tools for the cernlib"
-HOMEPAGE="https://cernlib.web.cern.ch/cernlib/"
-SRC_URI="
- mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz
- mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.debian.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2 LGPL-2 BSD"
-IUSE="+herwig"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="
- x11-libs/motif:0
- dev-lang/cfortran
- sci-physics/cernlib
- herwig? ( !sci-physics/herwig )"
-
-DEPEND="${RDEPEND}
- virtual/latex-base
- x11-misc/imake
- x11-misc/makedepend"
-
-S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig"
-
-src_prepare() {
- mv ../debian . || die
- cp debian/add-ons/Makefile . || die
- export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
- sed -i \
- -e "s:/usr/local:${EROOT}/usr:g" \
- Makefile || die
-
- einfo "Applying Debian patches"
- emake -j1 patch
- use herwig || epatch "${FILESDIR}"/${P}-noherwig.patch
- # since we depend on cfortran, do not use the one from cernlib
- rm src/include/cfortran/cfortran.h || die
- # respect users flags
- sed -i \
- -e 's/-O3/-O2/g' \
- -e "s/-O2/${CFLAGS}/g" \
- -e "s|\(CcCmd[[:space:]]*\)gcc|\1$(tc-getCC)|g" \
- -e "s|\(CplusplusCmd[[:space:]]*\)g++|\1$(tc-getCXX)|g" \
- -e "s|\(FortranCmd[[:space:]]*\)gfortran|\1$(tc-getFC)|g" \
- src/config/linux.cf \
- || die "sed linux.cf failed"
- sed -i \
- -e "s|\(ArCmdBase[[:space:]]*\)ar|\1$(tc-getAR)|g" \
- -e "s|\(RanlibCmd[[:space:]]*\)ranlib|\1$(tc-getRANLIB)|g" \
- src/config/Imake.tmpl \
- || die "sed Imake.tmpl failed"
-
- sed -i \
- -e 's/\$(FCLINK)/\$(FCLINK) $(LDFLAGS)/' \
- -e 's/\$(CCLINK)/\$(CCLINK) $(LDFLAGS)/' \
- src/config/{biglib,fortran,Imake}.rules \
- || die "sed for ldflags propagation failed"
-}
-
-src_compile() {
- export VARTEXFONTS="${T}"/fonts
- emake -j1 cernlib-indep cernlib-arch
-}
-
-src_test() {
- export VARTEXFONTS="${T}"/fonts
- LD_LIBRARY_PATH="${S}"/shlib \
- emake -j1 cernlib-test
-}
-
-src_install() {
- emake DESTDIR="${D}" MCDOC="${ED}usr/share/doc/${PF}" install
- cd debian
- dodoc changelog README.* deadpool.txt copyright
- newdoc add-ons/README README.add-ons
-}
diff --git a/sci-physics/cernlib-montecarlo/files/cernlib-montecarlo-2006-noherwig.patch b/sci-physics/cernlib-montecarlo/files/cernlib-montecarlo-2006-noherwig.patch
deleted file mode 100644
index d0cb42d1ba42..000000000000
--- a/sci-physics/cernlib-montecarlo/files/cernlib-montecarlo-2006-noherwig.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff --git a/mclibs-2006.dfsg.2.orig/Makefile b/mclibs-2006.dfsg.2.orig/Makefile
-index f3c89fd..780499e 100644
---- a/mclibs-2006.dfsg.2.orig/Makefile
-+++ b/mclibs-2006.dfsg.2.orig/Makefile
-@@ -89,9 +89,6 @@ install-includes:
- done ; \
- done
-
-- # install some symlinks, e.g. herwig$$version -> herwig
-- rm -f $(DESTDIR)$(includedir)/herwig && \
-- ln -sf herwig59 $(DESTDIR)$(includedir)/herwig
- rm -rf $(DESTDIR)$(includedir)/isajet758
- mv $(DESTDIR)$(includedir)/isajet $(DESTDIR)$(includedir)/isajet758
- ln -sf isajet758 $(DESTDIR)$(includedir)/isajet
-@@ -128,14 +125,12 @@ install-arch: install-includes
- fi
-
- # ... and mclibs documentation
-- for dir in cojets eurodec herwig isajet pdflib ; do \
-+ for dir in cojets eurodec isajet pdflib ; do \
- install -d -m 0755 $(MCDOC)/$$dir ; \
- done
- install -p -m 0644 $(CERN_DOCDIR)/cojets.txt $(MCDOC)/cojets/
- install -p -m 0644 $(CERN_DOCDIR)/isa* $(MCDOC)/isajet/
- install -p -m 0644 $(CERN_DOCDIR)/eurodec.txt $(MCDOC)/eurodec/
-- install -p -m 0644 $(CVSCOSRC)/mclibs/herwig/doc/herwig59 \
-- $(MCDOC)/herwig/herwig59.txt
- install -p -m 0644 $(CVSCOSRC)/mclibs/pdf/dpdf/pdfdoc.doc \
- $(MCDOC)/pdflib/pdfdoc.txt
-
-diff --git a/mclibs-2006.dfsg.2.orig/src/mclibs/Imakefile b/mclibs-2006.dfsg.2.orig/src/mclibs/Imakefile
-index 0c9867d..0f04f1b 100644
---- a/mclibs-2006.dfsg.2.orig/src/mclibs/Imakefile
-+++ b/mclibs-2006.dfsg.2.orig/src/mclibs/Imakefile
-@@ -6,7 +6,7 @@
- to them and their dependents. They have already been purged from
- Debianized source code. Also, re-order libs so that dependent ones
- come after dependees. */
--LIBDIRS= cojets eurodec pdf photos herwig isajet
-+LIBDIRS= cojets eurodec pdf photos isajet
-
- SUBDIRS = $(LIBDIRS)
-
-@@ -16,7 +16,7 @@ InstallLibSubdirs($(LIBDIRS))
- InstallSharedLibSubdirs($(LIBDIRS))
-
- /* Again, purge Pythia, Jetset and dependents. */
--INCLUDEDIRS= cojets eurodec herwig isajet pdf
-+INCLUDEDIRS= cojets eurodec isajet pdf
-
- InstallIncludeSubdirs($(INCLUDEDIRS))
-
diff --git a/sci-physics/cernlib-montecarlo/metadata.xml b/sci-physics/cernlib-montecarlo/metadata.xml
deleted file mode 100644
index 8c84153e4f42..000000000000
--- a/sci-physics/cernlib-montecarlo/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-physics@gentoo.org</email>
- <name>Gentoo Physics Project</name>
- </maintainer>
- <longdescription lang="en">
- This metapackage provides various Monte Carlo libraries included in
- Cernlib (both shared and static). Likely only physicists will be
- interested in these packages.
- The libraries of Ariadne, Fritiof, Jetset, Lepto, and Pythia are not
- available for Gentoo: see cernlib Debian packaging for explanation.
-</longdescription>
- <use>
- <flag name="herwig">Build Herwig internal event generator, newer version
- available in <pkg>sci-physics/herwig</pkg></flag>
- </use>
-</pkgmetadata>