1 |
commit: 1a6b6a57aa0e0f220cfb2fee39fca7f130486251 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 27 20:03:05 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 19:22:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6b6a57 |
7 |
|
8 |
sci-chemistry/modeller: fix function/phase declaration style |
9 |
|
10 |
Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sci-chemistry/modeller/modeller-9.25.ebuild | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/sci-chemistry/modeller/modeller-9.25.ebuild b/sci-chemistry/modeller/modeller-9.25.ebuild |
17 |
index 7dd6a100154..3e44bd99585 100644 |
18 |
--- a/sci-chemistry/modeller/modeller-9.25.ebuild |
19 |
+++ b/sci-chemistry/modeller/modeller-9.25.ebuild |
20 |
@@ -37,7 +37,7 @@ pkg_setup() { |
21 |
esac |
22 |
} |
23 |
|
24 |
-python_prepare_all(){ |
25 |
+python_prepare_all() { |
26 |
sed "s:i386-intel8:${EXECTYPE}:g" -i src/swig/setup.py || die |
27 |
rm -rf modlib/modeller/python_library || die |
28 |
sed -i '1 i\#!/usr/bin/python' bin/modslave.py || die |
29 |
@@ -45,7 +45,7 @@ python_prepare_all(){ |
30 |
distutils-r1_python_prepare_all |
31 |
} |
32 |
|
33 |
-python_compile(){ |
34 |
+python_compile() { |
35 |
cd src/swig || die |
36 |
swig -python -keyword -nodefaultctor -nodefaultdtor -noproxy modeller.i || die |
37 |
distutils-r1_python_compile |
38 |
@@ -56,7 +56,7 @@ python_install() { |
39 |
distutils-r1_python_install |
40 |
} |
41 |
|
42 |
-python_install_all(){ |
43 |
+python_install_all() { |
44 |
cd "${S}" || die |
45 |
sed \ |
46 |
-e "/^EXECUTABLE_TYPE/s:xxx:${EXECTYPE}:g" \ |