Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/ButterflyPACK/, sci-libs/ButterflyPACK/files/
Date: Thu, 26 May 2022 21:20:48
Message-Id: 1653600041.d962769ba920e94356f4a0aa57673597b850a7d0.Alessandro-Barbieri@gentoo
1 commit: d962769ba920e94356f4a0aa57673597b850a7d0
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu May 26 15:37:14 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu May 26 21:20:41 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d962769b
7
8 sci-libs/ButterflyPACK: don't build examples
9
10 Closes: https://bugs.gentoo.org/847349
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 sci-libs/ButterflyPACK/ButterflyPACK-2.1.0.ebuild | 44 ----------------------
14 sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild | 1 +
15 sci-libs/ButterflyPACK/Manifest | 1 -
16 .../files/ButterflyPACK-2.1.1-no-examples.patch | 10 +++++
17 4 files changed, 11 insertions(+), 45 deletions(-)
18
19 diff --git a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.0.ebuild b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.0.ebuild
20 deleted file mode 100644
21 index 437e8815f..000000000
22 --- a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.0.ebuild
23 +++ /dev/null
24 @@ -1,44 +0,0 @@
25 -# Copyright 1999-2022 Gentoo Authors
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -EAPI=8
29 -
30 -inherit cmake fortran-2
31 -
32 -DESCRIPTION="Mathematical software for solving large-scale dense linear systems"
33 -HOMEPAGE="https://github.com/liuyangzhuan/ButterflyPACK"
34 -SRC_URI="https://github.com/liuyangzhuan/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
35 -
36 -KEYWORDS="~amd64"
37 -LICENSE="BSD"
38 -SLOT="0"
39 -IUSE="arpack magma"
40 -
41 -RDEPEND="
42 - sci-libs/scalapack
43 - virtual/blas
44 - virtual/lapack
45 - virtual/mpi
46 -
47 - arpack? ( sci-libs/arpack )
48 - magma? ( sci-libs/magma )
49 -"
50 -DEPEND="${RDEPEND}"
51 -
52 -DOCS=( README.md CHANGELOG )
53 -
54 -src_configure() {
55 - local mycmakeargs=(
56 - -DBUILD_SHARED_LIBS=ON
57 -
58 - -DTPL_ARPACK_LIBRARIES=$(usex arpack)
59 - -DTPL_MAGMA_LIBRARIES=$(usex magma)
60 - )
61 - cmake_src_configure
62 -}
63 -
64 -src_install() {
65 - cmake_src_install
66 - insinto "/usr/share/octave/site/m/${PN}"
67 - doins -r MATLAB/*
68 -}
69
70 diff --git a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
71 index 437e8815f..cd801deea 100644
72 --- a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
73 +++ b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
74 @@ -26,6 +26,7 @@ RDEPEND="
75 DEPEND="${RDEPEND}"
76
77 DOCS=( README.md CHANGELOG )
78 +PATCHES=( "${FILESDIR}/${P}-no-examples.patch" )
79
80 src_configure() {
81 local mycmakeargs=(
82
83 diff --git a/sci-libs/ButterflyPACK/Manifest b/sci-libs/ButterflyPACK/Manifest
84 index 79063e322..f3c2d70b3 100644
85 --- a/sci-libs/ButterflyPACK/Manifest
86 +++ b/sci-libs/ButterflyPACK/Manifest
87 @@ -1,2 +1 @@
88 -DIST ButterflyPACK-2.1.0.tar.gz 378160677 BLAKE2B 0846f57c45717a4dd2bdd4eb04f7e0ca7f2ac8bd9873307c4cd9342d3696f885ede2b65a5a6c3aed55fcc70cfb50bbe9d45957b14c4f8208ffc11a8a4ac6134d SHA512 4f06e60d98f8dd88f40c49b824e6435af5674955326016eab2a62feda31735de15e30ae86f7badb5f31e53be8882aa6535ba52345680a65215608ab75775c2bf
89 DIST ButterflyPACK-2.1.1.tar.gz 378145822 BLAKE2B 84c4a176afe0ddda711bc6c3d1435a51d3796d8d58ae85444320451769a0080724d61c8abe2e7cca67f22112d5f6a7847656bef550cc878f44862d60f9a36ca0 SHA512 ee032a79a788f22dc33b074f568d54e9d4572281bd1b2c9e31036d16a02b54542a40f5b42c3d50e1ace373c5ca74dff45e77a1f3b60bad8c6f4bd53b311cfc24
90
91 diff --git a/sci-libs/ButterflyPACK/files/ButterflyPACK-2.1.1-no-examples.patch b/sci-libs/ButterflyPACK/files/ButterflyPACK-2.1.1-no-examples.patch
92 new file mode 100644
93 index 000000000..9fb8989fa
94 --- /dev/null
95 +++ b/sci-libs/ButterflyPACK/files/ButterflyPACK-2.1.1-no-examples.patch
96 @@ -0,0 +1,10 @@
97 +--- a/CMakeLists.txt
98 ++++ b/CMakeLists.txt
99 +@@ -437,7 +437,6 @@
100 + add_subdirectory(SRC_DOUBLECOMPLEX)
101 + add_subdirectory(SRC_SINGLE)
102 + add_subdirectory(SRC_COMPLEX)
103 +-add_subdirectory(EXAMPLE)
104 +
105 + if(enable_doc)
106 + message(FATAL_ERROR "Documentation build requested but not implemented.")