Lines 17-25
Link Here
|
17 |
IUSE="examples test" |
17 |
IUSE="examples test" |
18 |
|
18 |
|
19 |
DEPEND="app-arch/unzip |
19 |
DEPEND="app-arch/unzip |
20 |
app-text/dos2unix |
|
|
21 |
dev-python/pytest-runner[${PYTHON_USEDEP}] |
20 |
dev-python/pytest-runner[${PYTHON_USEDEP}] |
22 |
dev-python/hgtools[${PYTHON_USEDEP}] |
|
|
23 |
test? ( dev-python/pytest[${PYTHON_USEDEP}] |
21 |
test? ( dev-python/pytest[${PYTHON_USEDEP}] |
24 |
dev-python/mock[${PYTHON_USEDEP}] )" |
22 |
dev-python/mock[${PYTHON_USEDEP}] )" |
25 |
|
23 |
|
Lines 27-37
Link Here
|
27 |
dev-python/six[${PYTHON_USEDEP}]" |
25 |
dev-python/six[${PYTHON_USEDEP}]" |
28 |
|
26 |
|
29 |
python_prepare_all() { |
27 |
python_prepare_all() { |
30 |
# Prevent setup from downloading hgtools package |
|
|
31 |
dos2unix setup.py || die "Failed attempt of conversion by dos2unix" |
32 |
|
33 |
# Don't rely on hgtools for version |
28 |
# Don't rely on hgtools for version |
34 |
sed -e "s/use_hg_version=True/version=\"${PV}\"/" -i setup.py || die |
29 |
epatch "${FILESDIR}/${PV}-remove-hg-dependencies.diff" |
35 |
sed -e "/^tag_/d" -i setup.cfg || die |
30 |
sed -e "/^tag_/d" -i setup.cfg || die |
36 |
|
31 |
|
37 |
distutils-r1_python_prepare_all |
32 |
distutils-r1_python_prepare_all |