1 |
commit: 5cce4cb067f87484d0d136b38f10f3b6cacbd96b |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Wed Feb 24 23:10:13 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 1 08:25:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cce4cb0 |
7 |
|
8 |
sci-libs/cantera: drop transitional 2.5.0 |
9 |
|
10 |
Cantera 2.5.0 differs from 2.5.1 only with some Documentations |
11 |
and Scons build script fixes and updates. |
12 |
|
13 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/19640 |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
sci-libs/cantera/Manifest | 1 - |
18 |
sci-libs/cantera/cantera-2.5.0.ebuild | 134 ---------------------------------- |
19 |
2 files changed, 135 deletions(-) |
20 |
|
21 |
diff --git a/sci-libs/cantera/Manifest b/sci-libs/cantera/Manifest |
22 |
index c85ef401c04..6a29d4e0855 100644 |
23 |
--- a/sci-libs/cantera/Manifest |
24 |
+++ b/sci-libs/cantera/Manifest |
25 |
@@ -1,3 +1,2 @@ |
26 |
DIST cantera-2.4.0.tar.gz 2321316 BLAKE2B 40750e3864afa3d35817e6f5777a6ac235261e9d134ef749966dbd738a2af5efec2882e6dcc719851f88656b41469e2159d3bff3df32f6abdf57db3b0a2afcae SHA512 8bb0fee34fa5bc9ec78e6f21a100eaa77bdd966bd0b7f0fa27d452e4f122c69e61648beef847178490f5c5d56267a96f6081cac9ccd03cea153c32814e0e84e9 |
27 |
-DIST cantera-2.5.0.tar.gz 2479888 BLAKE2B be3dd9ae1b0d9b555b9ddd6ad78a2a6a675844903e4c10ef5e4a09c66d5ca01f81f49f35ee195597d71140dcc4da9750e82f71c6553b5f0ef8a122bf63b86cc1 SHA512 4f1763a74a4a938c6d4512ab574bcbbb84ea6e8c9814c612e6ff6cba0bec1209252ef7c21004e0df98a84279cf66bd137220233dad0ebbcfc89e9a273d753478 |
28 |
DIST cantera-2.5.1.tar.gz 2492422 BLAKE2B b48c5d12fc2b69d309759afd20b55dc2533c23ccba840109cf7a85c4ebb8306eb48d9f007914184a9d409f7bf296814fe09e6e62a29cf8384edd954fdff2af4e SHA512 8cd65f6b86b3009f22ec243cb7cb833e26919c4925fd15fba8fb98aad2180d8c0fe7550e13efeb7cce55abab06d9400230d59c9c43b4d3be6b0575b1164a56bc |
29 |
|
30 |
diff --git a/sci-libs/cantera/cantera-2.5.0.ebuild b/sci-libs/cantera/cantera-2.5.0.ebuild |
31 |
deleted file mode 100644 |
32 |
index 5f3b8c1280b..00000000000 |
33 |
--- a/sci-libs/cantera/cantera-2.5.0.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,134 +0,0 @@ |
36 |
-# Copyright 1999-2021 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
42 |
- |
43 |
-FORTRAN_NEEDED=fortran |
44 |
-FORTRAN_STANDARD="77 90" |
45 |
- |
46 |
-inherit desktop fortran-2 python-single-r1 scons-utils toolchain-funcs |
47 |
- |
48 |
-DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" |
49 |
-HOMEPAGE="https://www.cantera.org" |
50 |
-SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
- |
52 |
-LICENSE="BSD" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~amd64 ~x86" |
55 |
-IUSE="+cti fortran pch +python test" |
56 |
-RESTRICT="!test? ( test )" |
57 |
- |
58 |
-REQUIRED_USE=" |
59 |
- python? ( cti ) |
60 |
- ${PYTHON_REQUIRED_USE} |
61 |
-" |
62 |
- |
63 |
-RDEPEND=" |
64 |
- ${PYTHON_DEPS} |
65 |
- python? ( |
66 |
- $(python_gen_cond_dep ' |
67 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
68 |
- dev-python/ruamel-yaml[${PYTHON_MULTI_USEDEP}] |
69 |
- ') |
70 |
- ) |
71 |
- dev-cpp/yaml-cpp |
72 |
- <sci-libs/sundials-5.3.0:0= |
73 |
-" |
74 |
- |
75 |
-DEPEND=" |
76 |
- ${RDEPEND} |
77 |
- dev-cpp/eigen:3 |
78 |
- dev-libs/boost |
79 |
- dev-libs/libfmt |
80 |
- python? ( |
81 |
- $(python_gen_cond_dep ' |
82 |
- dev-python/cython[${PYTHON_MULTI_USEDEP}] |
83 |
- ') |
84 |
- ) |
85 |
- test? ( |
86 |
- >=dev-cpp/gtest-1.8.0 |
87 |
- python? ( |
88 |
- $(python_gen_cond_dep ' |
89 |
- dev-python/h5py[${PYTHON_MULTI_USEDEP}] |
90 |
- dev-python/pandas[${PYTHON_MULTI_USEDEP}] |
91 |
- ') |
92 |
- ) |
93 |
- ) |
94 |
-" |
95 |
- |
96 |
-PATCHES=( "${FILESDIR}/${P}_env.patch" ) |
97 |
- |
98 |
-pkg_setup() { |
99 |
- fortran-2_pkg_setup |
100 |
- python-single-r1_pkg_setup |
101 |
-} |
102 |
- |
103 |
-## Full list of configuration options of Cantera is presented here: |
104 |
-## http://cantera.org/docs/sphinx/html/compiling/config-options.html |
105 |
-src_configure() { |
106 |
- scons_vars=( |
107 |
- CC="$(tc-getCC)" |
108 |
- CXX="$(tc-getCXX)" |
109 |
- cc_flags="${CXXFLAGS}" |
110 |
- cxx_flags="-std=c++11" |
111 |
- debug="no" |
112 |
- FORTRAN="$(tc-getFC)" |
113 |
- FORTRANFLAGS="${FCFLAGS}" |
114 |
- optimize_flags="-Wno-inline" |
115 |
- renamed_shared_libraries="no" |
116 |
- use_pch=$(usex pch) |
117 |
- ## In some cases other order can break the detection of right location of Boost: ## |
118 |
- system_fmt="y" |
119 |
- system_sundials="y" |
120 |
- system_eigen="y" |
121 |
- system_yamlcpp="y" |
122 |
- env_vars="all" |
123 |
- extra_inc_dirs="/usr/include/eigen3" |
124 |
- ) |
125 |
- use test || scons_vars+=( googletest="none" ) |
126 |
- |
127 |
- scons_targets=( |
128 |
- f90_interface=$(usex fortran y n) |
129 |
- ) |
130 |
- |
131 |
- if use cti ; then |
132 |
- local scons_python=$(usex python full minimal) |
133 |
- scons_targets+=( python_package="${scons_python}" python_cmd="${EPYTHON}" ) |
134 |
- else |
135 |
- scons_targets+=( python_package="none" ) |
136 |
- fi |
137 |
-} |
138 |
- |
139 |
-src_compile() { |
140 |
- escons build "${scons_vars[@]}" "${scons_targets[@]}" prefix="/usr" |
141 |
-} |
142 |
- |
143 |
-src_test() { |
144 |
- escons test |
145 |
-} |
146 |
- |
147 |
-src_install() { |
148 |
- escons install stage_dir="${D}" libdirname="$(get_libdir)" python_prefix="$(python_get_sitedir)" |
149 |
- if ! use cti ; then |
150 |
- rm -r "${D}/usr/share/man" || die "Can't remove man files." |
151 |
- else |
152 |
- # Run the byte-compile of modules |
153 |
- python_optimize "${D}/$(python_get_sitedir)/${PN}" |
154 |
- fi |
155 |
-} |
156 |
- |
157 |
-pkg_postinst() { |
158 |
- if use cti && ! use python ; then |
159 |
- elog "Cantera was build without 'python' use-flag therefore the CTI tools 'ck2cti' and 'ck2yaml" |
160 |
- elog "will convert Chemkin files to Cantera format without verification of kinetic mechanism." |
161 |
- fi |
162 |
- |
163 |
- local post_msg=$(usex fortran "and Fortran " "") |
164 |
- elog "C++ ${post_msg}samples are installed to '/usr/share/${PN}/samples/' directory." |
165 |
- |
166 |
- if use python ; then |
167 |
- elog "Python examples are installed to '$(python_get_sitedir)/${PN}/examples/' directories." |
168 |
- fi |
169 |
-} |