diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-02 12:26:27 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-02 12:26:27 +0000 |
| commit | d9f7e52434f51d0d0ad905b03fd366bc9d1ad270 (patch) | |
| tree | 952b99de9aa3ecc1d53aa6791f6027249e29dfb7 /dev-python/mpmath | |
| parent | 09740b89d6581ac2b96e2316259a1f89289cbe73 (diff) | |
| download | baldeagleos-repo-d9f7e52434f51d0d0ad905b03fd366bc9d1ad270.tar.gz baldeagleos-repo-d9f7e52434f51d0d0ad905b03fd366bc9d1ad270.tar.xz baldeagleos-repo-d9f7e52434f51d0d0ad905b03fd366bc9d1ad270.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/mpmath')
| -rw-r--r-- | dev-python/mpmath/mpmath-1.1.0.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-python/mpmath/mpmath-1.1.0.ebuild b/dev-python/mpmath/mpmath-1.1.0.ebuild index 871f6a9c1b74..3937887c2651 100644 --- a/dev-python/mpmath/mpmath-1.1.0.ebuild +++ b/dev-python/mpmath/mpmath-1.1.0.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 +DISTUTILS_USE_SETUPTOOLS=no PYTHON_COMPAT=( python3_{5,6,7,8,9} ) -inherit distutils-r1 eutils +inherit distutils-r1 eutils virtualx DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" HOMEPAGE="https://mpmath.org/" @@ -14,7 +15,6 @@ SRC_URI="https://github.com/fredrik-johansson/${PN}/archive/${PV}.tar.gz -> ${P} LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - IUSE="gmp matplotlib test" RESTRICT="!test? ( test )" @@ -27,16 +27,17 @@ DEPEND="${RDEPEND} python_prepare_all() { local PATCHES=( "${FILESDIR}/${PN}-1.0.0.patch" - ) - - # this test requires X - rm ${PN}/tests/test_visualization.py || die + ) distutils-r1_python_prepare_all } +src_test() { + virtx distutils-r1_src_test +} + python_test() { pushd ${PN}/tests >/dev/null - ${EPYTHON} runtests.py -local + ${EPYTHON} runtests.py -local || die "Tests failed with ${EPYTHON}" popd >/dev/null } |
