Сравнение rbtools-4.0-r1 с rbtools-4.0-r2
/usr/portage/dev-util/rbtools/rbtools-4.0-r2.ebuild 2023-10-09 14:52:30.992368388 +0300 | ||
---|---|---|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 |
PYTHON_COMPAT=( python3_{9,10,11} ) |
|
5 | ||
6 |
DISTUTILS_USE_PEP517=setuptools |
|
7 |
PYTHON_COMPAT=( python3_{10..11} ) |
|
6 | 8 | |
7 | 9 |
inherit distutils-r1 |
8 | 10 | |
... | ... | |
12 | 14 |
DESCRIPTION="Command line tools for use with Review Board" |
13 | 15 |
HOMEPAGE="https://www.reviewboard.org/" |
14 | 16 |
SRC_URI="https://downloads.reviewboard.org/releases/${MY_PN}/$(ver_cut 1-2)/${MY_P}.tar.gz" |
17 |
S=${WORKDIR}/${MY_P} |
|
15 | 18 | |
16 | 19 |
LICENSE="MIT" |
17 | 20 |
SLOT="0" |
18 |
KEYWORDS="amd64 x86" |
|
21 |
KEYWORDS="~amd64 ~x86" |
|
19 | 22 |
IUSE="" |
20 | 23 | |
21 | 24 |
RDEPEND=" |
... | ... | |
28 | 31 |
>=dev-python/typing-extensions-4.3.0[${PYTHON_USEDEP}] |
29 | 32 |
dev-python/tqdm[${PYTHON_USEDEP}] |
30 | 33 |
" |
31 |
DEPEND="${RDEPEND} |
|
34 |
BDEPEND=" |
|
32 | 35 |
dev-python/setuptools[${PYTHON_USEDEP}] |
33 | 36 |
test? ( |
34 | 37 |
>=dev-python/kgb-6.1[${PYTHON_USEDEP}] |
... | ... | |
40 | 43 | |
41 | 44 |
DOCS=( AUTHORS NEWS README.md ) |
42 | 45 | |
43 |
S=${WORKDIR}/${MY_P} |
|
44 | ||
45 | 46 |
distutils_enable_tests pytest |
46 | 47 | |
47 | 48 |
src_prepare() { |
... | ... | |
55 | 56 | |
56 | 57 |
# Fix test that appears to expect case-insentive comparison |
57 | 58 |
sed -i -e 's/TEST CONTENT/Test content/' rbtools/utils/tests/test_console.py || die |
58 | ||
59 |
# Loosen importlib_metadata dependency |
|
60 |
sed -i -e '/importlib_metadata/ s/~=/>=/' RBTools.egg-info/requires.txt setup.py || die |
|
61 |
} |
|
62 | ||
63 |
python_test() { |
|
64 |
distutils_install_for_testing |
|
65 |
distutils-r1_python_test |
|
66 | 59 |
} |