1 |
commit: c51cf41931e92294277c1f9b3ef00fc9f2f632c7 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Sun Feb 27 00:31:28 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 27 00:54:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c51cf419 |
7 |
|
8 |
sci-libs/cantera: 2.5.1 revision bump |
9 |
|
10 |
Drop USE="pch". |
11 |
Fix python_optimize path. |
12 |
Remove static libs. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/832792 |
15 |
Closes: https://bugs.gentoo.org/832787 |
16 |
|
17 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
18 |
Closes: https://github.com/gentoo/gentoo/pull/24367 |
19 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
20 |
|
21 |
.../{cantera-2.5.1-r2.ebuild => cantera-2.5.1-r3.ebuild} | 10 +++++----- |
22 |
1 file changed, 5 insertions(+), 5 deletions(-) |
23 |
|
24 |
diff --git a/sci-libs/cantera/cantera-2.5.1-r2.ebuild b/sci-libs/cantera/cantera-2.5.1-r3.ebuild |
25 |
similarity index 93% |
26 |
rename from sci-libs/cantera/cantera-2.5.1-r2.ebuild |
27 |
rename to sci-libs/cantera/cantera-2.5.1-r3.ebuild |
28 |
index f4fa50e5d5a0..99ea2dff2599 100644 |
29 |
--- a/sci-libs/cantera/cantera-2.5.1-r2.ebuild |
30 |
+++ b/sci-libs/cantera/cantera-2.5.1-r3.ebuild |
31 |
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
32 |
LICENSE="BSD" |
33 |
SLOT="0" |
34 |
KEYWORDS="~amd64 ~x86" |
35 |
-IUSE="+cti fortran lapack pch +python test" |
36 |
+IUSE="+cti fortran lapack +python test" |
37 |
RESTRICT="!test? ( test )" |
38 |
|
39 |
REQUIRED_USE=" |
40 |
@@ -84,7 +84,7 @@ src_configure() { |
41 |
FORTRANFLAGS="${FCFLAGS}" |
42 |
optimize_flags="-Wno-inline" |
43 |
renamed_shared_libraries="no" |
44 |
- use_pch=$(usex pch) |
45 |
+ use_pch="no" |
46 |
## In some cases other order can break the detection of right location of Boost: ## |
47 |
system_fmt="y" |
48 |
system_sundials="y" |
49 |
@@ -122,11 +122,11 @@ src_install() { |
50 |
rm -r "${D}/usr/share/man" || die "Can't remove man files." |
51 |
else |
52 |
# Run the byte-compile of modules |
53 |
- python_optimize "${D}/$(python_get_sitedir)/${PN}" |
54 |
+ python_optimize "${D}$(python_get_sitedir)/${PN}" |
55 |
fi |
56 |
|
57 |
- # We install static libs unconditionally here |
58 |
- # See https://github.com/gentoo/gentoo/pull/10017#discussion_r229210565 |
59 |
+ # User could remove this line if require static libs for development purpose |
60 |
+ find "${ED}" -name '*.a' -delete || die |
61 |
} |
62 |
|
63 |
pkg_postinst() { |