commit:     4cbe81bed9ad61cae649a5384f69bb30384f7aa1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 24 01:52:55 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 24 02:01:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbe81be

dev-python/theano-pymc: minor post-merge changes

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/theano-pymc/theano-pymc-1.0.13.ebuild | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/dev-python/theano-pymc/theano-pymc-1.0.13.ebuild 
b/dev-python/theano-pymc/theano-pymc-1.0.13.ebuild
index 509edfe62e1..baf9a7f0e29 100644
--- a/dev-python/theano-pymc/theano-pymc-1.0.13.ebuild
+++ b/dev-python/theano-pymc/theano-pymc-1.0.13.ebuild
@@ -4,12 +4,13 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 inherit distutils-r1 optfeature
 
-DESCRIPTION="Python library for operating with mathematical expressions 
involving multi-dimensional arrays"
+DESCRIPTION="Library for operating on mathematical expressions with 
multi-dimensional arrays"
 HOMEPAGE="https://github.com/pymc-devs/Theano-PyMC";
 SRC_URI="https://github.com/pymc-devs/Theano-PyMC/archive/rel-${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}"/Theano-PyMC-rel-${PV}
 
 LICENSE="BSD"
 SLOT="0"
@@ -21,10 +22,7 @@ RDEPEND="
        dev-python/scipy[${PYTHON_USEDEP}]"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}"/Theano-PyMC-rel-${PV}
-
-distutils_enable_sphinx doc \
-       'dev-python/sphinx_rtd_theme'
+distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
 distutils_enable_tests pytest
 
 python_prepare_all() {
@@ -36,7 +34,7 @@ python_prepare_all() {
 
 python_test() {
        distutils_install_for_testing
-       pytest -vv || die
+       pytest -vv || die "Tests failed with ${EPYTHON}"
 }
 
 pkg_postinst() {

Reply via email to