Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/tigmint/
Date: Tue, 19 Oct 2021 15:06:43
Message-Id: 1634655985.6c45174a480dae72e147dbf764bda33b72404a56.mmokrejs@gentoo
1 commit: 6c45174a480dae72e147dbf764bda33b72404a56
2 Author: Martin Mokrejs <mmokrejs <AT> gmail <DOT> com>
3 AuthorDate: Tue Oct 19 15:06:25 2021 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Tue Oct 19 15:06:25 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6c45174a
7
8 sci-biology/tigmint: drop KEYWORDS until python install path is fixed
9
10 The 'from read_fasta import read_fasta' is supposed to work but Makefile
11 places the file into $prefix.
12
13 Package-Manager: Portage-3.0.28, Repoman-3.0.3
14 Signed-off-by: Martin Mokrejs <mmokrejs <AT> gmail.com>
15
16 sci-biology/tigmint/tigmint-1.2.4.ebuild | 27 ++++++++++++++++++++++++++-
17 1 file changed, 26 insertions(+), 1 deletion(-)
18
19 diff --git a/sci-biology/tigmint/tigmint-1.2.4.ebuild b/sci-biology/tigmint/tigmint-1.2.4.ebuild
20 index 89d73318d..1b181ea44 100644
21 --- a/sci-biology/tigmint/tigmint-1.2.4.ebuild
22 +++ b/sci-biology/tigmint/tigmint-1.2.4.ebuild
23 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/bcgsc/tigmint/releases/download/v${PV}/${P}.tar.gz"
24
25 LICENSE="GPL-3"
26 SLOT="0"
27 -KEYWORDS="~amd64 ~x86"
28 +KEYWORDS=""
29
30 RESTRICT="test"
31
32 @@ -28,3 +28,28 @@ RDEPEND="
33 "
34
35 distutils_enable_tests pytest
36 +
37 +# install the executable into /usr/bin
38 +# BUG: the read_fasta.py should be installed into python modules
39 +# so it can be imported into python
40 +src_prepare(){
41 + sed -i Makefile -e 's#prefix=/usr/local#prefix=/usr#'
42 + default
43 +}
44 +
45 +src_configure(){
46 + python_setup
47 + default
48 +}
49 +
50 +# do not run src_compile step as it runs git, makefile2graph, gsed, tred
51 +
52 +src_install(){
53 + default
54 + distutils-r1_src_install
55 +}
56 +
57 +src_test(){
58 + default
59 + python_foreach_impl python_test
60 +}