diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-08 08:16:45 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-08 08:16:45 +0000 |
| commit | c015907609eb93d6adc33fb87cd199f652cafc57 (patch) | |
| tree | aab4e122c397440e8999390316515360428ceda0 /dev-python/mpmath/mpmath-1.3.0.ebuild | |
| parent | 3489ebacb047fd535dd239e5e804dda5fda16c38 (diff) | |
| download | baldeagleos-repo-c015907609eb93d6adc33fb87cd199f652cafc57.tar.gz baldeagleos-repo-c015907609eb93d6adc33fb87cd199f652cafc57.tar.xz baldeagleos-repo-c015907609eb93d6adc33fb87cd199f652cafc57.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mpmath/mpmath-1.3.0.ebuild')
| -rw-r--r-- | dev-python/mpmath/mpmath-1.3.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/mpmath/mpmath-1.3.0.ebuild b/dev-python/mpmath/mpmath-1.3.0.ebuild new file mode 100644 index 000000000000..078316da3079 --- /dev/null +++ b/dev-python/mpmath/mpmath-1.3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 virtualx + +DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE="https://mpmath.org/" +SRC_URI="https://github.com/fredrik-johansson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="gmp matplotlib" + +RDEPEND=" + gmp? ( dev-python/gmpy[${PYTHON_USEDEP}] ) + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + "${EPYTHON}" mpmath/tests/runtests.py -local || die "Tests failed with ${EPYTHON}" +} |
