Diff mpmath-1.3.0 with a mpmath-1.3.0-r1
/usr/portage/dev-python/mpmath/mpmath-1.3.0-r1.ebuild 2023-10-09 14:52:30.312368371 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
7 |
PYTHON_COMPAT=( python3_{10..12} ) |
|
8 | 8 | |
9 |
inherit distutils-r1 pypi virtualx |
|
9 |
inherit distutils-r1 optfeature pypi virtualx |
|
10 | 10 | |
11 | 11 |
DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" |
12 | 12 |
HOMEPAGE=" |
... | ... | |
17 | 17 | |
18 | 18 |
LICENSE="BSD" |
19 | 19 |
SLOT="0" |
20 |
KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
21 |
IUSE="gmp matplotlib" |
|
22 | ||
23 |
RDEPEND=" |
|
24 |
gmp? ( dev-python/gmpy[${PYTHON_USEDEP}] ) |
|
25 |
matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) |
|
26 |
" |
|
20 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
27 | 21 | |
28 | 22 |
distutils_enable_tests pytest |
29 | 23 | |
... | ... | |
34 | 28 |
python_test() { |
35 | 29 |
"${EPYTHON}" mpmath/tests/runtests.py -local || die "Tests failed with ${EPYTHON}" |
36 | 30 |
} |
31 | ||
32 |
pkg_postinst() { |
|
33 |
optfeature "gmp support" dev-python/gmpy |
|
34 |
optfeature "matplotlib support" dev-python/matplotlib |
|
35 |
} |