diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-20 11:15:43 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-20 11:15:43 +0100 |
commit | 8dcb2534eaa402fd8f7ec673491ddda0a403758a (patch) | |
tree | 96e41899c590532bc60074748b366cac037beba3 /sci-mathematics/gretl | |
parent | sci-mathematics/flint: Remove old (diff) | |
download | gentoo-8dcb2534eaa402fd8f7ec673491ddda0a403758a.tar.gz gentoo-8dcb2534eaa402fd8f7ec673491ddda0a403758a.tar.bz2 gentoo-8dcb2534eaa402fd8f7ec673491ddda0a403758a.zip |
sci-mathematics/gretl: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-mathematics/gretl')
-rw-r--r-- | sci-mathematics/gretl/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/gretl/files/gretl-1.9.14-readline.patch | 10 | ||||
-rw-r--r-- | sci-mathematics/gretl/gretl-1.9.14.ebuild | 111 |
3 files changed, 0 insertions, 122 deletions
diff --git a/sci-mathematics/gretl/Manifest b/sci-mathematics/gretl/Manifest index 35ae9075cd7d..3ca4fcb50dd3 100644 --- a/sci-mathematics/gretl/Manifest +++ b/sci-mathematics/gretl/Manifest @@ -1,2 +1 @@ -DIST gretl-1.9.14.tar.xz 7564192 BLAKE2B 45af589e18d44f6d9e3e5d27050fe07cb0d7241bc2d40a8ef0b5eeed40839812ea6775001712f7b176c902d968e58c0c6763a9e342ce6063a3773626f04d3f8f SHA512 61ff44cc52f3da971d3cf2cc6e52e0401280521fd761ea098f753acc529c9d35a12fc296b46136d5d257c9a29a83f91a78a77822a00ce3f65776a17f97223ee1 DIST gretl-1.9.90.tar.xz 7764820 BLAKE2B 1a47c31a62aad662ed3cfb4ad2057000eef14daf1f8cac4125f511f0229e29c1a7f43bc2e6014ec5b971173d9698e842c13e36b0f12faaa2f4fa996e26d984cb SHA512 35ec45fb2ad2dec490567411c1a5d909dc7fc8f0c4a6ca142e6e92b2d95a9efc9581f154a7806cf3f5178b530cdca9508b7c215bca29e1bcaebfa874d476667a diff --git a/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch b/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch deleted file mode 100644 index 9f6996b9c916..000000000000 --- a/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- cli/complete.c.ORIG 2007-08-22 16:44:46.000000000 +0200 -+++ cli/complete.c 2014-03-26 16:54:40.463070119 +0100 -@@ -126,6 +126,6 @@ - rl_readline_name = "gretl"; - - /* Tell the completer that we want a crack first. */ -- rl_attempted_completion_function = (CPPFunction *) gretl_completion; -+ rl_attempted_completion_function = (rl_completion_func_t*) gretl_completion; - } - diff --git a/sci-mathematics/gretl/gretl-1.9.14.ebuild b/sci-mathematics/gretl/gretl-1.9.14.ebuild deleted file mode 100644 index 633e488873cc..000000000000 --- a/sci-mathematics/gretl/gretl-1.9.14.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_EINSTALL=true - -inherit eutils elisp-common toolchain-funcs - -DESCRIPTION="Regression, econometrics and time-series library" -HOMEPAGE="http://gretl.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="accessibility cpu_flags_x86_avx emacs gnome gtk nls odbc openmp python - readline cpu_flags_x86_sse2 R static-libs" - -CDEPEND=" - dev-libs/glib:2 - dev-libs/gmp:0= - dev-libs/libxml2:2 - dev-libs/mpfr:0 - sci-libs/fftw:3.0 - sci-visualization/gnuplot - virtual/lapack - virtual/latex-base - accessibility? ( app-accessibility/flite ) - emacs? ( >=app-editors/emacs-23.1:* ) - gtk? ( - media-libs/gd[png] - sci-visualization/gnuplot[gd] - x11-libs/gtk+:3 - x11-libs/gtksourceview:3.0 ) - odbc? ( dev-db/unixODBC ) - R? ( dev-lang/R ) - readline? ( sys-libs/readline:0 )" -RDEPEND="${CDEPEND} - python? ( dev-python/numpy )" -DEPEND="${CDEPEND} - virtual/pkgconfig" - -SITEFILE=50${PN}-gentoo.el - -REQUIRED_USE="emacs? ( gtk )" - -pkg_setup() { - if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp - then - ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 " - die "Need an OpenMP capable compiler" - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-readline.patch -} - -src_configure() { - econf \ - --disable-rpath \ - --enable-shared \ - --with-mpfr \ - $(use_enable cpu_flags_x86_avx avx) \ - $(use_enable gtk gui) \ - $(use_enable gtk gtk3) \ - $(use_enable gtk xdg) \ - $(use_enable gtk xdg-utils) \ - $(use_enable nls) \ - $(use_enable openmp) \ - $(use_enable cpu_flags_x86_sse2 sse2) \ - $(use_enable static-libs static) \ - $(use_with accessibility audio) \ - $(use_with odbc) \ - $(use_with readline) \ - $(use_with R libR) \ - ${myconf} \ - LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)" -} - -src_compile() { - emake - if use emacs; then - cd utils/emacs && emake - elisp-compile gretl.el - fi -} - -src_install() { - # to fix - emake -j1 DESTDIR="${D}" install - if use emacs; then - elisp-install ${PN} utils/emacs/gretl.{el,elc} - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi - dodoc README README.audio ChangeLog CompatLog -} - -pkg_postinst() { - if use emacs; then - elisp-site-regen - elog "To begin using gretl-mode for all \".inp\" files that you edit," - elog "add the following line to your \"~/.emacs\" file:" - elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))" - fi -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |