diff options
author | Gerhard Bräunlich <wippbox@gmx.net> | 2016-11-12 16:17:07 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-11-13 10:38:51 +0100 |
commit | 18c6614bba804a540a4dbbde4379d5379b880e86 (patch) | |
tree | d257aa601295fc0df7dd078b8924d073983dcdd6 /sci-physics/hepmc | |
parent | app-office/abiword: Replace 'nullptr' by 'NULL' (diff) | |
download | gentoo-18c6614bba804a540a4dbbde4379d5379b880e86.tar.gz gentoo-18c6614bba804a540a4dbbde4379d5379b880e86.tar.bz2 gentoo-18c6614bba804a540a4dbbde4379d5379b880e86.zip |
sci-physics/hepmc: Removing EAPI 4 versions 2.06.03 and 2.06.08
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2823
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-physics/hepmc')
-rw-r--r-- | sci-physics/hepmc/Manifest | 2 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-2.06.03.ebuild | 64 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-2.06.08.ebuild | 87 |
3 files changed, 0 insertions, 153 deletions
diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest index d0b0e629c114..f18571a56add 100644 --- a/sci-physics/hepmc/Manifest +++ b/sci-physics/hepmc/Manifest @@ -1,3 +1 @@ -DIST HepMC-2.06.03.tar.gz 4587543 SHA256 6dc6de2df9e3a30b98d47a1ca0442a9513fcc5df0d6b5590364270903e96a6f3 SHA512 ad7e61b64952b6c3774e6406ea6c6f193192222aa4a3f0a4c192728b0f3b6272e97cce9bbdd6ca0b8bc8f12c8da9dd51ec53e7840760fdc2f1ff4ec2986ba389 WHIRLPOOL 0652dfa39fe69d691141db8aab8da1fb7fabad1a11058146162bd45d03831fca6ec38eca17e7d81de38515df29bd411482636a6308e1ed91e76211c1b58b0d72 -DIST HepMC-2.06.08.tar.gz 3863843 SHA256 8be6c1793e0a045f07ddb88bb64b46de7e66a52e75fb72b3f82f9a3e3ba8a8ce SHA512 a2365f67260a394b9e8d7cebdd399d74e78e39aef64e120dedd2fd2ebd10b85519cb87b00f106891ee1a6f01f4c68c829567e5aa1885324be668e5443ab113f6 WHIRLPOOL fc95858b58bbc2d37a2301cc5b62a6c67f25781d0796b04e6bc5ff976ee2d1456afac892dc554274422e62b1b07d727d2263a816579f73230bae64059d6b190d DIST HepMC-2.06.09.tar.gz 4612637 SHA256 c60724ca9740230825e06c0c36fb2ffe17ff1b1465e8656268a61dffe1611a08 SHA512 1030f31ad9d19d8ae184145a693c4a3092131f485e2ed89598b7172992a825ad9aa46fb44a9199a00c4a6bd7e163daead9452e9bc4fe32cb3b97351cf22906c4 WHIRLPOOL 62b91da92ec30bbc1f5619a87e6172fd563751fe29453ed5bdf31ecae6c5964b59a601b4a52f5c3249cfc20664041ee27bb7114d006dabdf05c5926194890370 diff --git a/sci-physics/hepmc/hepmc-2.06.03.ebuild b/sci-physics/hepmc/hepmc-2.06.03.ebuild deleted file mode 100644 index 52fc04ef8e7b..000000000000 --- a/sci-physics/hepmc/hepmc-2.06.03.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=2 - -inherit eutils - -MYP=HepMC-${PV} - -DESCRIPTION="Event Record for Monte Carlo Generators" -HOMEPAGE="http://lcgapp.cern.ch/project/simu/HepMC/" -SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples gev cm static-libs" - -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -S="${WORKDIR}/${MYP}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.06.04-gcc46.patch -} -src_configure() { - # use MeV over GeV and mm over cm - local length_conf="MM" - use cm && length_conf="CM" - local momentum_conf="MEV" - use gev && momentum_conf="GEV" - econf \ - --with-length=${length_conf} \ - --with-momentum=${momentum_conf} \ - $(use_enable static-libs static) -} - -src_compile() { - emake || die "emake failed" - if use doc; then - cd doc - doxygen doxygen.conf || die "doc building failed" - fi -} - -src_install() { - emake \ - DESTDIR="${D}" \ - INSTALLDIR=/usr/share/doc/${PF}/examples \ - doc_installdir=/usr/share/doc/${PF} \ - install || die "emake install failed" - - dodoc README AUTHORS ChangeLog - insinto /usr/share/doc/${PF} - if use doc; then - doins -r doc/html doc/*.pdf || die - else - rm -f "${D}"/usr/share/doc/${PF}/*pdf - fi - use examples || rm -rf "${D}"/usr/share/doc/${PF}/examples -} diff --git a/sci-physics/hepmc/hepmc-2.06.08.ebuild b/sci-physics/hepmc/hepmc-2.06.08.ebuild deleted file mode 100644 index 680e47055b4a..000000000000 --- a/sci-physics/hepmc/hepmc-2.06.08.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit cmake-utils - -MYP=HepMC-${PV} - -DESCRIPTION="Event Record for Monte Carlo Generators" -HOMEPAGE="http://lcgapp.cern.ch/project/simu/HepMC/" -SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="cm doc examples gev static-libs test" - -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen dev-tex/floatflt )" - -S="${WORKDIR}/${MYP}" - -DOCS=( ChangeLog AUTHORS ) - -src_prepare() { - sed -i -e '/add_subdirectory(doc)/d' CMakeLists.txt - # CMake doc building broken - # gentoo doc directory - #sed -i \ - # -e "s:share/HepMC/doc:share/doc/${PF}:" \ - # doc/CMakeLists.txt || die - - # gentoo examples directory - sed -i \ - -e "s:share/HepMC:share/doc/${PF}:" \ - $(find examples -name CMakeLists.txt) || die - - # respect user's flags - sed -i \ - -e "s/-O -ansi -pedantic -Wall//g" \ - cmake/Modules/HepMCVariables.cmake || die - - # gentoo libdir love - sed -i \ - -e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \ - {src,fio}/CMakeLists.txt || die - - # remove targets if use flags not set - use examples || sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt - use test || sed -i -e '/add_subdirectory(test)/d' CMakeLists.txt - if ! use static-libs; then - sed -i \ - -e '/(HepMC\(fio\|\)S/d' \ - -e '/TARGETS/s/HepMC\(fio\|\)S//' \ - {src,fio}/CMakeLists.txt || die - fi -} - -src_configure() { - # use MeV over GeV and mm over cm - local length_conf="MM" - use cm && length_conf="CM" - local momentum_conf="MEV" - use gev && momentum_conf="GEV" - mycmakeargs+=( - -Dlength=${length_conf} - -Dmomentum=${momentum_conf} - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - if use doc; then - cd doc - ./buildDoc.sh || die - ./buildDoxygen.sh || die - fi -} - -src_install() { - cmake-utils_src_install - use doc && dodoc doc/*.pdf && dohtml -r doc/html/* -} |