Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 4/7] distutils-r1.eclass: Bump min dep versions to newest stable
Date: Fri, 25 Nov 2022 17:06:39
Message-Id: 20221125170508.23064-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/7] distutils-r1.eclass: mesonpy option passing support + periodic cleanup by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/distutils-r1.eclass | 30 +++++++++++++++---------------
4 1 file changed, 15 insertions(+), 15 deletions(-)
5
6 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
7 index 3ac06a458483..551e8f68ef99 100644
8 --- a/eclass/distutils-r1.eclass
9 +++ b/eclass/distutils-r1.eclass
10 @@ -207,7 +207,7 @@ _distutils_set_globals() {
11 case ${DISTUTILS_USE_PEP517} in
12 flit)
13 bdep+='
14 - >=dev-python/flit_core-3.7.1[${PYTHON_USEDEP}]
15 + >=dev-python/flit_core-3.8.0[${PYTHON_USEDEP}]
16 '
17 ;;
18 flit_scm)
19 @@ -217,7 +217,7 @@ _distutils_set_globals() {
20 ;;
21 hatchling)
22 bdep+='
23 - >=dev-python/hatchling-1.8.1[${PYTHON_USEDEP}]
24 + >=dev-python/hatchling-1.11.1[${PYTHON_USEDEP}]
25 '
26 ;;
27 jupyter)
28 @@ -227,7 +227,7 @@ _distutils_set_globals() {
29 ;;
30 maturin)
31 bdep+='
32 - >=dev-util/maturin-0.13.2[${PYTHON_USEDEP}]
33 + >=dev-util/maturin-0.13.7[${PYTHON_USEDEP}]
34 '
35 ;;
36 no)
37 @@ -236,33 +236,33 @@ _distutils_set_globals() {
38 ;;
39 meson-python)
40 bdep+='
41 - >=dev-python/meson-python-0.9.0[${PYTHON_USEDEP}]
42 + >=dev-python/meson-python-0.10.0-r1[${PYTHON_USEDEP}]
43 '
44 ;;
45 pbr)
46 bdep+='
47 - >=dev-python/pbr-5.10.0[${PYTHON_USEDEP}]
48 + >=dev-python/pbr-5.11.0[${PYTHON_USEDEP}]
49 '
50 ;;
51 pdm)
52 bdep+='
53 - >=dev-python/pdm-pep517-1.0.4[${PYTHON_USEDEP}]
54 + >=dev-python/pdm-pep517-1.0.5[${PYTHON_USEDEP}]
55 '
56 ;;
57 poetry)
58 bdep+='
59 - >=dev-python/poetry-core-1.2.0[${PYTHON_USEDEP}]
60 + >=dev-python/poetry-core-1.3.2[${PYTHON_USEDEP}]
61 '
62 ;;
63 setuptools)
64 bdep+='
65 - >=dev-python/setuptools-65.3.0[${PYTHON_USEDEP}]
66 - dev-python/wheel[${PYTHON_USEDEP}]
67 + >=dev-python/setuptools-65.5.1[${PYTHON_USEDEP}]
68 + >=dev-python/wheel-0.38.4[${PYTHON_USEDEP}]
69 '
70 ;;
71 sip)
72 bdep+='
73 - >=dev-python/sip-6.6.2[${PYTHON_USEDEP}]
74 + >=dev-python/sip-6.7.5[${PYTHON_USEDEP}]
75 '
76 ;;
77 standalone)
78 @@ -277,7 +277,7 @@ _distutils_set_globals() {
79 eqawarn "is enabled."
80 fi
81 else
82 - local setuptools_dep='>=dev-python/setuptools-65.3.0[${PYTHON_USEDEP}]'
83 + local setuptools_dep='>=dev-python/setuptools-65.5.1[${PYTHON_USEDEP}]'
84
85 case ${DISTUTILS_USE_SETUPTOOLS:-bdepend} in
86 no|manual)
87 @@ -482,7 +482,7 @@ distutils_enable_sphinx() {
88 _DISTUTILS_SPHINX_PLUGINS=( "${@}" )
89
90 local deps autodoc=1 d
91 - deps=">=dev-python/sphinx-4.5.0-r1[\${PYTHON_USEDEP}]"
92 + deps=">=dev-python/sphinx-5.3.0[\${PYTHON_USEDEP}]"
93 for d; do
94 if [[ ${d} == --no-autodoc ]]; then
95 autodoc=
96 @@ -506,7 +506,7 @@ distutils_enable_sphinx() {
97 use doc || return 0
98
99 local p
100 - for p in ">=dev-python/sphinx-4.5.0-r1" \
101 + for p in ">=dev-python/sphinx-5.3.0" \
102 "${_DISTUTILS_SPHINX_PLUGINS[@]}"
103 do
104 python_has_version "${p}[${PYTHON_USEDEP}]" ||
105 @@ -514,7 +514,7 @@ distutils_enable_sphinx() {
106 done
107 }
108 else
109 - deps=">=dev-python/sphinx-4.5.0-r1"
110 + deps=">=dev-python/sphinx-5.3.0"
111 fi
112
113 sphinx_compile_all() {
114 @@ -594,7 +594,7 @@ distutils_enable_tests() {
115 local test_pkg
116 case ${1} in
117 nose)
118 - test_pkg=">=dev-python/nose-1.3.7_p20211111_p1-r1"
119 + test_pkg=">=dev-python/nose-1.3.7_p20221026"
120 ;;
121 pytest)
122 test_pkg=">=dev-python/pytest-7.1.3"
123 --
124 2.38.1