Сравнение nsscache-0.39-r1 с nsscache-0.47
/usr/portage/net-nds/nsscache/nsscache-0.47.ebuild 2023-10-09 14:52:34.720368482 +0300 | ||
---|---|---|
16 | 16 | |
17 | 17 |
LICENSE="GPL-2" |
18 | 18 |
SLOT="0" |
19 |
KEYWORDS="~amd64 ~x86" |
|
20 |
IUSE="berkdb nsscache s3" |
|
19 |
#KEYWORDS="~amd64 ~x86" |
|
20 |
KEYWORDS="" # pending infra testing |
|
21 |
IUSE="nsscache s3 test" |
|
21 | 22 |
RESTRICT="test" # requires network |
22 | 23 | |
24 |
#test? ( dev-python/pytest-cov[${PYTHON_USEDEP}] dev-python/mox3[${PYTHON_USEDEP}] ) |
|
23 | 25 |
DEPEND=" |
24 | 26 |
dev-python/ldap3[${PYTHON_USEDEP}] |
25 | 27 |
dev-python/pycurl[${PYTHON_USEDEP}] |
26 |
berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] ) |
|
27 | 28 |
s3? ( dev-python/boto3[${PYTHON_USEDEP}] )" |
28 | 29 |
RDEPEND="${DEPEND} |
29 | 30 |
nsscache? ( >=sys-auth/libnss-cache-0.10 )" |
... | ... | |
31 | 32 |
S="${WORKDIR}/${PN}-version-${PV}" |
32 | 33 | |
33 | 34 |
python_prepare_all() { |
34 |
sed -i \ |
|
35 |
-e "/setup_requires/s,'pytest-runner',,g" \ |
|
36 |
-e '/tests_require/s,\[.*\],[],g' \ |
|
37 |
setup.py || die |
|
38 |
sed -i \ |
|
39 |
-e '/test=pytest/d' \ |
|
40 |
setup.cfg || die |
|
41 |
sed -i \ |
|
42 |
-e '/pytest/d' \ |
|
43 |
requirements.txt || die |
|
35 |
# If tests are disabled in the ebuild, disable in setup |
|
36 |
if [[ "${RESTRICT/test}" != "$RESTRICT" ]]; then |
|
37 |
sed -i \ |
|
38 |
-e "/setup_requires/s,'pytest-runner',,g" \ |
|
39 |
-e '/tests_require/s,\[.*\],[],g' \ |
|
40 |
setup.py || die |
|
41 |
sed -i \ |
|
42 |
-e '/test=pytest/d' \ |
|
43 |
setup.cfg || die |
|
44 |
sed -i \ |
|
45 |
-e '/pytest/d' \ |
|
46 |
requirements.txt || die |
|
47 |
fi |
|
44 | 48 | |
45 | 49 |
distutils-r1_python_prepare_all |
46 | 50 |
} |
... | ... | |
64 | 68 | |
65 | 69 |
keepdir /var/lib/nsscache |
66 | 70 |
} |
71 | ||
72 |
[[ "${RESTRICT/test}" != "$RESTRICT" ]] && distutils_enable_tests pytest |