summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-01 10:49:48 +0100
committerMichał Górny <mgorny@gentoo.org>2021-02-01 10:50:15 +0100
commitccaada423632808c85f34556aabf72bb6dc678b0 (patch)
tree7e21f3e9212d18c7d630433ddc1da8ce5bd28a38 /sci-physics
parentsci-physics/cernlib-montecarlo: Remove last-rited pkg (diff)
downloadgentoo-ccaada423632808c85f34556aabf72bb6dc678b0.tar.gz
gentoo-ccaada423632808c85f34556aabf72bb6dc678b0.tar.bz2
gentoo-ccaada423632808c85f34556aabf72bb6dc678b0.zip
sci-physics/cernlib: Remove last-rited pkg
Closes: https://bugs.gentoo.org/763183 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/cernlib/Manifest3
-rw-r--r--sci-physics/cernlib/cernlib-2006-r5.ebuild107
-rw-r--r--sci-physics/cernlib/cernlib-2006-r7.ebuild108
-rw-r--r--sci-physics/cernlib/files/cernlib-2006-fgets.patch20
-rw-r--r--sci-physics/cernlib/files/cernlib-2006-nogfortran.patch56
-rw-r--r--sci-physics/cernlib/files/cernlib-2006-ypatchy-short-name.patch11
-rw-r--r--sci-physics/cernlib/metadata.xml17
7 files changed, 0 insertions, 322 deletions
diff --git a/sci-physics/cernlib/Manifest b/sci-physics/cernlib/Manifest
deleted file mode 100644
index 89f9e4e42ac1..000000000000
--- a/sci-physics/cernlib/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST cernlib_20061220+dfsg3-2.debian.tar.gz 257093 BLAKE2B 35ae90e38ddb935f252531cdf49dc038cdb7543b9168076f97458323a2458938cfa2f1768165d4cc59649021e2b268139dd53b3ef09d2a6601e1f68792c69af1 SHA512 43a2ca55d42b92bfb551b029c75728e80b4c83473397b52f746d9481c7503762bc5a281732908bfeb29a64f728fed4c127ed1cb9101c16e4fb2dd28c452730ea
-DIST cernlib_20061220+dfsg3-4.3.debian.tar.xz 168928 BLAKE2B 15147d1d84d3e4abb06620154425a035e64d6e5254177f9647634fdf63e4a5aa42deba6c8f638f338cf85e8766732388cc6298813dd5b007d1ef97fddcef3d39 SHA512 8cb666d9ef62627e7e3e55bd1986b40ca9ddfcc882101b1a3597c1d60870e30649b5c7716687f7e4106b30ba0aa88a9ca7bc3a3651b0d1405f55a6f611dc308b
-DIST cernlib_20061220+dfsg3.orig.tar.gz 6434476 BLAKE2B 069eda316ffbc4873e79952283a0aa2693ed58a3cc369bca72e29a4feaef4840922b4f62ababba1476f2aa0309f68833a4a35a3b5c6ac015bdbd85b3b58b2efe SHA512 11fade45c5ae69c858f37a82e74ab1a69416314a23c12ec5205ee6b918590d66f26d3ae68afa466ae3109d736212968ece956a444270ddd189a27a24c0ccece8
diff --git a/sci-physics/cernlib/cernlib-2006-r5.ebuild b/sci-physics/cernlib/cernlib-2006-r5.ebuild
deleted file mode 100644
index 0e409ed6a6cf..000000000000
--- a/sci-physics/cernlib/cernlib-2006-r5.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2 multilib toolchain-funcs
-
-DEB_PN=cernlib
-DEB_PV=20061220+dfsg3
-DEB_PR=2
-DEB_P=${DEB_PN}_${DEB_PV}
-
-DESCRIPTION="CERN program library for High Energy Physics"
-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"
-KEYWORDS="amd64 ~hppa sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
- x11-libs/motif:0
- virtual/lapack
- dev-lang/cfortran"
-DEPEND="${RDEPEND}
- x11-misc/imake
- x11-misc/makedepend
- virtual/pkgconfig"
-
-S="${WORKDIR}/${DEB_PN}-${DEB_PV}"
-
-src_prepare() {
- mv ../debian . || die
- epatch "${FILESDIR}"/${P}-nogfortran.patch
- # set some default paths
- sed -i \
- -e "s:/usr/local:${EROOT}/usr:g" \
- -e "s:prefix)/lib:prefix)/$(get_libdir):" \
- -e "s:\$(prefix)/etc:${EROOT}/etc:" \
- -e 's:$(prefix)/man:$(prefix)/share/man:' \
- debian/add-ons/cernlib.mk || die "sed failed"
-
- # use system blas and lapack set by gentoo framework
- sed -i \
- -e "s:\$DEPS -lm:$($(tc-getPKG_CONFIG) --libs blas):" \
- -e "s:\$DEPS -llapack -lm:$($(tc-getPKG_CONFIG) --libs lapack):" \
- -e 's:`depend $d $a blas`::' \
- -e 's:X11R6:X11:g' \
- debian/add-ons/bin/cernlib.in || die "sed failed"
-
- cp debian/add-ons/Makefile .
- export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
-
- einfo "Applying Debian patches"
- emake -j1 patch
-
- epatch "${FILESDIR}"/${P}-fgets.patch
- epatch "${FILESDIR}"/${P}-ypatchy-short-name.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 \
- src/patchy/Imakefile \
- || die "sed for ldflags propagation failed"
-
- # add missing headers for implicit
- sed -i \
- -e '0,/^#include/i#include <stdlib.h>' \
- src/kernlib/kerngen/ccgen*/*.c || die
-}
-
-src_compile() {
- # parallel make breaks and complex patched imake system, hard to debug
- emake -j1 cernlib-indep cernlib-arch
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}"/shlib emake -j1 cernlib-test
-}
-
-src_install() {
- default
- cd debian
- dodoc changelog README.* deadpool.txt NEWS copyright
- newdoc add-ons/README README.add-ons
-}
diff --git a/sci-physics/cernlib/cernlib-2006-r7.ebuild b/sci-physics/cernlib/cernlib-2006-r7.ebuild
deleted file mode 100644
index 216c3fda914a..000000000000
--- a/sci-physics/cernlib/cernlib-2006-r7.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2 multilib toolchain-funcs
-
-DEB_PN=cernlib
-DEB_PV=20061220+dfsg3
-DEB_PR=4.3
-DEB_P=${DEB_PN}_${DEB_PV}
-
-DESCRIPTION="CERN program library for High Energy Physics"
-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.xz"
-
-SLOT="0"
-LICENSE="GPL-2 LGPL-2 BSD"
-KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="
- x11-libs/motif:0
- virtual/lapack
- dev-lang/cfortran
- net-libs/libnsl"
-DEPEND="${RDEPEND}
- x11-misc/imake
- x11-misc/makedepend
- virtual/pkgconfig"
-
-S="${WORKDIR}/${DEB_PN}-${DEB_PV}"
-
-src_prepare() {
- mv ../debian . || die
- epatch "${FILESDIR}"/${P}-nogfortran.patch
- # set some default paths
- sed -i \
- -e "s:/usr/local:${EROOT}/usr:g" \
- -e "s:prefix)/lib/\$(DEB_HOST_MULTIARCH):prefix)/$(get_libdir):" \
- -e "s:\$(prefix)/etc:${EROOT}/etc:" \
- -e 's:$(prefix)/man:$(prefix)/share/man:' \
- debian/add-ons/cernlib.mk || die "sed failed"
-
- # use system blas and lapack set by gentoo framework
- sed -i \
- -e "s:\$DEPS -lm:$($(tc-getPKG_CONFIG) --libs blas):" \
- -e "s:\$DEPS -llapack -lm:$($(tc-getPKG_CONFIG) --libs lapack):" \
- -e 's:`depend $d $a blas`::' \
- -e 's:X11R6:X11:g' \
- -e 's: /[^ ]*`dpkg-arch.*`::' \
- debian/add-ons/bin/cernlib.in || die "sed failed"
-
- cp debian/add-ons/Makefile .
- export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
-
- einfo "Applying Debian patches"
- emake -j1 patch
-
- epatch "${FILESDIR}"/${P}-fgets.patch
- epatch "${FILESDIR}"/${P}-ypatchy-short-name.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 \
- src/patchy/Imakefile \
- || die "sed for ldflags propagation failed"
-
- # add missing headers for implicit
- sed -i \
- -e '0,/^#include/i#include <stdlib.h>' \
- src/kernlib/kerngen/ccgen*/*.c || die
-}
-
-src_compile() {
- # parallel make breaks and complex patched imake system, hard to debug
- emake -j1 cernlib-indep cernlib-arch
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}"/shlib emake -j1 cernlib-test
-}
-
-src_install() {
- default
- cd debian
- dodoc changelog README.* deadpool.txt NEWS copyright
- newdoc add-ons/README README.add-ons
-}
diff --git a/sci-physics/cernlib/files/cernlib-2006-fgets.patch b/sci-physics/cernlib/files/cernlib-2006-fgets.patch
deleted file mode 100644
index e42eaf833b35..000000000000
--- a/sci-physics/cernlib/files/cernlib-2006-fgets.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/packlib/cspack/tcpaw/tcpaw.c.old 2011-01-30 21:18:35.326089059 +0000
-+++ src/packlib/cspack/tcpaw/tcpaw.c 2011-01-30 21:18:01.876081979 +0000
-@@ -984,7 +984,7 @@
- int s, addrlen;
- int sx, nn = 0; /* REXEC */
- #ifndef IBM
-- char get[50], *getp = get; /* REXEC */
-+ char get[80], *getp = get; /* REXEC */
- #endif /*^IBM */
- char sys[30];
- register int i, j, k;
-@@ -1036,7 +1036,7 @@
- char buff[100];
- char *get;
- char *getp;
-- char getbuf[50]; /* REXEC */
-+ char getbuf[80]; /* REXEC */
- getp = getbuf; /* REXEC */
- get = getbuf; /* REXEC */
- /* j = 80; */ /* (crude kludge) length of srvc in Fortran */
diff --git a/sci-physics/cernlib/files/cernlib-2006-nogfortran.patch b/sci-physics/cernlib/files/cernlib-2006-nogfortran.patch
deleted file mode 100644
index 63883274403f..000000000000
--- a/sci-physics/cernlib/files/cernlib-2006-nogfortran.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- debian/add-ons/Makefile.orig 2008-03-15 16:46:46.000000000 +0000
-+++ debian/add-ons/Makefile 2008-03-15 16:47:51.000000000 +0000
-@@ -28,6 +28,9 @@
- ifneq (,$(findstring ifort,$(DEB_BUILD_OPTIONS)))
- sed -i -e 's/-lgfortran/-limf/' $(CERN_BINDIR)/cernlib
- endif
-+ifneq (,$(findstring g77,$(DEB_BUILD_OPTIONS)))
-+ sed -i -e 's/-lgfortran/-lg2c/' $(CERN_BINDIR)/cernlib
-+endif
- chmod a+x $(CERN_BINDIR)/cernlib
-
- # target to install include files for development packages
---- debian/add-ons/cernlib.mk.orig 2008-03-15 16:48:05.000000000 +0000
-+++ debian/add-ons/cernlib.mk 2008-03-15 17:09:14.000000000 +0000
-@@ -35,6 +35,10 @@
- export TOOL_SONAME = _gfortran
- export TOOL_NAME = _gfortran
- endif
-+ifeq (,$(findstring g77,$(DEB_BUILD_OPTIONS)))
-+ export TOOL_SONAME = _gfortran
-+ export TOOL_NAME = _gfortran
-+endif
- export PATH := $(CERN_BINDIR):$(ADDONDIR)/bin:$(datadir)/cernlib:${PATH}
- export INSTALL_OPTS ?= -s
- export CC ?= gcc
-@@ -118,6 +122,8 @@
- endif
- ifneq (,$(findstring ifort,$(DEB_BUILD_OPTIONS)))
- echo '#define HasIntelifc YES' >> $(CVSCOSRC)/config/host.def
-+else ifneq (,$(findstring g77,$(DEB_BUILD_OPTIONS)))
-+ echo >> $(CVSCOSRC)/config/host.def
- else
- echo '#define Hasgfortran YES' >> $(CVSCOSRC)/config/host.def
- endif
---- debian/patches/320-support-ifort.dpatch.orig 2008-03-15 17:31:34.000000000 +0000
-+++ debian/patches/320-support-ifort.dpatch 2008-03-15 17:31:56.000000000 +0000
-@@ -27,7 +27,7 @@
- #if defined(CERNLIB_UNIX)
- CLIBS= -G Motif kernlib
- +# if defined(CERNLIB_INTELIFC)
--+CLIBS= $(CLIBS) -nofor_main
-++CLIBS:= $(CLIBS) -nofor_main
- +# endif
- #endif
-
---- debian/patches/803-link-binaries-dynamically.dpatch.orig 2008-03-15 17:48:38.000000000 +0000
-+++ debian/patches/803-link-binaries-dynamically.dpatch 2008-03-15 17:49:17.000000000 +0000
-@@ -64,7 +64,7 @@
- -CLIBS= -G Motif kernlib
- +CLIBS= -G Motif -u Xm
- # if defined(CERNLIB_INTELIFC)
-- CLIBS= $(CLIBS) -nofor_main
-+ CLIBS:= $(CLIBS) -nofor_main
- # endif
- #endif
-
diff --git a/sci-physics/cernlib/files/cernlib-2006-ypatchy-short-name.patch b/sci-physics/cernlib/files/cernlib-2006-ypatchy-short-name.patch
deleted file mode 100644
index 706ab3671672..000000000000
--- a/sci-physics/cernlib/files/cernlib-2006-ypatchy-short-name.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/patchy/Imakefile.orig 2013-01-16 13:45:07.161828513 -0800
-+++ src/patchy/Imakefile 2013-01-16 13:45:34.768966597 -0800
-@@ -77,7 +77,7 @@
- @ ln -s $< $@
-
- %.f: $(LDIR)%.cra $(LDIR)patchy.car
-- ypatchy - :$@ :$< TTY .go
-+ ypatchy - :$@ :$(shell basename $<) TTY .go
-
- .f.o:
- $(FC) -c $(FORTRANOPTIONS) $(FDEBUGFLAGS) $<
diff --git a/sci-physics/cernlib/metadata.xml b/sci-physics/cernlib/metadata.xml
deleted file mode 100644
index 018891e93643..000000000000
--- a/sci-physics/cernlib/metadata.xml
+++ /dev/null
@@ -1,17 +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">
- The CERN Program Library is a large collection of general purpose
- libraries and modules maintained and offered in both source and
- object code form on the CERN central computers. Most of these
- programs were developed at CERN and are therefore oriented towards
- the needs of a physics research laboratory that is general
- mathematics, data analysis, detectors simulation, data-handling
- etc... applicable to a wide range of problems.
-</longdescription>
-</pkgmetadata>