Rename dev-python/{gmpy → gmpy2}

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-11-11 05:21:22 +01:00
parent 832063fcff
commit 3a3b1a69be
15 changed files with 18 additions and 17 deletions

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
@@ -15,7 +15,7 @@ KEYWORDS="~amd64"
IUSE="dkim ssh"
DEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/gmpy[${PYTHON_USEDEP}]"
dev-python/gmpy2[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dkim? ( dev-python/dnspython[${PYTHON_USEDEP}] )
ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] )"

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
@@ -15,7 +15,7 @@ KEYWORDS="~amd64"
IUSE="dkim ssh"
DEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/gmpy[${PYTHON_USEDEP}]"
dev-python/gmpy2[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dkim? ( dev-python/dnspython[${PYTHON_USEDEP}] )
ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] )"

View File

@@ -20,7 +20,7 @@ KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86 ~ppc-macos ~x64
RDEPEND="
$(python_gen_cond_dep '
dev-python/gmpy[${PYTHON_USEDEP}]
dev-python/gmpy2[${PYTHON_USEDEP}]
' 'python*')
dev-python/six[${PYTHON_USEDEP}]
"

View File

@@ -26,7 +26,7 @@ BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/feedparser[${PYTHON_USEDEP}]
dev-python/gmpy[${PYTHON_USEDEP}]
dev-python/gmpy2[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/pandas[${PYTHON_USEDEP}]
@@ -51,7 +51,7 @@ python_test() {
tests/bson_test.py
)
if ! has_version "dev-python/gmpy[${PYTHON_USEDEP}]"; then
if ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py )
fi
if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then

View File

@@ -26,7 +26,7 @@ BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/feedparser[${PYTHON_USEDEP}]
dev-python/gmpy[${PYTHON_USEDEP}]
dev-python/gmpy2[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
@@ -49,7 +49,7 @@ python_test() {
tests/bson_test.py
)
if ! has_version "dev-python/gmpy[${PYTHON_USEDEP}]"; then
if ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py )
fi
if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then

View File

@@ -29,7 +29,7 @@ BDEPEND="
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/gmpy[${PYTHON_USEDEP}]
dev-python/gmpy2[${PYTHON_USEDEP}]
' 'python3*')
!mips? (
dev-python/ipython[${PYTHON_USEDEP}]
@@ -73,6 +73,6 @@ python_test() {
}
pkg_postinst() {
optfeature "gmp support" dev-python/gmpy
optfeature "gmp support" dev-python/gmpy2
optfeature "matplotlib support" dev-python/matplotlib
}

View File

@@ -25,7 +25,7 @@ IUSE="doc"
DEPEND="
dev-libs/ppl
dev-python/cysignals[${PYTHON_USEDEP}]
>=dev-python/gmpy-2.1.0_beta1[${PYTHON_USEDEP}]
>=dev-python/gmpy2-2.1.0_beta1[${PYTHON_USEDEP}]
"
RDEPEND="
${DEPEND}

View File

@@ -319,9 +319,9 @@ gnome-base/gvfs google
xfce-base/xfwm4 xpresent
# Mart Raudsepp <leio@gentoo.org> (2017-02-07)
# dev-python/gmpy fails tests about sizeof (conch), bug 608496
# dev-python/gmpy2 fails tests about sizeof (conch), bug 608496
# dev-python/attrs fails tests on slow mips, couldn't test service_identity test path (crypt), bug 608570
# dev-python/gmpy also a test depend, so minimize the features until can test properly (http2 soap test)
# dev-python/gmpy2 also a test depend, so minimize the features until can test properly (http2 soap test)
dev-python/twisted conch http2 test
# Felix Janda <felix.janda@posteo.de> (2016-09-24)

View File

@@ -3,3 +3,4 @@ move sys-apps/scx sys-kernel/scx
slotmove media-sound/kmetronome 5 0
move net-im/sendxmpp-amm net-im/sendxmpp-scala
move dev-python/jinja dev-python/jinja2
move dev-python/gmpy dev-python/gmpy2

View File

@@ -42,7 +42,7 @@ RDEPEND="
dev-libs/libsigc++:2
dev-texlive/texlive-basic
$(python_gen_cond_dep '
dev-python/gmpy:2[${PYTHON_USEDEP}]
dev-python/gmpy2:2[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/sympy[${PYTHON_USEDEP}]
jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )

View File

@@ -43,7 +43,7 @@ RDEPEND="
dev-libs/libsigc++:2
dev-texlive/texlive-basic
$(python_gen_cond_dep '
dev-python/gmpy:2[${PYTHON_USEDEP}]
dev-python/gmpy2:2[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/sympy[${PYTHON_USEDEP}]
jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )

View File

@@ -43,7 +43,7 @@ RDEPEND="
dev-libs/libsigc++:2
dev-texlive/texlive-basic
$(python_gen_cond_dep '
dev-python/gmpy:2[${PYTHON_USEDEP}]
dev-python/gmpy2:2[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/sympy[${PYTHON_USEDEP}]
jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )