Skip to content

Commit

Permalink
distutils-r1.eclass: Bump min dep versions to newest stable
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Nov 26, 2022
1 parent 14d96ed commit c13932f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions eclass/distutils-r1.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ _distutils_set_globals() {
case ${DISTUTILS_USE_PEP517} in
flit)
bdep+='
>=dev-python/flit_core-3.7.1[${PYTHON_USEDEP}]
>=dev-python/flit_core-3.8.0[${PYTHON_USEDEP}]
'
;;
flit_scm)
Expand All @@ -217,7 +217,7 @@ _distutils_set_globals() {
;;
hatchling)
bdep+='
>=dev-python/hatchling-1.8.1[${PYTHON_USEDEP}]
>=dev-python/hatchling-1.11.1[${PYTHON_USEDEP}]
'
;;
jupyter)
Expand All @@ -227,7 +227,7 @@ _distutils_set_globals() {
;;
maturin)
bdep+='
>=dev-util/maturin-0.13.2[${PYTHON_USEDEP}]
>=dev-util/maturin-0.13.7[${PYTHON_USEDEP}]
'
;;
no)
Expand All @@ -236,33 +236,33 @@ _distutils_set_globals() {
;;
meson-python)
bdep+='
>=dev-python/meson-python-0.9.0[${PYTHON_USEDEP}]
>=dev-python/meson-python-0.10.0-r1[${PYTHON_USEDEP}]
'
;;
pbr)
bdep+='
>=dev-python/pbr-5.10.0[${PYTHON_USEDEP}]
>=dev-python/pbr-5.11.0[${PYTHON_USEDEP}]
'
;;
pdm)
bdep+='
>=dev-python/pdm-pep517-1.0.4[${PYTHON_USEDEP}]
>=dev-python/pdm-pep517-1.0.5[${PYTHON_USEDEP}]
'
;;
poetry)
bdep+='
>=dev-python/poetry-core-1.2.0[${PYTHON_USEDEP}]
>=dev-python/poetry-core-1.3.2[${PYTHON_USEDEP}]
'
;;
setuptools)
bdep+='
>=dev-python/setuptools-65.3.0[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
>=dev-python/setuptools-65.5.1[${PYTHON_USEDEP}]
>=dev-python/wheel-0.38.4[${PYTHON_USEDEP}]
'
;;
sip)
bdep+='
>=dev-python/sip-6.6.2[${PYTHON_USEDEP}]
>=dev-python/sip-6.7.5[${PYTHON_USEDEP}]
'
;;
standalone)
Expand All @@ -277,7 +277,7 @@ _distutils_set_globals() {
eqawarn "is enabled."
fi
else
local setuptools_dep='>=dev-python/setuptools-65.3.0[${PYTHON_USEDEP}]'
local setuptools_dep='>=dev-python/setuptools-65.5.1[${PYTHON_USEDEP}]'

case ${DISTUTILS_USE_SETUPTOOLS:-bdepend} in
no|manual)
Expand Down Expand Up @@ -482,7 +482,7 @@ distutils_enable_sphinx() {
_DISTUTILS_SPHINX_PLUGINS=( "${@}" )

local deps autodoc=1 d
deps=">=dev-python/sphinx-4.5.0-r1[\${PYTHON_USEDEP}]"
deps=">=dev-python/sphinx-5.3.0[\${PYTHON_USEDEP}]"
for d; do
if [[ ${d} == --no-autodoc ]]; then
autodoc=
Expand All @@ -506,15 +506,15 @@ distutils_enable_sphinx() {
use doc || return 0

local p
for p in ">=dev-python/sphinx-4.5.0-r1" \
for p in ">=dev-python/sphinx-5.3.0" \
"${_DISTUTILS_SPHINX_PLUGINS[@]}"
do
python_has_version "${p}[${PYTHON_USEDEP}]" ||
return 1
done
}
else
deps=">=dev-python/sphinx-4.5.0-r1"
deps=">=dev-python/sphinx-5.3.0"
fi

sphinx_compile_all() {
Expand Down Expand Up @@ -594,7 +594,7 @@ distutils_enable_tests() {
local test_pkg
case ${1} in
nose)
test_pkg=">=dev-python/nose-1.3.7_p20211111_p1-r1"
test_pkg=">=dev-python/nose-1.3.7_p20221026"
;;
pytest)
test_pkg=">=dev-python/pytest-7.1.3"
Expand Down

0 comments on commit c13932f

Please sign in to comment.