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}] |
22 |
dev-python/hgtools[${PYTHON_USEDEP}] |
23 |
test? ( dev-python/pytest[${PYTHON_USEDEP}] |
20 |
test? ( dev-python/pytest[${PYTHON_USEDEP}] |
24 |
dev-python/mock[${PYTHON_USEDEP}] )" |
21 |
dev-python/mock[${PYTHON_USEDEP}] )" |
25 |
|
22 |
|
Lines 27-34
Link Here
|
27 |
dev-python/six[${PYTHON_USEDEP}]" |
24 |
dev-python/six[${PYTHON_USEDEP}]" |
28 |
|
25 |
|
29 |
python_prepare_all() { |
26 |
python_prepare_all() { |
30 |
# Prevent setup from downloading hgtools package |
27 |
epatch "${FILESDIR}/${PV}-cleanup-requires.diff" |
31 |
dos2unix setup.py || die "Failed attempt of conversion by dos2unix" |
|
|
32 |
|
28 |
|
33 |
# Don't rely on hgtools for version |
29 |
# Don't rely on hgtools for version |
34 |
sed -e "s/use_hg_version=True/version=\"${PV}\"/" -i setup.py || die |
30 |
sed -e "s/use_hg_version=True/version=\"${PV}\"/" -i setup.py || die |