diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
commit | abaa75b10f899ada8dd05b23cc03205064394bc6 (patch) | |
tree | eca3dd248b73b92013cba00a0fcc1edf2696e19a /sci-physics/pythia | |
parent | 24fd814c326e282c4321965c31f341dad77e270d (diff) |
gentoo resync : 22.01.2021
Diffstat (limited to 'sci-physics/pythia')
-rw-r--r-- | sci-physics/pythia/Manifest | 3 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-8.1.86.ebuild | 100 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-8.2.10.ebuild | 184 |
3 files changed, 0 insertions, 287 deletions
diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest index 544667930df7..9a0a3a47ac45 100644 --- a/sci-physics/pythia/Manifest +++ b/sci-physics/pythia/Manifest @@ -14,12 +14,9 @@ DIST pythia-6.4.28.tar.xz 490248 BLAKE2B aff9006a4d3a0536d39a5b5161329f058b98055 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 pythia8210.tgz 14301345 BLAKE2B 799955192d55f34fb7a0b91c4ea4b130fe2836437b5fed3416be5e0edf476c00a3054615e73d3b926cfc3facffbf6bbd973fb59e1439481a95c00e91fdabb5f5 SHA512 fe2d02e32fd5d25bcdcc216754b91ca509a189c58f1a06ca8deba975af552586632fc8cf8ad3e62920884ee64c4af596fbe7c6872f5ddbd1f5a0cea4ba4bc90d DIST pythia8226.tgz 17639842 BLAKE2B b80d7c10bd5ccc45fbb2db0df0eff679236b9911958f58987517b475e055959aa494a2199f64117631baedd90c8e2753f996e5d64552e39e54859bfe77274dad SHA512 85db807264f99c27dd87ad0572b98f4ac8d37fed818c3dd1ac89f0ac124ae0a5ee13b290727e515cb04269a6e0be8b386d954bed62309f26d1e60b431f952ca0 EBUILD pythia-6.4.28-r1.ebuild 1908 BLAKE2B cc2ddb262eea5a646d38c983e22f3ff46f60621b73aa9c469a7afb67455ec3935d89826d3633d2401ada405ae9df09e823f263c57d1ccad5829eb492af71f17c SHA512 dcbf3226adf25fb2c738f0825cd70aef70d3c1d77d123bb765db2f9666b7fe23e06f469ed2ee285dd1a315731ddc7a90d798e53b88723b72586a0dfe11ad7863 EBUILD pythia-6.4.28.ebuild 1864 BLAKE2B c89b5effbe414331507c920841617698affb57152a721be748a336cdd26e1cb492d273e9f43e60e485d4ad7407fbda88c2578b72f2c56789026c7e0bccf76999 SHA512 9e3fa32d791672b3aec15f779700fd33a6a83488ca315e365e3fdc7eb88ee3a8405dffcc6eda705d3334c79e8a726c1130ba97b2baf0d91004c881b1e922a2af EBUILD pythia-8.1.86-r1.ebuild 2618 BLAKE2B 28b0db0d7168c731eb627deebe5542426bb3969f76a8135ebd4dc02d5e710f68ff268c65b3c9fd7ea78246bc5d428041e22984959b9f62921dc2fc1a0a479f7b SHA512 0b07f2d9d85cc46a04cd79d9363bb044f80494c20ace27411d9593d4847932c79453129a158fc20ddf616f63a0965be165c1e68c61994919f0fb17e13a14af1c -EBUILD pythia-8.1.86.ebuild 2573 BLAKE2B 7cf44a768151c21ebc854ca5b3ce3ad3022ccb98977f4d9035169efdbc66e5b1a0256508298f7b020064d946c86e6f4e051690ce068e167f210a86054db04ce9 SHA512 e1682daf71c734fd97a0d957975856158e3ba4c674a804be6ee9e1dedf4b03fb3f5b2639a39a2ae37bbef96d980efe1ce57b9d6dc89e2635c6a720df75b9a5f5 -EBUILD pythia-8.2.10.ebuild 5821 BLAKE2B f712bffef7f25bc38cef85eb8af4c7fea376147f60d8945d314d47121a4a3a4c8482b25878e534350fc12eb4a4e5096fbfa0604bfb85e3c984184cfacd69c0f5 SHA512 26a5ebbc406147c5a58accf6749f972f75417aeee72b4e421e616668dee15f151f2cc72075edafc0c94a538a3b7c806571b290262937187e7d1d5f6acafac530 EBUILD pythia-8.2.26.ebuild 5847 BLAKE2B 7c62a7b2d2f1623af2b30350a84af3843430c0b25af45b46d1c2d5beb79c93d05f1d06042ddcd151ce5bd9c2ef015fd49bc6ae6df2c938fa9fed0df63748a4bf SHA512 727d1f977d5425544512b2c9fa76a3c5229641f2c01e45ab27f1e8262ab7585421ac29b10ffe77225a5fe27092595de2c2c759e4bde2325d6be1eaefc983087c MISC metadata.xml 1298 BLAKE2B 3a8448cffc50ab81baf30e783a7d30387f4cd61be3f1a35ccdc9277dbb33d7178bbe9e103d189dd78a6775fcfa563480363448308a583ab2d9b513eb6e6f2b46 SHA512 b991381193c62d05d01ea82c74a2fabe3968683b4a1e0914027768dbbc3d2b52a85584b77b1b7274e77222e10da0aaa1a55d3982b423bc7c2b5deb4d775e6389 diff --git a/sci-physics/pythia/pythia-8.1.86.ebuild b/sci-physics/pythia/pythia-8.1.86.ebuild deleted file mode 100644 index b7a47e6657ba..000000000000 --- a/sci-physics/pythia/pythia-8.1.86.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 - dohtml -r htmldoc/* - fi - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/sci-physics/pythia/pythia-8.2.10.ebuild b/sci-physics/pythia/pythia-8.2.10.ebuild deleted file mode 100644 index 8c08ee47f626..000000000000 --- a/sci-physics/pythia/pythia-8.2.10.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs versionator - -MV=$(get_major_version) -MY_P=${PN}$(replace_all_version_separators "" ${PV}) -LHA_VER="6.1" - -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 - test? ( lhapdf? ( - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/CT10.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/MRST2007lomod.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/NNPDF23_nlo_as_0119_qed_mc.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/NNPDF23_nnlo_as_0119_qed_mc.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/cteq66.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/cteq6l1.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/unvalidated/MRST2004qed.tar.gz - ) )" - -SLOT="8" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples gzip +hepmc fastjet lhapdf root static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - fastjet? ( >=sci-physics/fastjet-3 ) - gzip? ( sys-libs/zlib ) - hepmc? ( sci-physics/hepmc:0= ) - lhapdf? ( >=sci-physics/lhapdf-6:= ) -" -# ROOT is used only when building related tests -DEPEND="${RDEPEND} - test? ( root? ( sci-physics/root:= ) ) -" - -S="${WORKDIR}/${MY_P}" - -pkg_pretend() { - if use root && ! use test; then - ewarn "ROOT support will only affect examples code build during test stage." - ewarn "Since you have tests disabled, this is a no-op." - fi -} - -src_prepare() { - PYTHIADIR="/usr/share/pythia8" - EPYTHIADIR="${EPREFIX}${PYTHIADIR}" - # set datadir for xmldor in include file - sed -i \ - -e "s:../share/Pythia8/xmldoc:${EPYTHIADIR}/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:${CXXFLAGS}:g" \ - -e "s:Cint:Core:g" \ - configure || die - sed -i 's:$(CXX) $^ -o $@ $(CXX_COMMON) $(CXX_SHARED):$(CXX) $(LDFLAGS) $^ -o $@ $(CXX_COMMON) $(CXX_SHARED):g' \ - Makefile || die - sed -i 's:$(CXX):$(CXX) $(LDFLAGS):' examples/Makefile || die - # we use lhapdf6 instead of lhapdf5 - # some PDFs changed, use something similar - sed -i \ - -e "s:LHAPDF5:LHAPDF6:g" \ - -e "s:\.LHgrid::g" \ - -e "s:\.LHpdf::g" \ - -e "s:MRST2001lo:MRST2007lomod:g" \ - -e "s:cteq6ll:cteq6l1:g" \ - -e "s:cteq6m:cteq66:g" \ - examples/*.{cc,cmnd} || die - # After lhapdf5->6 migration PDFs are identical within ~1/1000 - # https://www.hepforge.org/archive/lhapdf/pdfsets/6.1/README - sed -i \ - -e "s:1e-8:3e-1:g" \ - -e "s:nlo_as_0119_qed:nlo_as_0119_qed_mc:g" \ - -e "s:xmldoc:share/Pythia8/xmldoc:g" \ - examples/main54.cc || die - # ask cflags from root - sed -i "s:root-config:root-config --cflags:g" examples/Makefile || die - if ! use static-libs; then - sed -i \ - -e '/TARGETS=$(LOCAL_LIB)\/libpythia8\.a/d' \ - -e 's:libpythia8\.a$:libpythia8\.so$:g' \ - Makefile || die - sed -i 's:libpythia8\.a:libpythia8\.so:g' \ - examples/Makefile || die - fi - - epatch "${FILESDIR}/${PN}8209-run-tests.patch" - epatch "${FILESDIR}/${PN}8209-root-noninteractive.patch" -} - -# TODO: the following optional packages are out of Gentoo tree: -# - EvtGen http://atlas-computing.web.cern.ch/atlas-computing/links/externalDirectory/EvtGen/ -# - PowHEG http://powhegbox.mib.infn.it/ -# - ProMC https://github.com/Argonne-National-Laboratory/ProMC/ -src_configure() { - # homemade configure script - ./configure \ - --arch=Linux \ - --cxx=$(tc-getCXX) \ - --enable-shared \ - --prefix="${EPREFIX}/usr" \ - --prefix-lib="$(get_libdir)" \ - --prefix-share="${EPYTHIADIR}" \ - $(usex fastjet "--with-fastjet3" "") \ - $(usex gzip "--with-gzip" "") \ - $(usex hepmc "--with-hepmc2" "") \ - $(usex lhapdf "--with-lhapdf6 - --with-lhapdf6-plugin=LHAPDF6.h - --with-lhapdf6-lib=${EPREFIX}/usr/$(get_libdir)" "") \ - $(usex root "--with-root - --with-root-include=${EPREFIX}/usr/include/root - --with-root-lib=${EPREFIX}/usr/$(get_libdir)/root" "") \ - || die - - # fix pythia config script - sed -i \ - -e 's:pythia8/examples/Makefile.inc:pythia8/Makefile.inc:' \ - -e 's:LINE%=:LINE%%=:' \ - bin/pythia8-config || die -} - -src_test() { - cd examples || die - - local tests="$(echo main{{01..32},37,38,61,62,73,80}.out)" - use hepmc && tests+=" $(echo main{41,42,85,86}.out)" - use hepmc && use lhapdf && tests+=" $(echo main{43,{87..89}}.out)" - use lhapdf && tests+=" $(echo main{51..54}.out)" - use fastjet && tests+=" $(echo main{71,72}.out)" - use fastjet && use hepmc && use lhapdf && tests+=" $(echo main{81..84}).out" - use root && tests+=" main91.out" - # Disabled tests: - # 33 needs PowHEG - # 46 needs ProMC - # 48 needs EvtGen - # 92 generated ROOT dictionary is badly broken - - # use emake for parallel instead of long runmains - LD_LIBRARY_PATH="${S}/$(get_libdir):${LD_LIBRARY_PATH}" \ - PYTHIA8DATA="../share/Pythia8/xmldoc/" \ - LHAPDF_DATA_PATH="${WORKDIR}" \ - emake ${tests} - emake clean -} - -src_install() { - # make install is too broken, much easier to install manually - dobin bin/pythia8-config - doheader -r include/* - dolib lib/* - insinto "${PYTHIADIR}" - doins -r share/Pythia8/xmldoc examples/Makefile.inc - - echo "PYTHIA8DATA=${EPYTHIADIR}/xmldoc" >> 99pythia8 - doenvd 99pythia8 - - dodoc AUTHORS GUIDELINES README - if use doc; then - dodoc share/Pythia8/pdfdoc/* - dohtml -r share/Pythia8/htmldoc/* - fi - if use examples; then - # reuse system Makefile.inc - rm examples/Makefile.inc || die - sed -i "s:include Makefile.inc:include ${EPYTHIADIR}:" \ - examples/Makefile || die - - insinto /usr/share/doc/${PF} - doins -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - # cleanup - unset PYTHIADIR EPYTHIADIR -} |