summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-01-20 11:16:14 +0100
committerDavid Seifert <soap@gentoo.org>2021-01-20 11:16:14 +0100
commit121646ae68841dc1d981dc4c041820b99ae2c48f (patch)
treec98cf912e55874b77490a03ab441da764d16393b /sci-physics/xfoil
parentsci-physics/bullet: Remove old (diff)
downloadgentoo-121646ae68841dc1d981dc4c041820b99ae2c48f.tar.gz
gentoo-121646ae68841dc1d981dc4c041820b99ae2c48f.tar.bz2
gentoo-121646ae68841dc1d981dc4c041820b99ae2c48f.zip
sci-physics/xfoil: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-physics/xfoil')
-rw-r--r--sci-physics/xfoil/Manifest1
-rw-r--r--sci-physics/xfoil/files/xfoil-6.97-overflow.patch22
-rw-r--r--sci-physics/xfoil/xfoil-6.97-r1.ebuild74
3 files changed, 0 insertions, 97 deletions
diff --git a/sci-physics/xfoil/Manifest b/sci-physics/xfoil/Manifest
index f8c066ff8e4a..b4810f7f096c 100644
--- a/sci-physics/xfoil/Manifest
+++ b/sci-physics/xfoil/Manifest
@@ -1,3 +1,2 @@
DIST dataflow.pdf 7654 BLAKE2B 67871007f6d2d72fe89c0f3bfcd7027d08ad8d064a0426c2947c5e41d6a31049973dd8b586ca0dd482def6745023c337157a77dbf35b541a5f3a8295f0162b03 SHA512 1bb5be8e70fca1fa90f28d214140e96a8795c7d82a37f4fe4d68606fa3eb28252913b8fb13eb3e97a3cf05c3001c88dbfcdb8a2f20d4baed5e730770a2d602b1
-DIST xfoil6.97.tar.gz 3972497 BLAKE2B 25c50621bb76cec5463f05ca975b97b52688408cc8111e464fc89fd6bf1ab3f66b43798d89aa68c4a2ef4ffb049801e5930b45b520c0afeabfb8d89efd486536 SHA512 02c0a123fb99fa20de1e3577ca7c6ce00d494058f2ef3ec82e3fdea48901f4346180aea3436e001c5b90401007ccdd5b7e9daa6a96794f0d6b5781a5b36e36e7
DIST xfoil6.99.tgz 4515991 BLAKE2B a96dc534a0ceff116970a22b9e267705065076f1561052334c4706d7d6d2d750ad75954fb9af843ef50ca5e8ab8cfd4c8e5d873f9f36b6337fe3381604cb2d37 SHA512 6f5bed520826dba2efd1b191b1f90dd810b53d9041cbbaddde09207ba9042f99dd0c9e9aa8b8cdf48767bf2695e328ac8fbd297e1510e53ac10b0f1eea35cfef
diff --git a/sci-physics/xfoil/files/xfoil-6.97-overflow.patch b/sci-physics/xfoil/files/xfoil-6.97-overflow.patch
deleted file mode 100644
index 6f71440f050c..000000000000
--- a/sci-physics/xfoil/files/xfoil-6.97-overflow.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/src/pplot.f
-+++ b/src/pplot.f
-@@ -36,7 +36,7 @@
- PROGRAM PPLOT
- INCLUDE 'PPLOT.INC'
- C
-- LOGICAL ERROR, LGETFN
-+ LOGICAL ERROR, LGETFN, LERR
- REAL RINP(10)
- REAL CPOLO(NAX,IPTOT,NPX), VPOLO(NAX,2,NPX)
- C
---- a/src/xoper.f
-+++ b/src/xoper.f
-@@ -114,7 +114,7 @@
- C---- don't try to read integers, since might get integer overflow
- DO I=1, NINPUT
- IF(ABS(RINPUT(I)) .GT. 2.1E9) THEN
-- IINPUT(I) = 2**31
-+ IINPUT(I) = HUGE(0)
- ELSE
- IINPUT(I) = INT(RINPUT(I))
- ENDIF
diff --git a/sci-physics/xfoil/xfoil-6.97-r1.ebuild b/sci-physics/xfoil/xfoil-6.97-r1.ebuild
deleted file mode 100644
index 80e95dc414c7..000000000000
--- a/sci-physics/xfoil/xfoil-6.97-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit fortran-2 toolchain-funcs
-
-DESCRIPTION="Design and analysis of subsonic isolated airfoils"
-HOMEPAGE="http://raphael.mit.edu/xfoil/"
-SRC_URI="
- http://web.mit.edu/drela/Public/web/${PN}/${PN}${PV}.tar.gz
- doc? ( http://web.mit.edu/drela/Public/web/${PN}/dataflow.pdf )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND="x11-libs/libX11"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-overflow.patch )
-
-S="${WORKDIR}/${PN^}"
-
-src_prepare() {
- # fix bug #147033
- [[ $(tc-getFC) == *gfortran ]] && PATCHES+=( "${FILESDIR}"/${PN}-6.96-gfortran.patch )
- default
-
- sed \
- -e '/^FC/d' \
- -e '/^CC/d' \
- -e '/^FFLAGS/d' \
- -e '/^CFLAGS/d' \
- -e 's/^\(FFLOPT .*\)/FFLOPT = $(FFLAGS)/g' \
- -i {bin,plotlib,orrs/bin}/Makefile plotlib/config.make \
- || die "sed for flags and compilers failed"
-
- sed \
- -e "s:/var/local/codes/orrs/osmap.dat:${EPREFIX}/usr/share/xfoil/orrs/osmap.dat:" \
- -i orrs/src/osmap.f || die "sed osmap.f failed"
-}
-
-src_compile() {
- emake -C orrs/bin FLG="${FFLAGS}" FTNLIB="${LDFLAGS}" OS
- pushd orrs >/dev/null || die
- bin/osgen osmaps_ns.lst
- popd >/dev/null || die
- emake -C plotlib CFLAGS="${CFLAGS} -DUNDERSCORE"
-
- local i
- for i in xfoil pplot pxplot; do
- emake -C bin \
- PLTOBJ="../plotlib/libPlt.a" \
- CFLAGS="${CFLAGS} -DUNDERSCORE" \
- FTNLIB="${LDFLAGS}" \
- $i
- done
-}
-
-src_install() {
- dobin bin/{pplot,pxplot,xfoil}
- insinto /usr/share/xfoil/orrs
- doins orrs/osm*.dat
-
- local DOCS=( *.txt README )
- use doc && DOCS+=( "${DISTDIR}"/dataflow.pdf )
- einstalldocs
- if use examples; then
- dodoc -r runs
- docompress -x /usr/share/doc/${PF}/runs
- fi
-}