Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/brial/
Date: Tue, 29 Sep 2020 14:02:45
Message-Id: 1601387910.e70d02d40d0998378db8dbf111a0ddfcbc5a5b76.mjo@gentoo
1 commit: e70d02d40d0998378db8dbf111a0ddfcbc5a5b76
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 29 13:52:19 2020 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 13:58:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e70d02d4
7
8 sci-libs/brial: new version 1.2.9.
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-libs/brial/Manifest | 1 +
14 sci-libs/brial/brial-1.2.9.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 40 insertions(+)
16
17 diff --git a/sci-libs/brial/Manifest b/sci-libs/brial/Manifest
18 index f3d47c7a9b9..d2b36e43608 100644
19 --- a/sci-libs/brial/Manifest
20 +++ b/sci-libs/brial/Manifest
21 @@ -1 +1,2 @@
22 DIST brial-1.2.8.tar.bz2 1228732 BLAKE2B f9bdfc9416381f3436c555861806a7ea4680e706729b6de9c2b06ea2908090b87b745fe5ce2d94ba9d5832a78067e4848f8ef113b7d8dc22557b6d95b7dad707 SHA512 a94acba140d976dd070b5214c537fb3dba89fc2309addc566b8f0a031328f2d4c2bb3c38c2cb5565c7ff2ca0c5f7f56ca120899d15c768887d3b61a18b3e05be
23 +DIST brial-1.2.9.tar.bz2 1230234 BLAKE2B c083931793976deee592e91efcc8ae2fa501c5a2b5cb04fd8449e225c84d5bbe9255480641694e8aac4f299c6ab1800bf21713278d0f8def4a1f335643751cdd SHA512 f5dfcab6b324d1151e06ce3af0f085ebf692d26cd4b38203c835a35a6f0f25d09f6c4a6ebf44b12c3a9c9125dddb2e94a43f1d04b59d07995392b50ada54d410
24
25 diff --git a/sci-libs/brial/brial-1.2.9.ebuild b/sci-libs/brial/brial-1.2.9.ebuild
26 new file mode 100644
27 index 00000000000..e1831c017fc
28 --- /dev/null
29 +++ b/sci-libs/brial/brial-1.2.9.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit toolchain-funcs
37 +
38 +DESCRIPTION="A C++ library for polynomials over boolean rings"
39 +HOMEPAGE="https://github.com/BRiAl/BRiAl"
40 +SRC_URI="https://github.com/BRiAl/BRiAl/releases/download/${PV}/${P}.tar.bz2"
41 +
42 +# The top-level license is GPL2+, but cudd/LICENSE is BSD.
43 +LICENSE="BSD GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
46 +IUSE="png static-libs"
47 +
48 +BDEPEND="virtual/pkgconfig"
49 +DEPEND="dev-libs/boost
50 + sci-libs/m4ri[png=]"
51 +RDEPEND="${DEPEND}"
52 +
53 +pkg_setup(){
54 + tc-export PKG_CONFIG
55 +}
56 +
57 +src_configure(){
58 + # with-boost-libdir added to deal with some rather quirky setups
59 + # see https://github.com/cschwan/sage-on-gentoo/issues/551
60 + econf \
61 + --with-boost="${EPREFIX}"/usr \
62 + --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir) \
63 + $(use_enable static-libs static)
64 +}
65 +
66 +src_install(){
67 + default
68 + find "${ED}" -name '*.la' -delete || die
69 +}