commit: 6c45174a480dae72e147dbf764bda33b72404a56 Author: Martin Mokrejs <mmokrejs <AT> gmail <DOT> com> AuthorDate: Tue Oct 19 15:06:25 2021 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Tue Oct 19 15:06:25 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6c45174a
sci-biology/tigmint: drop KEYWORDS until python install path is fixed The 'from read_fasta import read_fasta' is supposed to work but Makefile places the file into $prefix. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Martin Mokrejs <mmokrejs <AT> gmail.com> sci-biology/tigmint/tigmint-1.2.4.ebuild | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/sci-biology/tigmint/tigmint-1.2.4.ebuild b/sci-biology/tigmint/tigmint-1.2.4.ebuild index 89d73318d..1b181ea44 100644 --- a/sci-biology/tigmint/tigmint-1.2.4.ebuild +++ b/sci-biology/tigmint/tigmint-1.2.4.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/bcgsc/tigmint/releases/download/v${PV}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="" RESTRICT="test" @@ -28,3 +28,28 @@ RDEPEND=" " distutils_enable_tests pytest + +# install the executable into /usr/bin +# BUG: the read_fasta.py should be installed into python modules +# so it can be imported into python +src_prepare(){ + sed -i Makefile -e 's#prefix=/usr/local#prefix=/usr#' + default +} + +src_configure(){ + python_setup + default +} + +# do not run src_compile step as it runs git, makefile2graph, gsed, tred + +src_install(){ + default + distutils-r1_src_install +} + +src_test(){ + default + python_foreach_impl python_test +}
