diff options
Diffstat (limited to 'sci-biology/weblogo/weblogo-3.7.5.ebuild')
-rw-r--r-- | sci-biology/weblogo/weblogo-3.7.5.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-biology/weblogo/weblogo-3.7.5.ebuild b/sci-biology/weblogo/weblogo-3.7.5.ebuild new file mode 100644 index 000000000..ea07941ff --- /dev/null +++ b/sci-biology/weblogo/weblogo-3.7.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="generate consensus sequence logo figures" +HOMEPAGE="http://weblogo.threeplusone.com/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/scipy +" +BDEPEND=" + test? ( + app-text/ghostscript-gpl + dev-python/mypy + ) +" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "tests failed with ${EPYTHON}" +} |