mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/mpmath: enable py3.10
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
@@ -14,8 +14,7 @@ SRC_URI="https://github.com/fredrik-johansson/${PN}/archive/${PV}.tar.gz -> ${P}
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="gmp matplotlib test"
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="gmp matplotlib"
|
||||
|
||||
RDEPEND="
|
||||
gmp? ( dev-python/gmpy[${PYTHON_USEDEP}] )
|
||||
@@ -27,6 +26,7 @@ distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
distutils-r1_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
@@ -34,7 +34,5 @@ src_test() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd ${PN}/tests >/dev/null
|
||||
${EPYTHON} runtests.py -local || die "Tests failed with ${EPYTHON}"
|
||||
popd >/dev/null
|
||||
"${EPYTHON}" mpmath/tests/runtests.py -local || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user