Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/blitz: ChangeLog blitz-0.10-r1.ebuild
Date: Thu, 01 Aug 2013 18:30:16
Message-Id: 20130801183007.568962171C@flycatcher.gentoo.org
1 pinkbyte 13/08/01 18:30:06
2
3 Modified: ChangeLog
4 Added: blitz-0.10-r1.ebuild
5 Log:
6 Revision bump: EAPI 5, respect LDFLAGS, some cosmetic changes, drop unused inherit of multilib eclass
7
8 (Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
9
10 Revision Changes Path
11 1.47 dev-libs/blitz/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/ChangeLog?rev=1.47&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/ChangeLog?rev=1.47&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/ChangeLog?r1=1.46&r2=1.47
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v
20 retrieving revision 1.46
21 retrieving revision 1.47
22 diff -u -r1.46 -r1.47
23 --- ChangeLog 13 Nov 2012 06:27:36 -0000 1.46
24 +++ ChangeLog 1 Aug 2013 18:30:06 -0000 1.47
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/blitz
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.46 2012/11/13 06:27:36 bicatali Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.47 2013/08/01 18:30:06 pinkbyte Exp $
31 +
32 +*blitz-0.10-r1 (01 Aug 2013)
33 +
34 + 01 Aug 2013; Sergey Popov <pinkbyte@g.o> +blitz-0.10-r1.ebuild:
35 + Revision bump: EAPI 5, respect LDFLAGS, some cosmetic changes, drop unused
36 + inherit of multilib eclass
37
38 13 Nov 2012; Sébastien Fabbro <bicatali@g.o> blitz-0.10.ebuild:
39 Split doc building and compiling, resolving bug #442504
40
41
42
43 1.1 dev-libs/blitz/blitz-0.10-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/blitz-0.10-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/blitz-0.10-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: blitz-0.10-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.10-r1.ebuild,v 1.1 2013/08/01 18:30:06 pinkbyte Exp $
53
54 EAPI=5
55
56 AUTOTOOLS_AUTORECONF=1
57 inherit autotools-utils
58
59 DESCRIPTION="High-performance C++ numeric library"
60 HOMEPAGE="http://blitz.sourceforge.net"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
62
63 LICENSE="|| ( LGPL-3 Artistic-2 BSD )"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~ppc-macos ~x86-linux ~x86-macos"
66
67 IUSE="boost debug doc examples static-libs"
68
69 RDEPEND="boost? ( >=dev-libs/boost-1.40 )"
70 DEPEND="${RDEPEND}
71 doc? ( app-doc/doxygen[dot] )"
72
73 PATCHES=(
74 "${FILESDIR}/${P}-docs.patch"
75 "${FILESDIR}/${P}-gcc47.patch"
76 "${FILESDIR}/${P}-set-default-arg-value.patch"
77 )
78
79 src_configure() {
80 # blas / fortran only needed for benchmarks
81 use doc && doxygen -u doc/doxygen/Doxyfile.in
82 local myeconfargs=(
83 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
84 --enable-shared
85 --disable-cxx-flags-preset
86 --disable-fortran
87 --without-blas
88 $(use_enable boost serialization)
89 $(use_enable debug)
90 $(use_enable doc doxygen)
91 $(use_enable doc html-docs)
92 $(use_with boost boost "${EPREFIX}/usr")
93 $(use_with boost boost-serialization)
94 )
95 autotools-utils_src_configure
96 }
97
98 src_compile() {
99 autotools-utils_src_compile LDFLAGS="${LDFLAGS}" lib
100 use doc && autotools-utils_src_compile info html pdf
101 }
102
103 src_test() {
104 pushd ${AUTOTOOLS_BUILD_DIR} > /dev/null
105 emake check-testsuite check-examples
106 popd > /dev/null
107 }
108
109 src_install () {
110 autotools-utils_src_install $(use doc && echo install-html install-pdf)
111 if use examples; then
112 insinto /usr/share/doc/${PF}/examples
113 doins examples/*.{cpp,f}
114 fi
115 }