pinkbyte    15/08/03 08:29:48

  Modified:             ChangeLog
  Added:                quantlib-1.6.ebuild
  Removed:              quantlib-1.2.ebuild
  Log:
  Version bump, wrt bug #454710. EAPI 5, add epatch_user, do not install crap 
files with examples, drop unneeded nonfatal calls wrt bug #551164. Drop old 
version
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x60C0742D1F357D42)

Revision  Changes    Path
1.39                 dev-libs/quantlib/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/quantlib/ChangeLog?rev=1.39&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/quantlib/ChangeLog?rev=1.39&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/quantlib/ChangeLog?r1=1.38&r2=1.39

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/quantlib/ChangeLog,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- ChangeLog   9 Jun 2015 14:49:18 -0000       1.38
+++ ChangeLog   3 Aug 2015 08:29:48 -0000       1.39
@@ -1,6 +1,14 @@
 # ChangeLog for dev-libs/quantlib
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/ChangeLog,v 1.38 
2015/06/09 14:49:18 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/ChangeLog,v 1.39 
2015/08/03 08:29:48 pinkbyte Exp $
+
+*quantlib-1.6 (03 Aug 2015)
+
+  03 Aug 2015; Sergey Popov <[email protected]> -quantlib-1.2.ebuild,
+  +quantlib-1.6.ebuild:
+  Version bump, wrt bug #454710. EAPI 5, add epatch_user, do not install crap
+  files with examples, drop unneeded nonfatal calls wrt bug #551164. Drop old
+  version
 
   09 Jun 2015; Justin Lecher <[email protected]> metadata.xml:
   Updating remote-id in metadata.xml



1.1                  dev-libs/quantlib/quantlib-1.6.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/quantlib/quantlib-1.6.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/quantlib/quantlib-1.6.ebuild?rev=1.1&content-type=text/plain

Index: quantlib-1.6.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/quantlib-1.6.ebuild,v 1.1 
2015/08/03 08:29:48 pinkbyte Exp $

EAPI=5

inherit elisp-common eutils toolchain-funcs

MY_P="QuantLib-${PV}"

DESCRIPTION="A comprehensive software framework for quantitative finance"
HOMEPAGE="http://quantlib.org/";
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc emacs examples openmp static-libs"

RDEPEND="dev-libs/boost:="
DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )
        emacs? ( virtual/emacs )"

DOCS="*.txt"

S="${WORKDIR}/${MY_P}"

SITEFILE="50${PN}-gentoo.el"

pkg_setup() {
        if use openmp ; then
                tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
        fi
}

src_prepare() {
        epatch_user
}

src_configure() {
        # NOTE: Too fragile for single .pdf or .ps document
        local prog
        for prog in DVIPS LATEX MAKEINDEX PDFLATEX; do
                export ac_cv_path_${prog}=no
        done

        use doc || export ac_cv_path_DOXYGEN=no
        use emacs || export ac_cv_prog_EMACS=no

        # NOTE: --enable-examples will only change noinst_PROGRAMS to 
bin_PROGRAMS
        econf \
                $(use_enable debug error-functions) \
                $(use_enable debug error-lines) \
                $(use_enable debug tracing) \
                $(use_enable openmp) \
                $(use_enable static-libs static) \
                --enable-examples \
                --with-lispdir="${SITELISP}/${PN}"
}

src_compile() {
        default

        if use doc; then
                pushd Docs >/dev/null
                emake docs-html
                popd >/dev/null
        fi
}

src_install(){
        default
        prune_libtool_files

        if use doc; then
                find Docs \( -name '.time-stamp*' -o -name '*.doxy' -o -name 
'Makefile*' \) -delete || die
                insinto "/usr/share/doc/${PF}"
                doins -r Docs
        fi

        if use examples; then
                find Examples -name '.libs' -exec rm -rf {} + || die
                find Examples \( -name '*vc*proj*' -o -name '*.dev' -o -name 
'Makefile*' -o -name '*.o' \) -delete || die
                insinto "/usr/share/doc/${PF}"
                doins -r Examples
        fi

        use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}

pkg_postinst() {
        use emacs && elisp-site-regen
}

pkg_postrm() {
        use emacs && elisp-site-regen
}




Reply via email to